message: Update RPC for getwalletinfo to provide the stake
diff: @@ -2716,6 +2716,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request)
  "{\n"
  " \"walletversion\": xxxxx, (numeric) the wallet version\n"
  " \"balance\": xxxxxxx, (numeric) the total confirmed balance of the wallet in " + CURRENCY_UNIT + "\n"
  + " \"stake\": xxxxxxx, (numeric) the total stake balance of the wallet in " + CURRENCY_UNIT + "\n"
  " \"unconfirmed_balance\": xxx, (numeric) the total unconfirmed balance of the wallet in " + CURRENCY_UNIT + "\n"
  " \"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet in " + CURRENCY_UNIT + "\n"
  " \"txcount\": xxxxxxx, (numeric) the total number of transactions in the wallet\n"
  @@ -2735,6 +2736,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request)
  UniValue obj(UniValue::VOBJ);
  obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
  obj.push_back(Pair("balance", ValueFromAmount(pwalletMain->GetBalance())));
  + obj.push_back(Pair("stake", ValueFromAmount(pwalletMain->GetStake())));
  obj.push_back(Pair("unconfirmed_balance", ValueFromAmount(pwalletMain->GetUnconfirmedBalance())));
  obj.push_back(Pair("immature_balance", ValueFromAmount(pwalletMain->GetImmatureBalance())));
  obj.push_back(Pair("txcount", (int)pwalletMain->mapWallet.size()));
  