From 8ef665d5e4765366b1c47a2ce7054d783ccca9d0 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Sun, 30 Sep 2018 15:38:37 +0100 Subject: Replace test data with Dogecoin values Replace test data with Dogecoin equivalents in the folowing tests: * base58 * bip32 * keys * miner * pow * wallet Replace RPC and deterministic signatures in unit tests with Dogecoin values. While conventionally I'd use an alternative implementation for these, as RFC 6979 compliant signature generation isn't terribly common, and there's no reason to suspect we've modified this code, I'm going to assert that it's good enough to test that the code doesn't provide different values. Disabled Bitcoin PoW tests, but left code in place to simplify later merges. These are replaced by the Dogecoin PoW tests. --- src/test/txvalidation_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/txvalidation_tests.cpp') diff --git a/src/test/txvalidation_tests.cpp b/src/test/txvalidation_tests.cpp index 2d1eb7b77..d8afe3ee4 100644 --- a/src/test/txvalidation_tests.cpp +++ b/src/test/txvalidation_tests.cpp @@ -18,7 +18,7 @@ BOOST_AUTO_TEST_SUITE(txvalidation_tests) /** * Ensure that the mempool won't accept coinbase transactions. */ -BOOST_FIXTURE_TEST_CASE(tx_mempool_reject_coinbase, TestChain100Setup) +BOOST_FIXTURE_TEST_CASE(tx_mempool_reject_coinbase, TestChain240Setup) { CScript scriptPubKey = CScript() << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG; CMutableTransaction coinbaseTx; -- cgit v1.2.3