aboutsummaryrefslogtreecommitdiffstats
path: root/core/application.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-08-20 14:03:18 +0800
committerGitHub <noreply@github.com>2018-08-20 14:03:18 +0800
commit1e71e263e063adbe7e44d48818f9c74924a2945d (patch)
treeb874d8d4d6cc1d0aa6f106f276f83706361f0878 /core/application.go
parentd9ba7986a975615fb10790cfd448c48c89c1a7b3 (diff)
downloaddexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.tar
dexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.tar.gz
dexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.tar.bz2
dexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.tar.lz
dexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.tar.xz
dexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.tar.zst
dexon-consensus-1e71e263e063adbe7e44d48818f9c74924a2945d.zip
core: NotaryAck interfaces. (#67)
Diffstat (limited to 'core/application.go')
-rw-r--r--core/application.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/application.go b/core/application.go
index 5bd325c..e39e238 100644
--- a/core/application.go
+++ b/core/application.go
@@ -21,6 +21,7 @@ import (
"time"
"github.com/dexon-foundation/dexon-consensus-core/common"
+ "github.com/dexon-foundation/dexon-consensus-core/core/types"
)
// Application describes the application interface that interacts with DEXON
@@ -34,4 +35,7 @@ type Application interface {
// DeliverBlock is called when a block is add to the compaction chain.
DeliverBlock(blockHash common.Hash, timestamp time.Time)
+
+ // NotaryAck is called when a notary ack is created.
+ NotaryAck(notaryAck types.NotaryAck)
}