log "github.com/sirupsen/logrus"
+ "github.com/vapor/protocol/bc"
"github.com/vapor/protocol/bc/types"
)
ErrDuplicateSubscribe = errors.New("event: subscribe duplicate type")
)
-type NewMinedBlockEvent struct{ Block types.Block }
+type NewProposedBlockEvent struct{ Block types.Block }
+
+type BlockSignatureEvent struct {
+ BlockHash bc.Hash
+ Signature []byte
+ XPub []byte
+}
// TypeMuxEvent is a time-tagged notification pushed to subscribers.
type TypeMuxEvent struct {