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:
Sjors Provoost
2025-01-31 17:19:28 +01:00
parent d4020f502a
commit cadbd4137d
5 changed files with 94 additions and 0 deletions

View File

@@ -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;