diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-15 00:23:39 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-15 00:23:39 +0800 |
commit | 7a6c6ec9469722abca93f94c4a3725f026ab09bc (patch) | |
tree | 2564af662c6bdc3d0fafe08a024f7d38ae0f862f /params | |
parent | 6c9c1e6712d684e782a8920dac0173b49257fa1f (diff) | |
download | dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.tar dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.tar.gz dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.tar.bz2 dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.tar.lz dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.tar.xz dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.tar.zst dexon-7a6c6ec9469722abca93f94c4a3725f026ab09bc.zip |
cmd/utils, params: define chain ids
Diffstat (limited to 'params')
-rw-r--r-- | params/util.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/params/util.go b/params/util.go index 377f4ce7c..b96f33da2 100644 --- a/params/util.go +++ b/params/util.go @@ -37,4 +37,7 @@ var ( TestNetSpuriousDragon = big.NewInt(3000000) MainNetSpuriousDragon = big.NewInt(3000000) + + TestNetChainID = big.NewInt(2) // Test net default chain ID + MainNetChainID = big.NewInt(1) // main net default chain ID ) |