RAII wrapper for VerifyDB: Verify consistency of the block and coin databases */
| 369 | |
| 370 | /** RAII wrapper for VerifyDB: Verify consistency of the block and coin databases */ |
| 371 | class CVerifyDB { |
| 372 | public: |
| 373 | CVerifyDB(); |
| 374 | ~CVerifyDB(); |
| 375 | bool VerifyDB( |
| 376 | CChainState& chainstate, |
| 377 | const Consensus::Params& consensus_params, |
| 378 | CCoinsView& coinsview, |
| 379 | int nCheckLevel, |
| 380 | int nCheckDepth) EXCLUSIVE_LOCKS_REQUIRED(cs_main); |
| 381 | }; |
| 382 | |
| 383 | enum DisconnectResult |
| 384 | { |
no outgoing calls
no test coverage detected