diff options
| author | Pieter Wuille <[email protected]> | 2012-10-21 12:36:01 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-10-21 12:36:01 -0700 |
| commit | ef0ae25c2be04340cc34b0f1807cb75ca09fbd32 (patch) | |
| tree | 0e1e735343dcac684129e7026fc3c6e80e2ab40a /src/test | |
| parent | Merge pull request #1941 from Diapolo/rem_initMsg_main (diff) | |
| parent | change blockchain -> block chain (spelling) (diff) | |
| download | discoin-ef0ae25c2be04340cc34b0f1807cb75ca09fbd32.tar.xz discoin-ef0ae25c2be04340cc34b0f1807cb75ca09fbd32.zip | |
Merge pull request #1910 from Diapolo/block_chain_typo
change blockchain -> block chain (spelling)
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/DoS_tests.cpp | 5 | ||||
| -rw-r--r-- | src/test/script_tests.cpp | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp index 8235b0bda..0db33dcd0 100644 --- a/src/test/DoS_tests.cpp +++ b/src/test/DoS_tests.cpp @@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE(DoS_banning) BOOST_CHECK(CNode::IsBanned(addr1)); // ... but 1 still should be dummyNode2.Misbehaving(50); BOOST_CHECK(CNode::IsBanned(addr2)); -} +} BOOST_AUTO_TEST_CASE(DoS_banscore) { @@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE(DoS_checknbits) { using namespace boost::assign; // for 'map_list_of()' - // Timestamps,nBits from the bitcoin blockchain. + // Timestamps,nBits from the bitcoin block chain. // These are the block-chain checkpoint blocks typedef std::map<int64, unsigned int> BlockData; BlockData chainData = @@ -129,7 +129,6 @@ BOOST_AUTO_TEST_CASE(DoS_checknbits) // ... but OK if enough time passed for difficulty to adjust downward: BOOST_CHECK(CheckNBits(firstcheck.second, lastcheck.first+60*60*24*365*4, lastcheck.second, lastcheck.first)); - } CTransaction RandomOrphan() diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index f8e4fa8a4..3f280ba94 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -79,7 +79,7 @@ ParseScript(string s) { BOOST_ERROR("Parse error: " << s); return CScript(); - } + } } return result; @@ -206,7 +206,7 @@ sign_multisig(CScript scriptPubKey, std::vector<CKey> keys, CTransaction transac // NOTE: CHECKMULTISIG has an unfortunate bug; it requires // one extra item on the stack, before the signatures. // Putting OP_0 on the stack is the workaround; - // fixing the bug would mean splitting the blockchain (old + // fixing the bug would mean splitting the block chain (old // clients would not accept new CHECKMULTISIG transactions, // and vice-versa) // |