Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitcoin-inventory

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoin-inventory - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

3

package.json
{
"name": "bitcoin-inventory",
"version": "1.2.2",
"version": "1.2.3",
"description": "Exchange transactions with peers",

@@ -26,2 +26,3 @@ "main": "index.js",

"create-hash": "^1.2.0",
"debug": "^4.1.1",
"map-deque": "0.0.2",

@@ -28,0 +29,0 @@ "old": "^0.1.3"

'use strict'
const debug = require('debug')('bitcoin-inventory')
const EventEmitter = require('events')

@@ -71,3 +72,5 @@ const protocol = require('bitcoin-protocol')

_onReject (message, peer = this.peers) {
console.log('got reject', message)
debug('got reject', message)
// TODO: if most peers give us the same reject code,
// emit it as an error
}

@@ -74,0 +77,0 @@

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