Fix marker issue (#518)

* Fixes #515
This commit is contained in:
cyan317
2023-02-21 13:48:52 +00:00
committed by GitHub
parent 9fa26be13a
commit 739807a7d7
6 changed files with 495 additions and 12 deletions

View File

@@ -135,3 +135,24 @@ CreateMetaDataForCancelOffer(
uint32_t transactionIndex,
int finalTakerGets,
int finalTakerPays);
/*
* Create a owner dir ledger object
*/
[[nodiscard]] ripple::STObject
CreateOwnerDirLedgerObject(
std::vector<ripple::uint256> indexes,
std::string_view rootIndex);
/*
* Create a payment channel ledger object
*/
[[nodiscard]] ripple::STObject
CreatePaymentChannelLedgerObject(
std::string_view accountId,
std::string_view destId,
int amount,
int balance,
uint32_t settleDelay,
std::string_view previousTxnId,
uint32_t previousTxnSeq);