3#include <xrpl/protocol/XRPAmount.h>
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr std::uint32_t kFeeUnitsDeprecated
std::uint32_t ownerCount(SLE::const_ref sle, beast::Journal j, std::int32_t ownerCountAdj=0)
Return number of the objects which reserve is covered by the account(sle) (so called "ownercount").
Fees(Fees const &)=default
XRPAmount reserve
Minimum XRP an account must hold to exist on the ledger.
Fees(XRPAmount base, XRPAmount reserve, XRPAmount increment)
XRPAmount increment
Additional XRP reserve required per owned ledger object.
XRPAmount base
Cost of a reference transaction in drops.
XRPAmount accountReserve(std::uint32_t ownerCount, std::uint32_t accountCount) const
Returns the account reserve given the owner count, in drops.
Fees & operator=(Fees const &)=default