aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-01-15 16:06:21 +0800
committerGitHub <noreply@github.com>2019-01-15 16:06:21 +0800
commit8e1b6161f346993b74558124758cfb650465cf05 (patch)
treec5b60eae90c3358e6faf43cee9d3ffc3b9945dd1 /core/interfaces.go
parent809e8def862fdfa792061a448f952747f1af4d3c (diff)
downloadtangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.tar
tangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.tar.gz
tangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.tar.bz2
tangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.tar.lz
tangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.tar.xz
tangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.tar.zst
tangerine-consensus-8e1b6161f346993b74558124758cfb650465cf05.zip
core: Fix BA3.0 (#420)
* Add Restart to Ticker * Change pre allocated size * Return NextTime from lattice * Few hacky fixes for BA * PullVote in FastRollback state * Add shallowBlock for agreementResult * Extend period * Fixup
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index aa87e38..a77ec93 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -159,4 +159,7 @@ type Ticker interface {
// Stop the ticker.
Stop()
+
+ // Retart the ticker and clear all internal data.
+ Restart()
}