MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SetupDescriptorScriptPubKeyMans

Method SetupDescriptorScriptPubKeyMans

src/wallet/wallet.cpp:3619–3627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3617}
3618
3619void CWallet::SetupDescriptorScriptPubKeyMans(WalletBatch& batch, const CExtKey& master_key)
3620{
3621 AssertLockHeld(cs_wallet);
3622 for (bool internal : {false, true}) {
3623 for (OutputType t : OUTPUT_TYPES) {
3624 SetupDescriptorScriptPubKeyMan(batch, master_key, t, internal);
3625 }
3626 }
3627}
3628
3629void CWallet::SetupOwnDescriptorScriptPubKeyMans(WalletBatch& batch)
3630{

Callers 9

WalletCreateFunction · 0.80
NewWalletFunction · 0.80
CreateSyncedWalletFunction · 0.80
NewWalletFunction · 0.80
SetupDescriptorsWalletFunction · 0.80
WalletBalanceFunction · 0.80
WalletCreateTxFunction · 0.80
AvailableCoinsFunction · 0.80

Calls 13

RunWithinTxnFunction · 0.85
ErrorStringFunction · 0.85
GetDescriptorsMethod · 0.80
isObjectMethod · 0.80
isArrayMethod · 0.80
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.70
ParseFunction · 0.50
TxnBeginMethod · 0.45
emptyMethod · 0.45
atMethod · 0.45
GetOutputTypeMethod · 0.45
GetIDMethod · 0.45

Tested by 5

NewWalletFunction · 0.64
CreateSyncedWalletFunction · 0.64
NewWalletFunction · 0.64
SetupDescriptorsWalletFunction · 0.64