move-only: add node/mining_types.h

Move mining related structs there.

This simplifies includes in later commits and makes the code easier to
understand for Mining IPC client developers.
This commit is contained in:
Sjors Provoost
2025-12-04 14:10:20 +01:00
parent 6aeb1fbea2
commit d4368e059c
5 changed files with 154 additions and 133 deletions

View File

@@ -8,6 +8,7 @@
#include <consensus/amount.h>
#include <interfaces/types.h>
#include <node/types.h>
#include <node/mining_types.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <uint256.h>
@@ -22,9 +23,6 @@ namespace node {
struct NodeContext;
} // namespace node
class BlockValidationState;
class CScript;
namespace interfaces {
//! Block template interface