wallet::ScriptPubKeyMan::ReturnDestination

Returns a previously reserved destination to the keypool for reuse.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
void
ReturnDestination(
    int64_t index,
    bool internal,
    CTxDestination const& addr);

Parameters

NameDescription
indexThe keypool index of the reserved destination.
internalWhether the destination belongs to the internal (change) chain.
addrThe destination being returned.