diff --git a/contrib/tidy_datadir.sh b/contrib/tidy_datadir.sh index 8960f8811..016f70e0a 100755 --- a/contrib/tidy_datadir.sh +++ b/contrib/tidy_datadir.sh @@ -7,7 +7,7 @@ if [ -d "$1" ]; then cd "$1" else echo "Usage: $0 " >&2 - echo "Removes obsolete Bitcoin database files" >&2 + echo "Removes obsolete Blackcoin database files" >&2 exit 1 fi @@ -19,22 +19,22 @@ if [ -f wallet.dat -a -f peers.dat -a -f chainstate/CURRENT -a -f blocks/index/C case $LEVEL in 0) - echo "Error: no Bitcoin datadir detected." + echo "Error: no Blackcoin datadir detected." exit 1 ;; 1) - echo "Detected old Bitcoin datadir (before 0.7)." + echo "Detected old Blackcoin datadir (before 0.7)." echo "Nothing to do." exit 0 ;; 2) - echo "Detected Bitcoin 0.7 datadir." + echo "Detected Blackcoin 0.7 datadir." ;; 3) - echo "Detected Bitcoin pre-0.8 datadir." + echo "Detected Blackcoin pre-0.8 datadir." ;; 4) - echo "Detected Bitcoin 0.8 datadir." + echo "Detected Blackcoin 0.8 datadir." ;; esac diff --git a/src/amount.cpp b/src/amount.cpp index 60d3df54f..9e4c422ac 100644 --- a/src/amount.cpp +++ b/src/amount.cpp @@ -4,7 +4,6 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include -#include #include diff --git a/src/arith_uint256.cpp b/src/arith_uint256.cpp index 10d3ac3fa..0cc5d9c29 100644 --- a/src/arith_uint256.cpp +++ b/src/arith_uint256.cpp @@ -244,17 +244,17 @@ uint32_t arith_uint256::GetCompact(bool fNegative) const return nCompact; } -uint256 ArithToUint256(const arith_uint256 &a) +uint256 ArithToUint256(const arith_uint256& a) { uint256 b; - for(int x=0; x +#include +#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/src/blockencodings.h b/src/blockencodings.h index 91f9949fd..8eaf6dd57 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -5,7 +5,7 @@ #ifndef BITCOIN_BLOCK_ENCODINGS_H #define BITCOIN_BLOCK_ENCODINGS_H -#include "primitives/block.h" +#include #include diff --git a/src/bloom.cpp b/src/bloom.cpp index fd328e8e9..167fef1e4 100644 --- a/src/bloom.cpp +++ b/src/bloom.cpp @@ -2,20 +2,18 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "bloom.h" +#include -#include "primitives/transaction.h" -#include "hash.h" -#include "script/script.h" -#include "script/standard.h" -#include "random.h" -#include "streams.h" +#include +#include +#include