mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user