aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-15 04:37:13 +0800
committerGitHub <noreply@github.com>2016-11-15 04:37:13 +0800
commita672eae3d12359d79e39733ff80a2acf5728cf9b (patch)
treeb36f242971b506835e2de8908a7fce3ab9913fc3 /params
parent8dcea0ac0785c92df84d55b8322281e12189d8fb (diff)
parent7a6c6ec9469722abca93f94c4a3725f026ab09bc (diff)
downloadgo-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.go3
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
)