Deprecate RPC getblocknumber
authorMichael Hendricks <michael@ndrix.org>
Fri, 11 Nov 2011 00:10:32 +0000 (17:10 -0700)
committerMichael Hendricks <michael@ndrix.org>
Fri, 11 Nov 2011 17:13:36 +0000 (10:13 -0700)
commit29c8b9416dc0a021ce4f27eadb88a0de98d7418e
tree0feaa3b8422d2a49ac462a6f04cd514bddde96b9
parent5efee7da866fd6ec9cbf059f253d6d98964bd817
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.
src/bitcoinrpc.cpp