mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Activate CSV from genesis block for custom chains
This commit is contained in:
parent
fd9bdc6d55
commit
b8820d1836
5 changed files with 17 additions and 4 deletions
|
|
@ -567,7 +567,12 @@ class CCustomParams : public CRegTestParams {
|
|||
parent_bech32_hrp = args.GetArg("-parent_bech32_hrp", "bcrt");
|
||||
|
||||
// END ELEMENTS fields
|
||||
//
|
||||
|
||||
// CSV always active by default, unlike regtest
|
||||
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].bit = 0;
|
||||
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = args.GetArg("-con_csv_deploy_start", Consensus::BIP9Deployment::ALWAYS_ACTIVE);
|
||||
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
|
||||
|
||||
}
|
||||
|
||||
void SetGenesisBlock() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue