Skip to content

Commit

Permalink
doc: IsSnapshotActive
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesob committed Apr 23, 2021
1 parent 9b604c0 commit 844ad0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/validation.h
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,8 @@ class ChainstateManager
return m_blockman.m_block_index;
}

//! @returns true if a snapshot-based chainstate is in use. Also implies
//! that a background validation chainstate is also in use.
bool IsSnapshotActive() const;

std::optional<uint256> SnapshotBlockhash() const;
Expand Down

0 comments on commit 844ad0e

Please sign in to comment.