aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.h
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2018-09-30 15:38:37 +0100
committerRoss Nicoll <[email protected]>2019-04-03 05:16:26 +0000
commit8ef665d5e4765366b1c47a2ce7054d783ccca9d0 (patch)
treeeb4deddbdbf40cc6e328dc88d3ae21d76332da9a /src/test/test_bitcoin.h
parentAdd Dogecoin block subsidy calculations. (diff)
downloaddiscoin-8ef665d5e4765366b1c47a2ce7054d783ccca9d0.tar.xz
discoin-8ef665d5e4765366b1c47a2ce7054d783ccca9d0.zip
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.
Diffstat (limited to 'src/test/test_bitcoin.h')
-rw-r--r--src/test/test_bitcoin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h
index b87d9bea5..0643e6e04 100644
--- a/src/test/test_bitcoin.h
+++ b/src/test/test_bitcoin.h
@@ -81,15 +81,15 @@ class CScript;
// Testing fixture that pre-creates a
// 100-block REGTEST-mode block chain
//
-struct TestChain100Setup : public TestingSetup {
- TestChain100Setup();
+struct TestChain240Setup : public TestingSetup {
+ TestChain240Setup();
// Create a new block with just given transactions, coinbase paying to
// scriptPubKey, and try to add it to the current chain.
CBlock CreateAndProcessBlock(const std::vector<CMutableTransaction>& txns,
const CScript& scriptPubKey);
- ~TestChain100Setup();
+ ~TestChain240Setup();
std::vector<CTransactionRef> m_coinbase_txns; // For convenience, coinbase transactions
CKey coinbaseKey; // private/public key needed to spend coinbase transactions