mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
miner: have waitNext return after 20 min on testnet
On testnet we need to create a min diff template after 20 min.
This commit is contained in:
@@ -130,6 +130,12 @@ struct RegTestingSetup : public TestingSetup {
|
||||
: TestingSetup{ChainType::REGTEST} {}
|
||||
};
|
||||
|
||||
/** Identical to TestingSetup, but chain set to testnet4 */
|
||||
struct Testnet4Setup : public TestingSetup {
|
||||
Testnet4Setup()
|
||||
: TestingSetup{ChainType::TESTNET4} {}
|
||||
};
|
||||
|
||||
class CBlock;
|
||||
struct CMutableTransaction;
|
||||
class CScript;
|
||||
|
||||
Reference in New Issue
Block a user