add missing getBlock command

This commit is contained in:
freewil 2012-04-26 01:12:45 -04:00
parent e1f631ef26
commit 0d123f7792
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# node-bitcoin changelog
## v1.2.1 (2012/04/26)
* Add missing `getBlock` command
## v1.2.0 (2012/04/25)
* Submoduled testnet-box for running tests
* err objects should all now be an instance of Error

View File

@ -14,6 +14,7 @@ var bitcoinAPI = {
getAccountAddress: 'getaccountaddress',
getAddressesByAccount: 'getaddressesbyaccount',
getBalance: 'getbalance',
getBlock: 'getblock',
getBlockCount: 'getblockcount',
getBlockHash: 'getblockhash',
getBlockNumber: 'getblockcount', // getblocknumber deprecated since Bitcoin v0.5.1