Module relay_rules

Module relay_rules 

Source

Enumsยง

RelayRuleError

Constantsยง

DYNAMIC_FEE_REFERENCE_TRANSACTION_WEIGHT ๐Ÿ”’
https://github.com/monero-project/monero/blob/3b01c490953fe92f3c6628fa31d280a4f0490d28/src/cryptonote_config.h#L75
FEE_MASK ๐Ÿ”’
https://github.com/monero-project/monero/blob/3b01c490953fe92f3c6628fa31d280a4f0490d28/src/cryptonote_core/blockchain.h#L646
MAX_TX_EXTRA_SIZE ๐Ÿ”’
The maximum size of the tx extra field.

Functionsยง

check_fee ๐Ÿ”’
Checks the fee is enough for the tx weight and current blockchain state.
check_tx_relay_rules
Checks the transaction passes the relay rules.
dynamic_base_fee ๐Ÿ”’
Calculates the base fee per byte for tx relay.