mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-05 11:28:49 +02:00
wallet, rpc: Use OUTPUT_TYPES to describe the output types instead of hardcoding them
This commit is contained in:
@@ -31,6 +31,7 @@ static constexpr auto OUTPUT_TYPES = std::array{
|
||||
|
||||
std::optional<OutputType> ParseOutputType(const std::string& str);
|
||||
const std::string& FormatOutputType(OutputType type);
|
||||
std::string FormatAllOutputTypes();
|
||||
|
||||
/**
|
||||
* Get a destination of the requested type (if possible) to the specified script.
|
||||
|
||||
Reference in New Issue
Block a user