Module agora.node.TransactionRelayer

TransactionRelayer is responsible for storing transactions, and relaying some of them to all known network clients periodically. The current implementation relays transactions with the highest fees.

The class contains several optimizations

Interfaces

NameDescription
TransactionRelayer Transaction relayer interface, that accepts transactions and relays them to known network clients.

Classes

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

Aliases

NameTypeDescription
GetFeeRateDg nothrow @safe string delegate(in ref Transaction, out Amount) Returns the fee rate for a transaction (total fees / tx size)