Documentation ¶
Index ¶
- Variables
- type Config
- type TxPool
- func (tp *TxPool) Add(tx *types.Transaction) error
- func (tp *TxPool) Drop(drops types.Transactions)
- func (tp *TxPool) Error(err error)
- func (tp *TxPool) Pending() types.Transactions
- func (tp *TxPool) Run(id peer.ID, message *pb.Message) error
- func (tp *TxPool) Start()
- func (tp *TxPool) Stop()
- func (tp *TxPool) Type() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type TxPool ¶
type TxPool struct {
// contains filtered or unexported fields
}
func (*TxPool) Drop ¶
func (tp *TxPool) Drop(drops types.Transactions)
Drop removes transactions that have been processed from tx_pool
func (*TxPool) Pending ¶
func (tp *TxPool) Pending() types.Transactions
Pending returns all nonce-asec-sorted and gasPrice-desec-sorted list of transactions for every address
Click to show internal directories.
Click to hide internal directories.