Reserves a destination from the descriptor cache and returns it.
Declared in <wallet/scriptpubkeyman.h>
virtual
util::Result<CTxDestination>
GetReservedDestination(
OutputType type,
bool internal,
int64_t& index) override;
The reserved destination, or an error if none is available.
| Name | Description |
|---|---|
| type | The output type of the destination to reserve. |
| internal | Whether to reserve from the internal (change) chain. |
| index | Set to the index of the reserved cache entry. |