From a9df6ee40d754c87630564f8c81544e902037f32 Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Sat, 28 Oct 2023 00:13:15 +0200 Subject: [PATCH] regtest: Set CSV to be always active --- src/kernel/chainparams.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp index c880970a8e..e3d0987e42 100644 --- a/src/kernel/chainparams.cpp +++ b/src/kernel/chainparams.cpp @@ -427,9 +427,9 @@ class CRegTestParams : public CChainParams consensus.signet_blocks = false; consensus.signet_challenge.clear(); consensus.nMaxReorganizationDepth = 50; - consensus.CSVHeight = std::numeric_limits::max(); + consensus.CSVHeight = 1; consensus.SegwitHeight = std::numeric_limits::max(); - consensus.MinBIP9WarningHeight = std::numeric_limits::max(); + consensus.MinBIP9WarningHeight = 0; consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); consensus.posLimit = uint256S("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); consensus.posLimitV2 = uint256S("000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffff");