Record whether a destination has been previously spent.
Synopsis
Declared in <wallet/wallet.h>
[[requires_capability(0x7fbc76bfe538), requires_capability(0x7fbc81b77ef8), requires_capability(0x7fbc7e015d78), requires_capability(0x7fbc7e245228), requires_capability(0x7fbc8e715e68)]]
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