diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..1f80d47 --- /dev/null +++ b/Changelog.md @@ -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` diff --git a/README.md b/Readme.md similarity index 100% rename from README.md rename to Readme.md diff --git a/lib/bitcoin/client.js b/lib/bitcoin/client.js index 2d692a0..e864b03 100644 --- a/lib/bitcoin/client.js +++ b/lib/bitcoin/client.js @@ -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' };