diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-18 09:55:57 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-21 09:56:16 -0400 |
commit | fa1d97b25686a5caca623599f6d608fd08616fe8 (patch) | |
tree | 512acf98aae5436c61ba7870c0876ea611ae1210 /src/rpc/blockchain.h | |
parent | fa24d4909864096934577abc26cfa9be47f634ba (diff) |
validation: Make ProcessNewBlock*() members of ChainstateManager
Diffstat (limited to 'src/rpc/blockchain.h')
-rw-r--r-- | src/rpc/blockchain.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h index 453d0bc650..5c9a43b13e 100644 --- a/src/rpc/blockchain.h +++ b/src/rpc/blockchain.h @@ -16,6 +16,7 @@ extern RecursiveMutex cs_main; class CBlock; class CBlockIndex; class CTxMemPool; +class ChainstateManager; class UniValue; struct NodeContext; namespace util { @@ -52,5 +53,6 @@ void CalculatePercentilesByWeight(CAmount result[NUM_GETBLOCKSTATS_PERCENTILES], NodeContext& EnsureNodeContext(const util::Ref& context); CTxMemPool& EnsureMemPool(const util::Ref& context); +ChainstateManager& EnsureChainman(const util::Ref& context); #endif |