Bitcoin Core  31.0.0
P2P Digital Currency
Namespaces | Typedefs | Enumerations | Functions
scriptpubkeyman.cpp File Reference
#include <hash.h>
#include <key_io.h>
#include <logging.h>
#include <node/types.h>
#include <outputtype.h>
#include <script/descriptor.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/solver.h>
#include <util/bip32.h>
#include <util/check.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/time.h>
#include <util/translation.h>
#include <wallet/scriptpubkeyman.h>
#include <optional>
Include dependency graph for scriptpubkeyman.cpp:

Go to the source code of this file.

Namespaces

 wallet
 

Typedefs

typedef std::vector< unsigned char > wallet::valtype
 

Enumerations

enum  wallet::@1282::IsMineSigVersion { wallet::@1282::IsMineSigVersion::TOP = 0, wallet::@1282::IsMineSigVersion::P2SH = 1, wallet::@1282::IsMineSigVersion::WITNESS_V0 = 2 }
 This is an enum that tracks the execution context of a script, similar to SigVersion in script/interpreter. More...
 
enum  wallet::@1282::IsMineResult { wallet::@1282::IsMineResult::NO = 0, wallet::@1282::IsMineResult::WATCH_ONLY = 1, wallet::@1282::IsMineResult::SPENDABLE = 2, wallet::@1282::IsMineResult::INVALID = 3 }
 This is an internal representation of isminetype + invalidity. More...
 

Functions

static bool wallet::ExtractPubKey (const CScript &dest, CPubKey &pubKeyOut)
 

Enumeration Type Documentation

◆ IsMineResult

enum wallet::@1282::IsMineResult
strong

This is an internal representation of isminetype + invalidity.

Its order is significant, as we return the max of all explored possibilities.

Definition at line 53 of file scriptpubkeyman.cpp.

◆ IsMineSigVersion

enum wallet::@1282::IsMineSigVersion
strong

This is an enum that tracks the execution context of a script, similar to SigVersion in script/interpreter.

It is separate however because we want to distinguish between top-level scriptPubKey execution and P2SH redeemScript execution (a distinction that has no impact on consensus rules).

Definition at line 41 of file scriptpubkeyman.cpp.