Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
chainstate.h File Reference
#include <util/translation.h>
#include <validation.h>
#include <cstdint>
#include <functional>
#include <tuple>
Include dependency graph for chainstate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  node::ChainstateLoadOptions

Namespaces

namespace  kernel
namespace  node

Typedefs

using node::ChainstateLoadResult = std::tuple<ChainstateLoadStatus, bilingual_str>
 Chainstate load status code and optional error string.

Enumerations

enum class  node::ChainstateLoadStatus {
  node::SUCCESS , node::FAILURE , node::FAILURE_FATAL , node::FAILURE_INCOMPATIBLE_DB ,
  node::FAILURE_INSUFFICIENT_DBCACHE , node::INTERRUPTED
}

Functions

ChainstateLoadResult node::LoadChainstate (ChainstateManager &chainman, const kernel::CacheSizes &cache_sizes, const ChainstateLoadOptions &options)
 This sequence can have 4 types of outcomes:
ChainstateLoadResult node::VerifyLoadedChainstate (ChainstateManager &chainman, const ChainstateLoadOptions &options)