| 1223 | } |
| 1224 | |
| 1225 | static void BIP9SoftForkDescPushBack(UniValue& bip9_softforks, const Consensus::Params& consensusParams, Consensus::DeploymentPos id) |
| 1226 | { |
| 1227 | // Deployments with timeout value of 0 are hidden. |
| 1228 | // A timeout value of 0 guarantees a softfork will never be activated. |
| 1229 | // This is used when softfork codes are merged without specifying the deployment schedule. |
| 1230 | if (consensusParams.vDeployments[id].nTimeout > 0) |
| 1231 | bip9_softforks.pushKV(VersionBitsDeploymentInfo[id].name, BIP9SoftForkDesc(consensusParams, id)); |
| 1232 | } |
| 1233 | |
| 1234 | UniValue getblockchaininfo(const JSONRPCRequest& request) |
| 1235 | { |
no test coverage detected