You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow negative heights in RPC calls
For issue #2197
Currently adding the feature to `getblock` and `getblockhash`. There is another candidate: `getblocksubsidy` however i want to have some review about these 2 first before repeating what could be a bad approach.
RPC call
getblock
can refer to a block by height #2187.The user might want to specify a recent block, say the 10th block before the current tip.
Devise a syntax which can be used e.g.
-10
ortip-10
and see where else it can be used in the RPC interface.The text was updated successfully, but these errors were encountered: