Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxPool ¶
type TxPool struct { Chain *ethchainadapter.EthChainAdapter // contains filtered or unexported fields }
TxPool is an obscuro wrapper around geths transaction pool
func NewTxPool ¶
func NewTxPool(blockchain *ethchainadapter.EthChainAdapter, gasTip *big.Int, logger gethlog.Logger) (*TxPool, error)
NewTxPool returns a new instance of the tx pool
func (*TxPool) PendingTransactions ¶
func (t *TxPool) PendingTransactions() map[gethcommon.Address][]*gethtxpool.LazyTransaction
PendingTransactions returns all pending transactions grouped per address and ordered per nonce
Click to show internal directories.
Click to hide internal directories.