message: Bring back SoftForkDesc.
diff: @@ -1029,6 +1029,36 @@ UniValue verifychain(const JSONRPCRequest& request)
  return CVerifyDB().VerifyDB(Params(), pcoinsTip.get(), nCheckLevel, nCheckDepth);
  }
  +/** Implementation of IsSuperMajority with better feedback */
  +static UniValue SoftForkMajorityDesc(int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
  +{
  + UniValue rv(UniValue::VOBJ);
  + bool activated = false;
  + switch(version)
  + {
  + case 2:
  + activated = pindex->nHeight >= consensusParams.BIP34Height;
  + break;
  + case 3:
  + activated = IsBTC16BIPsEnabled(pindex->nTime);
  + break;
  + case 4:
  + activated = IsProtocolV06(pindex);
  + break;
  + }
  + rv.push_back(Pair("status", activated));
  + return rv;
  +}
  +
  +static UniValue SoftForkDesc(const std::string &name, int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
  +{
  + UniValue rv(UniValue::VOBJ);
  + rv.push_back(Pair("id", name));
  + rv.push_back(Pair("version", version));
  + rv.push_back(Pair("reject", SoftForkMajorityDesc(version, pindex, consensusParams)));
  + return rv;
  +}
  +
  UniValue getblockchaininfo(const JSONRPCRequest& request)
  {
  if (request.fHelp || request.params.size() != 0)
  