|
xrpld
|
When building multiple confidential sends from the same account inside a single batch transaction, pass this state to the transaction builder for each subsequent send so that its proof references the post previous-send encrypted balance rather than the stale pre-send ledger state. More...
#include <mpt.h>

Public Attributes | |
| std::uint64_t | spending |
| Decrypted spending balance after the previous send. | |
| Buffer | encSpending |
| Encrypted spending balance after the previous send. | |
| std::uint32_t | version |
| sfConfidentialBalanceVersion after the previous send. | |
When building multiple confidential sends from the same account inside a single batch transaction, pass this state to the transaction builder for each subsequent send so that its proof references the post previous-send encrypted balance rather than the stale pre-send ledger state.
The fields mirror what the ledger will contain after the preceding send's doApply() completes: encSpending = homomorphicSubtract(prevEncSpending, senderEncAmt) version = prevVersion + 1
| std::uint64_t xrpl::test::jtx::ConfidentialSendChainState::spending |
| Buffer xrpl::test::jtx::ConfidentialSendChainState::encSpending |
| std::uint32_t xrpl::test::jtx::ConfidentialSendChainState::version |