diff options
author | Carl Dong <contact@carldong.me> | 2022-02-17 22:02:48 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-05-23 14:53:35 -0400 |
commit | faa52387e8e4856445b1cfc9b5e072ce8f690f36 (patch) | |
tree | 5af078d42ac16aca0ca6d436b96ac3a3585e760c | |
parent | f329a9298c06ffe74b9e9fbc07bfe6d282fef9cb (diff) | |
download | bitcoin-faa52387e8e4856445b1cfc9b5e072ce8f690f36.tar.xz |
style-only: Rearrange using decls after scripted-diff
-rw-r--r-- | src/index/coinstatsindex.cpp | 3 | ||||
-rw-r--r-- | src/rpc/blockchain.cpp | 3 | ||||
-rw-r--r-- | 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 <memory> #include <mutex> -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 <optional> #include <string> +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; |