diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-13 22:05:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 22:05:53 +0800 |
commit | 8235b63d44026fb224813b17e132db20412cb2a1 (patch) | |
tree | 5135d12146ab743f09cc3e267822b39ed763cb45 /core/consensus.go | |
parent | 01642721a7768218e7f9a5be8f0829eb8ae7c7b1 (diff) | |
download | tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.tar tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.tar.gz tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.tar.bz2 tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.tar.lz tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.tar.xz tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.tar.zst tangerine-consensus-8235b63d44026fb224813b17e132db20412cb2a1.zip |
core: Integrate totalOrdering syncer (#322)
Diffstat (limited to 'core/consensus.go')
-rw-r--r-- | core/consensus.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/consensus.go b/core/consensus.go index 3d46c5c..69131e6 100644 --- a/core/consensus.go +++ b/core/consensus.go @@ -284,6 +284,7 @@ type Consensus struct { // Dexon consensus v1's modules. lattice *Lattice ccModule *compactionChain + toSyncer *totalOrderingSyncer // Interfaces. db blockdb.BlockDatabase @@ -1066,6 +1067,7 @@ func (con *Consensus) processFinalizedBlock(block *types.Block) (err error) { } err = nil } + con.lattice.ProcessFinalizedBlock(b) con.deliverBlock(b) } } |