MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / SetBestChain

Method SetBestChain

src/wallet/wallet.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void CWallet::SetBestChain(const CBlockLocator &loc) {
109 AssertLockHeld(cs_wallet);
110 bestBlock = loc;
111}
112
113void CWallet::SyncTransaction(const uint256 &hash, CBaseTx *pTx, const CBlock *pBlock) {
114 assert(pTx != nullptr || pBlock != nullptr);

Callers 2

ShutdownFunction · 0.80
UpdateTipFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected