mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
refactor: Remove stray cs_main redundant declaration
This commit is contained in:
parent
fa02591edf
commit
faba08b5b4
3 changed files with 12 additions and 3 deletions
|
@ -48,6 +48,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
|
|||
" src/node/chainstate.cpp"\
|
||||
" src/node/chainstatemanager_args.cpp"\
|
||||
" src/node/mempool_args.cpp"\
|
||||
" src/node/utxo_snapshot.cpp"\
|
||||
" src/node/validation_cache_args.cpp"\
|
||||
" src/policy/feerate.cpp"\
|
||||
" src/policy/packages.cpp"\
|
||||
|
|
|
@ -7,12 +7,17 @@
|
|||
#include <fs.h>
|
||||
#include <logging.h>
|
||||
#include <streams.h>
|
||||
#include <sync.h>
|
||||
#include <tinyformat.h>
|
||||
#include <txdb.h>
|
||||
#include <uint256.h>
|
||||
#include <util/system.h>
|
||||
#include <validation.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace node {
|
||||
|
||||
|
|
|
@ -7,13 +7,16 @@
|
|||
#define BITCOIN_NODE_UTXO_SNAPSHOT_H
|
||||
|
||||
#include <fs.h>
|
||||
#include <uint256.h>
|
||||
#include <kernel/cs_main.h>
|
||||
#include <serialize.h>
|
||||
#include <validation.h>
|
||||
#include <sync.h>
|
||||
#include <uint256.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
|
||||
extern RecursiveMutex cs_main;
|
||||
class Chainstate;
|
||||
|
||||
namespace node {
|
||||
//! Metadata describing a serialized version of a UTXO set from which an
|
||||
|
|
Loading…
Add table
Reference in a new issue