From dbb3d8fd30bd33df37f13048dc334ead8d335ddc Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Thu, 15 Nov 2018 13:30:50 +0800 Subject: 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. --- core/blockchain_test.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/blockchain_test.go') 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) -- cgit v1.2.3