diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-09-11 14:56:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 14:56:47 +0800 |
commit | 292ad73ec08621fa9beef5f028860131fcbf9bd9 (patch) | |
tree | 47644eaad7757cd2e8798ae7fe361fa5d6e99060 /core/consensus.go | |
parent | 582a491aa0bcb784ac7b65ebbfb42139945ea703 (diff) | |
download | dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.gz dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.bz2 dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.lz dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.xz dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.tar.zst dexon-consensus-292ad73ec08621fa9beef5f028860131fcbf9bd9.zip |
simulation: integrate test.Transport (#99)
- Add marshaller for simulation by encoding/json
- Implement peer server based on test.TranportServer
- Remove network models, they are replaced with test.LatencyModel
Diffstat (limited to 'core/consensus.go')
-rw-r--r-- | core/consensus.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/consensus.go b/core/consensus.go index a9ec6a5..e021024 100644 --- a/core/consensus.go +++ b/core/consensus.go @@ -346,7 +346,6 @@ func (con *Consensus) processMsg( if err := blockProcesser(val); err != nil { fmt.Println(err) } - //types.RecycleBlock(val) case *types.NotaryAck: if err := con.ProcessNotaryAck(val); err != nil { fmt.Println(err) |