Skip to content

Commit

Permalink
rpc: Inform that getblockstats doesn't work correctly for PoSv1 and…
Browse files Browse the repository at this point in the history
… PoSv2 blocks
  • Loading branch information
lateminer committed Oct 28, 2023
1 parent a9df6ee commit 5dc332f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ static RPCHelpMan getblockstats()
{
return RPCHelpMan{"getblockstats",
"\nCompute per block statistics for a given window. All amounts are in satoshis.\n"
"It won't work for some heights with pruning.\n",
"Block subsidy won't be shown correctly for proof-of-stake blocks with dynamic reward (before PoSv3).\n",
{
{"hash_or_height", RPCArg::Type::NUM, RPCArg::Optional::NO, "The block hash or height of the target block",
RPCArgOptions{
Expand Down

0 comments on commit 5dc332f

Please sign in to comment.