diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-15 13:30:50 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:53 +0800 |
commit | b26e4c9adaa2952a63bf811f991a3e6fb9fc5646 (patch) | |
tree | 84f78ba24e34b4ae6bca777fd6edc659bb16feb9 /core/blockchain_test.go | |
parent | 426fdd07f71aea7de2fe8ca010f17afaf774c047 (diff) | |
download | go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.tar go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.tar.gz go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.tar.bz2 go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.tar.lz go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.tar.xz go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.tar.zst go-tangerine-b26e4c9adaa2952a63bf811f991a3e6fb9fc5646.zip |
core: refactor validator and fix light node sync (#25)
Remove custom Dexon validator by adding a new `ValidateWitnessData`
method into the validator interface. This allow us to properly detect
know blocks. This also allow other gdex "light" client to sync
compaction chain. Also, setup a standalone RPC node for handling RPC
reqeusts.
Diffstat (limited to 'core/blockchain_test.go')
-rw-r--r-- | core/blockchain_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/blockchain_test.go b/core/blockchain_test.go index bbaaf5e6d..28119a226 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -1280,9 +1280,6 @@ func TestEIP155Transition(t *testing.T) { } ) - dexConf := new(params.DexconConfig) - dexConf.BlockReward = new(big.Int) - gspec.Config.Dexcon = dexConf genesis := gspec.MustCommit(db) blockchain, _ := NewBlockChain(db, nil, gspec.Config, ethash.NewFaker(), vm.Config{}, nil) |