HomePhabricator

Deprecate RPC getblocknumber
29c8b9416dc0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Deprecate RPC getblocknumber

This RPC is exactly identical to getblockcount. This duplication
dates back to commit 22f721dbf23cf5ce9e3ded9bcfb65a3894cc0f8c when
Satoshi created the RPC interface.

There's no need to have both, so we standardize on "count" which
matches the naming convention in getconnectioncount.

Following the tradition established with previously deprecated APIs,
getblocknumber continues to work, but it's not listed in the help
system.

Details

Provenance
Michael Hendricks <michael@ndrix.org>Authored on Nov 11 2011, 00:10
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING5efee7da866f: Release process doc fixes
Branches
Unknown
Tags
Unknown

Event Timeline

Michael Hendricks <michael@ndrix.org> committed rSTAGING29c8b9416dc0: Deprecate RPC getblocknumber (authored by Michael Hendricks <michael@ndrix.org>).Nov 11 2011, 17:13