mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
11 lines
339 B
Go
11 lines
339 B
Go
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 }
|