mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-18 22:14:35 +00:00
light weight block event
This commit is contained in:
+5
-1
@@ -57,7 +57,11 @@ var _ = wire.RegisterInterface(
|
||||
// but some (an input to a call tx or a receive) are more exotic
|
||||
|
||||
type EventDataNewBlock struct {
|
||||
Block *Block `json:"block"`
|
||||
// we drop block data but keep the form the same
|
||||
Block *BlockHeader `json:"block"`
|
||||
}
|
||||
type BlockHeader struct {
|
||||
Header *Header `json:"header"`
|
||||
}
|
||||
|
||||
// All txs fire EventDataTx
|
||||
|
||||
Reference in New Issue
Block a user