Class TransactionRelayerFeeImp
Transaction relayer implementation, that relays transactions with the highest
fees first.
Constructors
Name | Description |
this
(pool, config, clients, taskman, clock, getTxFeeRate)
|
Constructor
|
Methods
Name | Description |
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.
|