From 1a891679446c3d73c8744dad3aa2af0acbfadd9f Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Fri, 13 Nov 2020 16:34:19 -0700 Subject: [PATCH] Document how to get block subsidy information in getblocktemplate. --- src/rpc/mining.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 153487df3..334419217 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -417,6 +417,8 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp) "It returns data needed to construct a block to work on.\n" "See https://en.bitcoin.it/wiki/BIP_0022 for full specification.\n" + "\nTo obtain information about founder's reward or funding stream amounts, use 'getblocksubsidy $(getblocktemplate)[\"height\"]'.\n" + "\nArguments:\n" "1. \"jsonrequestobject\" (string, optional) A json object in the following spec\n" " {\n"