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

Method StoragePath

src/validation.cpp:1880–1887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1878 m_from_snapshot_blockhash(from_snapshot_blockhash) {}
1879
1880fs::path Chainstate::StoragePath() const
1881{
1882 fs::path path{m_chainman.m_options.datadir / "chainstate"};
1883 if (m_from_snapshot_blockhash) {
1884 path += node::SNAPSHOT_CHAINSTATE_SUFFIX;
1885 }
1886 return path;
1887}
1888
1889const CBlockIndex* Chainstate::SnapshotBase() const
1890{

Callers 3

DeleteChainstateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected