2014-10-31 11:59:17 +02:00
|
|
|
package chain
|
2014-10-14 02:58:31 +03:00
|
|
|
|
2014-10-29 04:50:20 +02:00
|
|
|
// TxPreEvent is posted when a transaction enters the transaction pool.
|
|
|
|
type TxPreEvent struct{ Tx *Transaction }
|
2014-10-14 02:58:31 +03:00
|
|
|
|
2014-10-29 04:50:20 +02:00
|
|
|
// 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 }
|