xrpld
Loading...
Searching...
No Matches
xrpl::FeeSetup Struct Reference

Fee schedule for startup / standalone, and to vote for. More...

#include <Config.h>

Collaboration diagram for xrpl::FeeSetup:

Public Member Functions

Fees toFees () const
 Convert to a Fees object for use with Ledger construction.

Public Attributes

XRPAmount referenceFee {10}
 The cost of a reference transaction in drops.
XRPAmount accountReserve {10 * kDropsPerXrp}
 The account reserve requirement in drops.
XRPAmount ownerReserve {2 * kDropsPerXrp}
 The per-owned item reserve requirement in drops.

Detailed Description

Fee schedule for startup / standalone, and to vote for.

During voting ledgers, the FeeVote logic will try to move towards these values when injecting fee-setting transactions. A default-constructed Setup contains recommended values.

Definition at line 48 of file Config.h.

Member Function Documentation

◆ toFees()

Fees xrpl::FeeSetup::toFees ( ) const
nodiscard

Convert to a Fees object for use with Ledger construction.

Definition at line 64 of file Config.h.

Member Data Documentation

◆ referenceFee

XRPAmount xrpl::FeeSetup::referenceFee {10}

The cost of a reference transaction in drops.

Definition at line 51 of file Config.h.

◆ accountReserve

XRPAmount xrpl::FeeSetup::accountReserve {10 * kDropsPerXrp}

The account reserve requirement in drops.

Definition at line 54 of file Config.h.

◆ ownerReserve

XRPAmount xrpl::FeeSetup::ownerReserve {2 * kDropsPerXrp}

The per-owned item reserve requirement in drops.

Definition at line 57 of file Config.h.