Record whether a destination has been previously spent.
Synopsis
Declared in <wallet/wallet.h>
[[requires_capability(0x7f2e1e599728), requires_capability(0x7f2e11aaa4e8), requires_capability(0x7f2e16a002d8), requires_capability(0x7f2e15f2f778), requires_capability(0x7f2e12c6e408)]]
bool
SetAddressPreviouslySpent(
WalletBatch& batch,
CTxDestination const& dest,
bool used);
Return Value
true if the state was written.
Parameters
Name |
Description |
batch |
The database batch to write through. |
dest |
The destination to update. |
used |
Whether the destination is marked as spent. |
Created with MrDocs