#include <outputtype.h>
#include <pubkey.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <cassert>
#include <optional>
#include <string>
Go to the source code of this file.
◆ AddAndGetDestinationForScript()
Get a destination of the requested type (if possible) to the specified script.
This function will automatically add the script (and any other necessary scripts) to the keystore.
Definition at line 54 of file outputtype.cpp.
◆ FormatAllOutputTypes()
| std::string FormatAllOutputTypes |
( |
| ) |
|
◆ FormatOutputType()
| const std::string & FormatOutputType |
( |
OutputType |
type | ) |
|
◆ OutputTypeFromDestination()
Get the OutputType for a CTxDestination.
Definition at line 80 of file outputtype.cpp.
◆ ParseOutputType()
| std::optional< OutputType > ParseOutputType |
( |
std::string_view |
type | ) |
|
◆ OUTPUT_TYPE_STRING_BECH32
| const std::string OUTPUT_TYPE_STRING_BECH32 = "bech32" |
|
static |
◆ OUTPUT_TYPE_STRING_BECH32M
| const std::string OUTPUT_TYPE_STRING_BECH32M = "bech32m" |
|
static |
◆ OUTPUT_TYPE_STRING_LEGACY
| const std::string OUTPUT_TYPE_STRING_LEGACY = "legacy" |
|
static |
◆ OUTPUT_TYPE_STRING_P2SH_SEGWIT
| const std::string OUTPUT_TYPE_STRING_P2SH_SEGWIT = "p2sh-segwit" |
|
static |
◆ OUTPUT_TYPE_STRING_UNKNOWN
| const std::string OUTPUT_TYPE_STRING_UNKNOWN = "unknown" |
|
static |