Bitcoin Core  22.99.0
P2P Digital Currency
Typedefs | Functions | Variables
scriptpubkeyman.cpp File Reference
#include <key_io.h>
#include <logging.h>
#include <outputtype.h>
#include <script/descriptor.h>
#include <script/sign.h>
#include <util/bip32.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/system.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.

Typedefs

typedef std::vector< unsigned char > valtype
 

Functions

static int64_t GetOldestKeyTimeInPool (const std::set< int64_t > &setKeyPool, WalletBatch &batch)
 
static bool ExtractPubKey (const CScript &dest, CPubKey &pubKeyOut)
 
std::vector< CKeyIDGetAffectedKeys (const CScript &spk, const SigningProvider &provider)
 

Variables

const uint32_t BIP32_HARDENED_KEY_LIMIT = 0x80000000
 Value for the first BIP 32 hardened derivation. Can be used as a bit mask and as a value. See BIP 32 for more details. More...
 

Typedef Documentation

◆ valtype

typedef std::vector<unsigned char> valtype

Definition at line 45 of file scriptpubkeyman.cpp.

Function Documentation

◆ ExtractPubKey()

static bool ExtractPubKey ( const CScript dest,
CPubKey pubKeyOut 
)
static

Definition at line 857 of file scriptpubkeyman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAffectedKeys()

std::vector<CKeyID> GetAffectedKeys ( const CScript spk,
const SigningProvider provider 
)

Definition at line 1454 of file scriptpubkeyman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOldestKeyTimeInPool()

static int64_t GetOldestKeyTimeInPool ( const std::set< int64_t > &  setKeyPool,
WalletBatch batch 
)
static

Definition at line 517 of file scriptpubkeyman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BIP32_HARDENED_KEY_LIMIT

const uint32_t BIP32_HARDENED_KEY_LIMIT = 0x80000000

Value for the first BIP 32 hardened derivation. Can be used as a bit mask and as a value. See BIP 32 for more details.

Definition at line 21 of file scriptpubkeyman.cpp.