doc: Move buried deployment doc to the enum that enumerates them

This is more visible than a comment hidden in an RPC helper function.
This commit is contained in:
MarcoFalke
2021-07-01 19:58:16 +02:00
parent ddc6979b8b
commit fa11fecf0d
2 changed files with 6 additions and 6 deletions

View File

@@ -1350,8 +1350,6 @@ static RPCHelpMan verifychain()
static void SoftForkDescPushBack(const CBlockIndex* active_chain_tip, UniValue& softforks, const Consensus::Params& params, Consensus::BuriedDeployment dep)
{
// For buried deployments.
// A buried deployment is one where the height of the activation has been hardcoded into
// the client implementation long after the consensus change has activated. See BIP 90.
// Buried deployments with activation height value of
// std::numeric_limits<int>::max() are disabled and thus hidden.
if (!DeploymentEnabled(params, dep)) return;