test: Mock IBD in net_processing fuzzers

This commit is contained in:
MarcoFalke
2020-11-06 15:03:51 +01:00
parent c51c2753a4
commit fa4234d877
6 changed files with 56 additions and 4 deletions

View File

@@ -503,9 +503,9 @@ enum class CoinsCacheSizeState
* whereas block information and metadata independent of the current tip is
* kept in `BlockMetadataManager`.
*/
class CChainState {
private:
class CChainState
{
protected:
/**
* Every received block is assigned a unique and increasing identifier, so we
* know which one to give priority in case of a fork.