diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2022-02-22 14:48:57 -0500 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2022-02-25 16:06:27 -0500 |
commit | 691d45fdc83ec14f87a400f548553168ac70263f (patch) | |
tree | b23ab4d4491be274e42abc4e961fe543884fbb2f /src/test/util/validation.h | |
parent | eb6cc05da32c5bde122725a0bc907d3767a791cd (diff) |
Add coinstatsindex_unclean_shutdown test
Diffstat (limited to 'src/test/util/validation.h')
-rw-r--r-- | src/test/util/validation.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/util/validation.h b/src/test/util/validation.h index b13aa0be60..b0bc717b6c 100644 --- a/src/test/util/validation.h +++ b/src/test/util/validation.h @@ -7,6 +7,8 @@ #include <validation.h> +class CValidationInterface; + struct TestChainState : public CChainState { /** Reset the ibd cache to its initial state */ void ResetIbd(); @@ -14,4 +16,10 @@ struct TestChainState : public CChainState { void JumpOutOfIbd(); }; +class ValidationInterfaceTest +{ +public: + static void BlockConnected(CValidationInterface& obj, const std::shared_ptr<const CBlock>& block, const CBlockIndex* pindex); +}; + #endif // BITCOIN_TEST_UTIL_VALIDATION_H |