OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the lock bug (#316)
[bytom/vapor.git]
/
event
/
event.go
diff --git
a/event/event.go
b/event/event.go
index
77bbb9f
..
e13c92e
100644
(file)
--- a/
event/event.go
+++ b/
event/event.go
@@
-25,11
+25,12
@@
var (
ErrDuplicateSubscribe = errors.New("event: subscribe duplicate type")
)
ErrDuplicateSubscribe = errors.New("event: subscribe duplicate type")
)
-type New
Min
edBlockEvent struct{ Block types.Block }
+type New
Propos
edBlockEvent struct{ Block types.Block }
-type BlockSignatureEvent struct {
+type BlockSignatureEvent struct {
BlockHash bc.Hash
BlockHash bc.Hash
- Signature []byte
+ Signature []byte
+ XPub []byte
}
// TypeMuxEvent is a time-tagged notification pushed to subscribers.
}
// TypeMuxEvent is a time-tagged notification pushed to subscribers.