diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-18 15:38:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 15:38:51 +0800 |
commit | 9f240d93507cdf03935ba7e4e3a7b226f150736d (patch) | |
tree | 3234b308e164aec346e6127be18060fc641867fd /core/utils/utils.go | |
parent | ff845cd0bddcaacb8d88da9296af22a45fef1dff (diff) | |
download | tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.tar tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.tar.gz tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.tar.bz2 tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.tar.lz tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.tar.xz tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.tar.zst tangerine-consensus-9f240d93507cdf03935ba7e4e3a7b226f150736d.zip |
syncer: fix stuffs (#373)
* Add a new method: GetSyncedConsensus
This method avoids calling BlockDelivered
in SyncBlocks methods, which avoid potential
deadlock.
* Add a method to stop the syncer before synced
* Enable nonBlockingApp for synced Consensus
instance.
Diffstat (limited to 'core/utils/utils.go')
0 files changed, 0 insertions, 0 deletions