Comparing version 1.7.0 to 2.0.0
# node-bitcoin changelog | ||
## v2.0.0 (2013/10/14) | ||
* remove deprecated commands | ||
* `getMemoryPool` | ||
* `getMemorypool` | ||
* remove deprecated functionality | ||
* creating `bitcoin.Client` with more than one argument | ||
## v1.7.0 (2013/05/05) | ||
@@ -4,0 +11,0 @@ * add missing commands from bitcoind v0.7.0 |
@@ -1,5 +0,1 @@ | ||
module.exports = { | ||
// will be removed in v2.0 | ||
getMemorypool: 'getmemorypool', // replaced in bitcoind v0.7.0 with | ||
getMemoryPool: 'getmemorypool' // `getblocktemplate`, `submitblock`, `getrawmempool` | ||
}; | ||
module.exports = {}; |
@@ -9,16 +9,3 @@ var deprecate = require('deprecate'), | ||
//===----------------------------------------------------------------------===// | ||
function Client() { | ||
var args = [].slice.call(arguments), | ||
opts = {}; | ||
if (args.length > 1) { | ||
deprecate('calling bitcoin.Client with more than one argument is deprecated'); | ||
opts.host = args[0]; | ||
opts.port = args[1]; | ||
opts.user = args[2]; | ||
opts.pass = args[3]; | ||
} else { | ||
opts = args[0]; | ||
} | ||
function Client(opts) { | ||
this.rpc = new rpc.Client(opts); | ||
@@ -25,0 +12,0 @@ } |
{ | ||
"name": "bitcoin", | ||
"description": "Communicate with bitcoind via JSON-RPC", | ||
"version": "1.7.0", | ||
"version": "2.0.0", | ||
"main": "lib/index.js", | ||
@@ -18,4 +18,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"mocha": "~1.8.1", | ||
"clone": "~0.1.6" | ||
"mocha": "~1.13.0", | ||
"clone": "~0.1.10" | ||
}, | ||
@@ -22,0 +22,0 @@ "optionalDependencies": {}, |
@@ -65,3 +65,3 @@ # node-bitcoin | ||
recommended to enable `ssl`, otherwise an attacker may intercept your RPC credentials | ||
resulting in theft of your Bitcoins. | ||
resulting in theft of your bitcoins. | ||
@@ -68,0 +68,0 @@ When enabling `ssl` by setting the configuration option to `true`, the `sslStrict` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
13696
237