add new commands for bitcoin v0.6.0
This commit is contained in:
parent
107bb99d44
commit
3f5cbb7f89
9
Changelog.md
Normal file
9
Changelog.md
Normal 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`
|
||||
@ -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'
|
||||
};
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user