Class TransactionRelayerFeeImp

Transaction relayer implementation, that relays transactions with the highest fees first.

class TransactionRelayerFeeImp
  : TransactionRelayer ;

Constructors

NameDescription
this (pool, config, clients, taskman, clock, getTxFeeRate) Constructor

Methods

NameDescription
addTransaction (tx) Adds a transaction to the relay queue.
relayTransactions () Sends an array of transactions ordered by fee to known network clients.
shutdown () Called during node shutdown.
start () Called during node startup.
addTransaction (tx) Adds a transaction to the relay queue. This function should only be called, after the transaction was succesfully added to the transaction pool.

Enums

NameDescription
TransactionRelayError