We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0328dcd commit 2abe8ccCopy full SHA for 2abe8cc
src/rpc/mining.cpp
@@ -576,6 +576,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
576
result.pushKV("capabilities", aCaps);
577
578
UniValue aRules(UniValue::VARR);
579
+ aRules.push_back("csv");
580
+ if (!fPreSegWit) aRules.push_back("!segwit");
581
UniValue vbavailable(UniValue::VOBJ);
582
for (int j = 0; j < (int)Consensus::MAX_VERSION_BITS_DEPLOYMENTS; ++j) {
583
Consensus::DeploymentPos pos = Consensus::DeploymentPos(j);
0 commit comments