From 8150597b3878368ad090c9846cdf50dd812b2181 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/chain_makers_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'core/chain_makers_test.go') diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index cb01ae0c9..0fb995f5f 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -148,6 +148,7 @@ func ExampleGenerateChainWithRoundChange() { }, addr1: { Balance: big.NewInt(1000000), + Staked: big.NewInt(0), }, }, } -- cgit v1.2.3