bitcoind-rpc
bitcoind-rpc copied to clipboard
A client library to connect to Bitcoin Core RPC in JavaScript.
Added new methods for version 1.6.3 Bitcoin Core, removed deprecated ones and fixed some args on the RPC commands.
update travis
Getting type error in lib file. ``` Error TypeError: Cannot read property 'toString' of undefined at Array.str (/home/ubuntu/swap-node/node_modules/bitcoind-rpc/lib/index.js:260:18) at RpcClient.<anonymous> (/home/ubuntu/swap-node/node_modules/bitcoind-rpc/lib/index.js:236:35) at Bitcoin.sendTransaction (/home/ubuntu/swap-node/node_modules/bitcore-node/lib/services/bitcoind.js:1804:15) at Node.self.(anonymous...
Some functions are not in call spec. Example: getrawchangeaddress
Can we expect a new release any time soon?
It looks like line `var bitcore = require('bitcore');` in the Readme.md example is unused. Should that be removed. I can put in the PR
The method getrawmempool has an optional parameter of type bool with name format. Which specifies: - false: return an array of txids - true: json object describing each transaction It...
Now `batch` call look like: ``` js rpc.batch(function() { /* add some request to rpc */ }, function() { /* request callback */ }) ``` I think it's not good,...
- Include better description of parameters, for example "rejectUnauthorized" translates into "strict ssl cert checking" and "secure" translates into "https" or "http" - Full description of parameters, "getnewaddress" does not...
It looks like even though we have coverage for line: https://github.com/bitpay/bitcoind-rpc/blob/master/lib/index.js#L263 There was an issue with `string` vs `str`: https://github.com/bitpay/bitcoind-rpc/pull/6 We may need better tests around these.