mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-22 14:22:49 +01:00
chaincfg: use lower custom activation threshold for regtest+simnet
The existing values were copied over from the testnet deployment, which uses a much larger miner confirmation window. As a result, the main taproot deployment would require thousands of blocks to properly activate in development environments.
This commit is contained in:
parent
d14f18d329
commit
d537492a5d
1 changed files with 2 additions and 2 deletions
|
@ -493,7 +493,7 @@ var RegressionNetParams = Params{
|
|||
DeploymentEnder: NewMedianTimeDeploymentEnder(
|
||||
time.Time{}, // Never expires.
|
||||
),
|
||||
CustomActivationThreshold: 1512, // 75%
|
||||
CustomActivationThreshold: 108, // Only needs 75% hash rate.
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -733,7 +733,7 @@ var SimNetParams = Params{
|
|||
DeploymentEnder: NewMedianTimeDeploymentEnder(
|
||||
time.Time{}, // Never expires.
|
||||
),
|
||||
CustomActivationThreshold: 1815, // 90%
|
||||
CustomActivationThreshold: 75, // Only needs 75% hash rate.
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue