mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 21:59:10 +02:00
move-only: Move CBlockFileInfo to kernel namespace
Also, move it to the blockstorage module, because it is only used inside that module. Can be reviewed with the git option --color-moved=dimmed-zebra
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include <txdb.h>
|
||||
#include <validation.h>
|
||||
|
||||
using kernel::CBlockFileInfo;
|
||||
|
||||
namespace {
|
||||
|
||||
const BasicTestingSetup* g_setup;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <net.h>
|
||||
#include <netbase.h>
|
||||
#include <netgroup.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <node/utxo_snapshot.h>
|
||||
#include <primitives/block.h>
|
||||
#include <protocol.h>
|
||||
@@ -34,6 +35,7 @@
|
||||
#include <optional>
|
||||
#include <stdexcept>
|
||||
|
||||
using kernel::CBlockFileInfo;
|
||||
using node::SnapshotMetadata;
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user