mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
Update type of CoverRate fields
This commit is contained in:
@@ -100,7 +100,7 @@ std::uint16_t constexpr maxFeeRate = 10'000;
|
|||||||
loss capital operations are between 0 and 100000 inclusive. A value of 1 is
|
loss capital operations are between 0 and 100000 inclusive. A value of 1 is
|
||||||
equivalent to 1/10 bps or 0.001%.
|
equivalent to 1/10 bps or 0.001%.
|
||||||
*/
|
*/
|
||||||
std::uint16_t constexpr maxCoverRate = 100'000;
|
std::uint32_t constexpr maxCoverRate = 100'000;
|
||||||
|
|
||||||
/** The maximum length of a URI inside an NFT */
|
/** The maximum length of a URI inside an NFT */
|
||||||
std::size_t constexpr maxTokenURILength = 256;
|
std::size_t constexpr maxTokenURILength = 256;
|
||||||
|
|||||||
@@ -60,8 +60,6 @@ TYPED_SFIELD(sfHookExecutionIndex, UINT16, 19)
|
|||||||
TYPED_SFIELD(sfHookApiVersion, UINT16, 20)
|
TYPED_SFIELD(sfHookApiVersion, UINT16, 20)
|
||||||
TYPED_SFIELD(sfLedgerFixType, UINT16, 21)
|
TYPED_SFIELD(sfLedgerFixType, UINT16, 21)
|
||||||
TYPED_SFIELD(sfManagementFeeRate, UINT16, 22)
|
TYPED_SFIELD(sfManagementFeeRate, UINT16, 22)
|
||||||
TYPED_SFIELD(sfCoverRateMinimum, UINT16, 23)
|
|
||||||
TYPED_SFIELD(sfCoverRateLiquidation, UINT16, 24)
|
|
||||||
TYPED_SFIELD(sfInterestRate, UINT16, 25)
|
TYPED_SFIELD(sfInterestRate, UINT16, 25)
|
||||||
TYPED_SFIELD(sfLateInterestRate, UINT16, 26)
|
TYPED_SFIELD(sfLateInterestRate, UINT16, 26)
|
||||||
TYPED_SFIELD(sfCloseInterestRate, UINT16, 27)
|
TYPED_SFIELD(sfCloseInterestRate, UINT16, 27)
|
||||||
@@ -127,6 +125,8 @@ TYPED_SFIELD(sfPreviousPaymentDate, UINT32, 55)
|
|||||||
TYPED_SFIELD(sfNextPaymentDueDate, UINT32, 56)
|
TYPED_SFIELD(sfNextPaymentDueDate, UINT32, 56)
|
||||||
TYPED_SFIELD(sfPaymentRemaining, UINT32, 57)
|
TYPED_SFIELD(sfPaymentRemaining, UINT32, 57)
|
||||||
TYPED_SFIELD(sfPaymentTotal, UINT32, 58)
|
TYPED_SFIELD(sfPaymentTotal, UINT32, 58)
|
||||||
|
TYPED_SFIELD(sfCoverRateMinimum, UINT32, 59)
|
||||||
|
TYPED_SFIELD(sfCoverRateLiquidation, UINT32, 60)
|
||||||
|
|
||||||
// 64-bit integers (common)
|
// 64-bit integers (common)
|
||||||
TYPED_SFIELD(sfIndexNext, UINT64, 1)
|
TYPED_SFIELD(sfIndexNext, UINT64, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user