MCPcopy Create free account
hub / github.com/ElementsProject/elements / ~ChainstateManager

Method ~ChainstateManager

src/validation.h:1002–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000 void MaybeRebalanceCaches() EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
1001
1002 ~ChainstateManager() {
1003 LOCK(::cs_main);
1004 UnloadBlockIndex(/* mempool */ nullptr, *this);
1005 Reset();
1006 }
1007};
1008
1009using FopenFn = std::function<FILE*(const fs::path&, const char*)>;

Callers

nothing calls this directly

Calls 1

UnloadBlockIndexFunction · 0.85

Tested by

no test coverage detected