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

// TxPreEvent is posted when a transaction enters the transaction pool.
type TxPreEvent struct{ Tx *Transaction }

// TxPostEvent is posted when a transaction has been processed.
type TxPostEvent struct{ Tx *Transaction }

// NewBlockEvent is posted when a block has been imported.
type NewBlockEvent struct{ Block *Block }