MarcoFalke
commented at 4:25 PM on July 2, 2019:
member
There is a common misconception that the block count returned by the blockchain rpcs includes the genesis block. See for example the discussion in #16292 (comment).
However, it really returns the height, which is 0 for the genesis block.
So clarify that and also remove the misleading "longest blockchain" comment.
Finally, fix the wallet test that incorrectly used this rpc.
MarcoFalke force-pushed on Jul 2, 2019
rpc: Clarify that block count means height excl genesisfab0c820fa
MarcoFalke force-pushed on Jul 2, 2019
DrahtBot
commented at 4:37 PM on July 2, 2019:
member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
No conflicts as of last run.
laanwj added the label RPC/REST/ZMQ on Jul 2, 2019
instagibbs
commented at 4:47 PM on July 2, 2019:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me