diff options
Diffstat (limited to 'core/interfaces.go')
-rw-r--r-- | core/interfaces.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/interfaces.go b/core/interfaces.go index f4a6cd0..98cbb4d 100644 --- a/core/interfaces.go +++ b/core/interfaces.go @@ -37,6 +37,9 @@ type Application interface { // VerifyBlock verifies if the block is valid. VerifyBlock(block *types.Block) bool + // BlockConfirmed is called when a block is confirmed and added to lattice. + BlockConfirmed(blockHash common.Hash) + // BlockDelivered is called when a block is add to the compaction chain. BlockDelivered(block types.Block) } @@ -44,9 +47,6 @@ type Application interface { // Debug describes the application interface that requires // more detailed consensus execution. type Debug interface { - // BlockConfirmed is called when a block is confirmed and added to lattice. - BlockConfirmed(blockHash common.Hash) - // StronglyAcked is called when a block is strongly acked. StronglyAcked(blockHash common.Hash) |