aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/events.go
blob: 05c21edfe40fbb90731d00dc4ca63574a59b8d2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package ethchain

type TxEvent struct {
    Type int // TxPre || TxPost
    Tx   *Transaction
}

type NewBlockEvent struct {
    Block *Block
}