|
rippled
|
Reflects the fee settings for a particular ledger. More...

Public Member Functions | |
| Fees ()=default | |
| Fees (Fees const &)=default | |
| Fees & | operator= (Fees const &)=default |
| XRPAmount | accountReserve (std::size_t ownerCount) const |
| Returns the account reserve given the owner count, in drops. More... | |
| std::pair< bool, XRPAmount > | toDrops (FeeUnit64 const &fee) const |
Public Attributes | |
| XRPAmount | base {0} |
| FeeUnit32 | units {0} |
| XRPAmount | reserve {0} |
| XRPAmount | increment {0} |
Reflects the fee settings for a particular ledger.
The fees are always the same for any transactions applied to a ledger. Changes to fees occur in between ledgers.
Definition at line 47 of file ReadView.h.
|
explicitdefault |
|
default |
| XRPAmount ripple::Fees::accountReserve | ( | std::size_t | ownerCount | ) | const |
Returns the account reserve given the owner count, in drops.
The reserve is calculated as the reserve base plus the reserve increment times the number of increments.
Definition at line 65 of file ReadView.h.
Definition at line 71 of file ReadView.h.
| XRPAmount ripple::Fees::base {0} |
Definition at line 49 of file ReadView.h.
| FeeUnit32 ripple::Fees::units {0} |
Definition at line 50 of file ReadView.h.
| XRPAmount ripple::Fees::reserve {0} |
Definition at line 51 of file ReadView.h.
| XRPAmount ripple::Fees::increment {0} |
Definition at line 52 of file ReadView.h.
1.8.17