MCPcopy Create free account
hub / github.com/ElementsProject/elements / chainStateFlushed

Method chainStateFlushed

src/wallet/wallet.cpp:528–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528void CWallet::chainStateFlushed(const CBlockLocator& loc)
529{
530 WalletBatch batch(GetDatabase());
531 batch.WriteBestBlock(loc);
532}
533
534void CWallet::SetMinVersion(enum WalletFeature nVersion, WalletBatch* batch_in)
535{

Callers 3

CreateMethod · 0.45
AttachChainMethod · 0.45
ChainStateFlushedMethod · 0.45

Calls 1

WriteBestBlockMethod · 0.45

Tested by

no test coverage detected