New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitcoin

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoin - npm Package Compare versions

Comparing version 1.7.0 to 2.0.0

7

Changelog.md
# 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

6

lib/commands_deprecated.js

@@ -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`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc