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

// 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 }