aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-05-30 08:06:44 -0700
committerJeff Garzik <jgarzik@bitpay.com>2013-05-30 08:06:44 -0700
commitd3977156618ae9bb448aa76f579bf57f96c375ac (patch)
treed72c05cf206d62f13b917572d896140961e28c61 /contrib
parent3fad76bf838f7102838985863f04e621a77dffa6 (diff)
parent0fe8010a10bafd67f9131b2da034fb9cd7fc5024 (diff)
Merge pull request #2644 from sipa/constfindblock
Make FindBlockByHeight constant-time
Diffstat (limited to 'contrib')
-rw-r--r--contrib/test-patches/bitcoind-comparison.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/test-patches/bitcoind-comparison.patch b/contrib/test-patches/bitcoind-comparison.patch
index 7464349b3c..f82b102e2a 100644
--- a/contrib/test-patches/bitcoind-comparison.patch
+++ b/contrib/test-patches/bitcoind-comparison.patch
@@ -3,9 +3,9 @@ index 04a8618..519429a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -31,8 +31,8 @@ CTxMemPool mempool;
- unsigned int nTransactionsUpdated = 0;
map<uint256, CBlockIndex*> mapBlockIndex;
+ std::vector<CBlockIndex*> vBlockIndexByHeight;
-uint256 hashGenesisBlock("0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f");
-static CBigNum bnProofOfWorkLimit(~uint256(0) >> 32);
+uint256 hashGenesisBlock("0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206");