mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
doc: Add documentation for 'checklevel' argument in 'verifychain' RPC call
This commit is contained in:
parent
76e64525ff
commit
501e6ab4e7
4 changed files with 14 additions and 9 deletions
|
|
@ -77,6 +77,14 @@ static constexpr std::chrono::hours DATABASE_WRITE_INTERVAL{1};
|
|||
static constexpr std::chrono::hours DATABASE_FLUSH_INTERVAL{24};
|
||||
/** Maximum age of our tip for us to be considered current for fee estimation */
|
||||
static constexpr std::chrono::hours MAX_FEE_ESTIMATION_TIP_AGE{3};
|
||||
const std::vector<std::string> CHECKLEVEL_DOC {
|
||||
"level 0 reads the blocks from disk",
|
||||
"level 1 verifies block validity",
|
||||
"level 2 verifies undo data",
|
||||
"level 3 checks disconnection of tip blocks",
|
||||
"level 4 tries to reconnect the blocks",
|
||||
"each level includes the checks of the previous levels",
|
||||
};
|
||||
|
||||
bool CBlockIndexWorkComparator::operator()(const CBlockIndex *pa, const CBlockIndex *pb) const {
|
||||
// First sort by most total work, ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue