aboutsummaryrefslogtreecommitdiffstats
path: root/core/application.go
diff options
context:
space:
mode:
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)
}