![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
#include <key_io.h>#include <base58.h>#include <bech32.h>#include <script/interpreter.h>#include <script/solver.h>#include <streams.h>#include <tinyformat.h>#include <util/overflow.h>#include <util/strencodings.h>#include <algorithm>#include <cassert>#include <cstring>Go to the source code of this file.
Functions | |
| CKey | DecodeSecret (const std::string &str) |
| std::string | EncodeSecret (const CKey &key) |
| CExtPubKey | DecodeExtPubKey (const std::string &str) |
| std::string | EncodeExtPubKey (const CExtPubKey &key) |
| CExtKey | DecodeExtKey (const std::string &str) |
| std::string | EncodeExtKey (const CExtKey &key) |
| std::string | EncodeDestination (const CTxDestination &dest) |
| CTxDestination | DecodeDestination (const std::string &str, std::string &error_msg, std::vector< int > *error_locations) |
| CTxDestination | DecodeDestination (const std::string &str) |
| bool | IsValidDestinationString (const std::string &str, const CChainParams ¶ms) |
| bool | IsValidDestinationString (const std::string &str) |
Variables | |
| static constexpr std::size_t | BECH32_WITNESS_PROG_MAX_LEN = 40 |
| Maximum witness length for Bech32 addresses. | |
| CTxDestination DecodeDestination | ( | const std::string & | str | ) |
| CTxDestination DecodeDestination | ( | const std::string & | str, |
| std::string & | error_msg, | ||
| std::vector< int > * | error_locations | ||
| ) |
Definition at line 297 of file key_io.cpp.
| CExtKey DecodeExtKey | ( | const std::string & | str | ) |
Definition at line 267 of file key_io.cpp.
| CExtPubKey DecodeExtPubKey | ( | const std::string & | str | ) |
Definition at line 246 of file key_io.cpp.
| CKey DecodeSecret | ( | const std::string & | str | ) |
Definition at line 215 of file key_io.cpp.
| std::string EncodeDestination | ( | const CTxDestination & | dest | ) |
Definition at line 292 of file key_io.cpp.
| std::string EncodeExtKey | ( | const CExtKey & | key | ) |
Definition at line 283 of file key_io.cpp.
| std::string EncodeExtPubKey | ( | const CExtPubKey & | key | ) |
Definition at line 259 of file key_io.cpp.
| std::string EncodeSecret | ( | const CKey & | key | ) |
Definition at line 233 of file key_io.cpp.
| bool IsValidDestinationString | ( | const std::string & | str | ) |
| bool IsValidDestinationString | ( | const std::string & | str, |
| const CChainParams & | params | ||
| ) |
Definition at line 308 of file key_io.cpp.
|
staticconstexpr |
Maximum witness length for Bech32 addresses.
Definition at line 21 of file key_io.cpp.