go-ethereum/ethchain/events.go

11 lines
135 B
Go
Raw Normal View History

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