From faa52387e8e4856445b1cfc9b5e072ce8f690f36 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Thu, 17 Feb 2022 22:02:48 -0500 Subject: style-only: Rearrange using decls after scripted-diff --- src/index/coinstatsindex.cpp | 3 ++- src/rpc/blockchain.cpp | 3 ++- src/validation.cpp | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/index/coinstatsindex.cpp b/src/index/coinstatsindex.cpp index 666eb4fdb0..687e330fe0 100644 --- a/src/index/coinstatsindex.cpp +++ b/src/index/coinstatsindex.cpp @@ -14,8 +14,9 @@ using kernel::CCoinsStats; using kernel::GetBogoSize; -using node::ReadBlockFromDisk; using kernel::TxOutSer; + +using node::ReadBlockFromDisk; using node::UndoReadFromDisk; static constexpr uint8_t DB_BLOCK_HASH{'s'}; diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 8789d76f3c..968485661f 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -51,9 +51,10 @@ #include #include -using node::BlockManager; using kernel::CCoinsStats; using kernel::CoinStatsHashType; + +using node::BlockManager; using node::GetUTXOStats; using node::NodeContext; using node::ReadBlockFromDisk; diff --git a/src/validation.cpp b/src/validation.cpp index afaea9bb78..8c807adc70 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -58,13 +58,14 @@ #include #include +using kernel::CCoinsStats; +using kernel::CoinStatsHashType; + using node::BLOCKFILE_CHUNK_SIZE; using node::BlockManager; using node::BlockMap; using node::CBlockIndexHeightOnlyComparator; using node::CBlockIndexWorkComparator; -using kernel::CCoinsStats; -using kernel::CoinStatsHashType; using node::fImporting; using node::fPruneMode; using node::fReindex; -- cgit v1.2.3