diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-15 04:37:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 04:37:13 +0800 |
commit | a672eae3d12359d79e39733ff80a2acf5728cf9b (patch) | |
tree | b36f242971b506835e2de8908a7fce3ab9913fc3 /params | |
parent | 8dcea0ac0785c92df84d55b8322281e12189d8fb (diff) | |
parent | 7a6c6ec9469722abca93f94c4a3725f026ab09bc (diff) | |
download | go-tangerine-a672eae3d12359d79e39733ff80a2acf5728cf9b.tar.gz go-tangerine-a672eae3d12359d79e39733ff80a2acf5728cf9b.tar.zst go-tangerine-a672eae3d12359d79e39733ff80a2acf5728cf9b.zip |
core, core/types: refactored tx chain id checking (#3257)
* core, core/types: refactored tx chain id checking
Refactored explicit chain id checking in to the Sender deriviation method
* 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 ) |