aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-31 18:21:55 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit8b555ae56c581718077891974b0606bc32e6488b (patch)
tree58789d7ed6803e8539e2797aac6be7f188f85b9e /core/events.go
parent38b34914c47a994754006adf6cef8463f5f3315a (diff)
downloaddexon-8b555ae56c581718077891974b0606bc32e6488b.tar.gz
dexon-8b555ae56c581718077891974b0606bc32e6488b.tar.zst
dexon-8b555ae56c581718077891974b0606bc32e6488b.zip
core: tx_pool: remove transactions on BlockConfirmed event
Diffstat (limited to 'core/events.go')
-rw-r--r--core/events.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/events.go b/core/events.go
index e76aa4784..1231daa37 100644
--- a/core/events.go
+++ b/core/events.go
@@ -47,6 +47,8 @@ type ChainSideEvent struct {
type ChainHeadEvent struct{ Block *types.Block }
+type BlockConfirmedEvent struct{ Block *types.Block }
+
type NewNotarySetEvent struct {
Round uint64
Pubkeys map[string]struct{} // pubkeys in hex format