From 654b4a675b28f46e7bb4f4f80c51ddb274987187 Mon Sep 17 00:00:00 2001 From: devlo Date: Fri, 22 Aug 2014 01:22:40 +0200 Subject: [PATCH] Added some new RPC commands v0.9.0 - v0.9.3 --- lib/commands.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/commands.js b/lib/commands.js index 8db3341..6b4c054 100644 --- a/lib/commands.js +++ b/lib/commands.js @@ -5,14 +5,18 @@ module.exports = { createMultiSig: 'createmultisig', createRawTransaction: 'createrawtransaction', // bitcoind v0.7.0+ decodeRawTransaction: 'decoderawtransaction', // bitcoind v0.7.0+ + decodeScript: 'decodescript', dumpPrivKey: 'dumpprivkey', + dumpWallet: 'dumpwallet', // bitcoind v0.9.0+ encryptWallet: 'encryptwallet', getAccount: 'getaccount', getAccountAddress: 'getaccountaddress', getAddedNodeInfo: 'getaddednodeinfo', // bitcoind v0.8.0+ getAddressesByAccount: 'getaddressesbyaccount', getBalance: 'getbalance', + getBestBlockHash: 'getbestblockhash', // bitcoind v0.9.0+ getBlock: 'getblock', + getBlockChainInfo : 'getblockchaininfo', // bitcoind v0.9.2+ getBlockCount: 'getblockcount', getBlockHash: 'getblockhash', getBlockTemplate: 'getblocktemplate', // bitcoind v0.7.0+ @@ -23,8 +27,12 @@ module.exports = { getHashesPerSec: 'gethashespersec', getInfo: 'getinfo', getMiningInfo: 'getmininginfo', + getNetTotals: 'getnettotals', + getNetworkInfo: 'getnetworkinfo', // bitcoind v0.9.2+ + getNetworkHashPs: 'getnetworkhashps', // bitcoind v0.9.0+ getNewAddress: 'getnewaddress', getPeerInfo: 'getpeerinfo', // bitcoind v0.7.0+ + getRawChangeAddress: 'getrawchangeaddress', // bitcoin v0.9+ getRawMemPool: 'getrawmempool', // bitcoind v0.7.0+ getRawTransaction: 'getrawtransaction', // bitcoind v0.7.0+ getReceivedByAccount: 'getreceivedbyaccount', @@ -32,6 +40,8 @@ module.exports = { getTransaction: 'gettransaction', getTxOut: 'gettxout', // bitcoind v0.7.0+ getTxOutSetInfo: 'gettxoutsetinfo', // bitcoind v0.7.0+ + getUnconfirmedBalance: 'getunconfirmedbalance', // bitcoind v0.9.0+ + getWalletInfo: 'getwalletinfo', // bitcoind v0.9.2+ getWork: 'getwork', help: 'help', importPrivKey: 'importprivkey', @@ -47,6 +57,7 @@ module.exports = { listUnspent: 'listunspent', // bitcoind v0.7.0+ lockUnspent: 'lockunspent', // bitcoind v0.8.0+ move: 'move', + ping: 'ping', // bitcoind v0.9.0+ sendFrom: 'sendfrom', sendMany: 'sendmany', sendRawTransaction: 'sendrawtransaction', // bitcoind v0.7.0+ @@ -59,6 +70,7 @@ module.exports = { stop: 'stop', submitBlock: 'submitblock', // bitcoind v0.7.0+ validateAddress: 'validateaddress', + verifyChain: 'verifychain', // bitcoind v0.9.0+ verifyMessage: 'verifymessage', walletLock: 'walletlock', walletPassphrase: 'walletpassphrase',