mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Bugfix: Include "csv","!segwit" in "rules"
They have been missing since buried deployments were merged
This commit is contained in:
parent
0328dcdcfc
commit
2abe8cc3b7
1 changed files with 2 additions and 0 deletions
|
@ -576,6 +576,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
|||
result.pushKV("capabilities", aCaps);
|
||||
|
||||
UniValue aRules(UniValue::VARR);
|
||||
aRules.push_back("csv");
|
||||
if (!fPreSegWit) aRules.push_back("!segwit");
|
||||
UniValue vbavailable(UniValue::VOBJ);
|
||||
for (int j = 0; j < (int)Consensus::MAX_VERSION_BITS_DEPLOYMENTS; ++j) {
|
||||
Consensus::DeploymentPos pos = Consensus::DeploymentPos(j);
|
||||
|
|
Loading…
Add table
Reference in a new issue