add new commands for bitcoin v0.6.0

This commit is contained in:
freewil 2012-04-11 17:17:59 -04:00
parent 107bb99d44
commit 3f5cbb7f89
3 changed files with 15 additions and 1 deletions

9
Changelog.md Normal file
View File

@ -0,0 +1,9 @@
# node-bitcoin changelog
## v1.1.6 (2012/04/11)
* New commands for bitcoin v0.6.0
* `addMultiSigAddress` (only available in testnet)
* `dumpPrivKey`
* `getBlockHash`
* `getMiningInfo`
* `importPrivKey`

View File

@ -6,13 +6,16 @@ var rpc = require('../jsonrpc')
// jsonrpc wrappers
//===----------------------------------------------------------------------===//
var bitcoinAPI = {
addMultiSigAddress: 'addmultisigaddress',
backupWallet: 'backupwallet',
dumpPrivKey: 'dumpprivkey',
encryptWallet: 'encryptwallet',
getAccount: 'getaccount',
getAccountAddress: 'getaccountaddress',
getAddressesByAccount: 'getaddressesbyaccount',
getBalance: 'getbalance',
getBlockCount: 'getblockcount',
getBlockHash: 'getblockhash',
getBlockNumber: 'getblockcount', // getblocknumber deprecated since Bitcoin v0.5.1
getConnectionCount: 'getconnectioncount',
getDifficulty: 'getdifficulty',
@ -22,12 +25,14 @@ var bitcoinAPI = {
getInfo: 'getinfo',
getMemorypool: 'getmemorypool',
getMemoryPool: 'getmemorypool',
getMiningInfo: 'getmininginfo',
getNewAddress: 'getnewaddress',
getReceivedByAccount: 'getreceivedbyaccount',
getReceivedByAddress: 'getreceivedbyaddress',
getTransaction: 'gettransaction',
getWork: 'getwork',
help: 'help',
importPrivKey: 'importprivkey',
keypoolRefill: 'keypoolrefill',
keyPoolRefill: 'keypoolrefill',
listAccounts: 'listaccounts',
@ -48,7 +53,7 @@ var bitcoinAPI = {
verifyMessage: 'verifymessage',
walletLock: 'walletlock',
walletPassphrase: 'walletpassphrase',
walletPassphraseChange: 'walletpassphrasechange',
walletPassphraseChange: 'walletpassphrasechange'
};