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

Method SetLastBlockProcessed

src/wallet/wallet.cpp:676–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674}
675
676void CWallet::SetLastBlockProcessed(int block_height, uint256 block_hash)
677{
678 AssertLockHeld(cs_wallet);
679
680 SetLastBlockProcessedInMem(block_height, block_hash);
681 WriteBestBlock();
682}
683
684std::set<Txid> CWallet::GetConflicts(const Txid& txid) const
685{

Callers 10

CreateNewMethod · 0.80
AttachChainMethod · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
CreateSyncedWalletFunction · 0.80
fees.cppFile · 0.80
FuzzedWalletMethod · 0.80
SetupDescriptorsWalletFunction · 0.80

Calls

no outgoing calls

Tested by 5

BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
CreateSyncedWalletFunction · 0.64
FuzzedWalletMethod · 0.64
SetupDescriptorsWalletFunction · 0.64