go-ethereum/ethchain/events.go

11 lines
135 B
Go

package ethchain
type TxEvent struct {
Type int // TxPre || TxPost
Tx *Transaction
}
type NewBlockEvent struct {
Block *Block
}