|
|
@ -576,6 +576,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
|
|
|
result.pushKV("capabilities", aCaps);
|
|
|
|
result.pushKV("capabilities", aCaps);
|
|
|
|
|
|
|
|
|
|
|
|
UniValue aRules(UniValue::VARR);
|
|
|
|
UniValue aRules(UniValue::VARR);
|
|
|
|
|
|
|
|
aRules.push_back("csv");
|
|
|
|
|
|
|
|
if (!fPreSegWit) aRules.push_back("!segwit");
|
|
|
|
UniValue vbavailable(UniValue::VOBJ);
|
|
|
|
UniValue vbavailable(UniValue::VOBJ);
|
|
|
|
for (int j = 0; j < (int)Consensus::MAX_VERSION_BITS_DEPLOYMENTS; ++j) {
|
|
|
|
for (int j = 0; j < (int)Consensus::MAX_VERSION_BITS_DEPLOYMENTS; ++j) {
|
|
|
|
Consensus::DeploymentPos pos = Consensus::DeploymentPos(j);
|
|
|
|
Consensus::DeploymentPos pos = Consensus::DeploymentPos(j);
|
|
|
|