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

Method GetWalletTx

src/wallet/wallet.cpp:541–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539 */
540
541const CWalletTx* CWallet::GetWalletTx(const Txid& hash) const
542{
543 AssertLockHeld(cs_wallet);
544 const auto it = mapWallet.find(hash);
545 if (it == mapWallet.end())
546 return nullptr;
547 return &(it->second);
548}
549
550void CWallet::UpgradeDescriptorCache()
551{

Callers 9

TransactionCanBeBumpedFunction · 0.80
FetchSelectedInputsFunction · 0.80
AvailableCoinsFunction · 0.80
spend.cppFile · 0.80
InputIsMineFunction · 0.80
CachedTxIsTrustedFunction · 0.80
GetBalanceFunction · 0.80
GetAddressBalancesFunction · 0.80
sendallFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected