{"_id":"@bcpros/bitcore-p2p-xpi","_rev":"5-7c901950e94ae8ddb9943810409a0f34","name":"@bcpros/bitcore-p2p-xpi","dist-tags":{"latest":"9.0.9"},"versions":{"9.0.0":{"name":"@bcpros/bitcore-p2p-xpi","version":"9.0.0","keywords":["bitcoin","bitcore","lotus"],"license":"MIT","_id":"@bcpros/bitcore-p2p-xpi@9.0.0","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"homepage":"https://github.com/bitpay/bitcore-p2p#readme","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"dist":{"shasum":"be47b21992cf1d33ebe9dc0a4a7ccda749ea4759","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xpi/-/bitcore-p2p-xpi-9.0.0.tgz","fileCount":65,"integrity":"sha512-iC/npTOhQ70Pl26bidpWPyWMrkWUvK84N2qRdiUnkHkxBHVEOeaWqAeirNMTEILzAs2iJ5wKatWZQtlifPuy4g==","signatures":[{"sig":"MEYCIQDXHs7Cd+KVW83gFTMjKkxDyLpadj+mR1m0XVMF8uhuqwIhAOnEmhsolt7VQHvqudGebsaSp5YgVvKzERC0lyRjkEbE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":259986},"main":"index.js","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"git+https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"9.6.6","description":"Interface to the bitcoin P2P network for lotus","directories":{},"_nodeVersion":"20.2.0","dependencies":{"buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"^9.0.0","@bcpros/bitcore-lib-xpi":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xpi_9.0.0_1731227446151_0.8246494122229118","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@bcpros/bitcore-p2p-xpi","version":"9.0.1","keywords":["bitcoin","bitcore","lotus"],"license":"MIT","_id":"@bcpros/bitcore-p2p-xpi@9.0.1","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"homepage":"https://github.com/bitpay/bitcore-p2p#readme","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"dist":{"shasum":"cd8f507d4872006fcb8593341a4c58b6850aca74","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xpi/-/bitcore-p2p-xpi-9.0.1.tgz","fileCount":65,"integrity":"sha512-Zdw++7SdhlSb3MaIs7wA6hdzQlbjM78MAxWDBuSkrkV1XLaYLPSSc9GcO+XPp4nfD0X2m82Wi0djW5pFOI4E7w==","signatures":[{"sig":"MEQCIA/fw+O5W76SjdPGFc9bHftKcmCErNIGCmcHo2+cVghaAiAqL+qp9DTBClIErRLQbo6xQNC56CbdFD3sNhzCnCgGkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":259986},"main":"index.js","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"git+https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"10.8.2","description":"Interface to the bitcoin P2P network for lotus","directories":{},"_nodeVersion":"18.20.5","dependencies":{"buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"^9.0.1","@bcpros/bitcore-lib-xpi":"^9.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xpi_9.0.1_1736178794112_0.04470599742721748","host":"s3://npm-registry-packages-npm-production"}},"9.0.7":{"name":"@bcpros/bitcore-p2p-xpi","version":"9.0.7","keywords":["bitcoin","bitcore","lotus"],"license":"MIT","_id":"@bcpros/bitcore-p2p-xpi@9.0.7","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"dist":{"shasum":"443a10ad608b7a9eb3b3a19e62a2679adb9ed8e0","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xpi/-/bitcore-p2p-xpi-9.0.7.tgz","fileCount":65,"integrity":"sha512-K47KyZzKhap/NPJ9d38w/jn4C/cSFiiV/DIKJG+vdhnqNWcji+5XwY7oX5lBWUoTi/jS9e8etniJbGxBjPG4tA==","signatures":[{"sig":"MEUCIQD6klJxo2R+Z1Yh6/uDg05eUi+X8gkoykDQkRKgF05ZFwIgNYc8uBeZ+YSSSs2/Ej8sOKOMhSIPaw9QIsQ8gy7D2lE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":259986},"main":"index.js","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"lerna/8.1.9/node@v18.20.5+x64 (linux)","description":"Interface to the bitcoin P2P network for lotus","directories":{},"_nodeVersion":"18.20.5","dependencies":{"buffers":"bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"^9.0.7","@bcpros/bitcore-lib-xpi":"^9.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xpi_9.0.7_1738639718325_0.1813782605893337","host":"s3://npm-registry-packages-npm-production"}},"9.0.8":{"name":"@bcpros/bitcore-p2p-xpi","version":"9.0.8","keywords":["bitcoin","bitcore","lotus"],"license":"MIT","_id":"@bcpros/bitcore-p2p-xpi@9.0.8","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"homepage":"https://github.com/bitpay/bitcore-p2p#readme","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"dist":{"shasum":"049895f3d1d43e0190bd58dbe6fb8d35f6fc16f7","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xpi/-/bitcore-p2p-xpi-9.0.8.tgz","fileCount":66,"integrity":"sha512-Cd9M0Un6wa5+RO36r2TCBRRbzfaiA2/q4mGbduccEtWF8LgOn+YD9xNZzwOWWQxgZsGjbpcLic3TKvj4BdTqJg==","signatures":[{"sig":"MEYCIQDaOhIkuesEHtejRNJggHlDzHMX6LWLIQ8MFk0mXjOZ8QIhAMQrgNllDcCHDPXRvj9sQeBDTFa/OXT19I2+3+Wqo1CB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":272810},"main":"index.js","_from":"file:bcpros-bitcore-p2p-xpi-9.0.8.tgz","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"_resolved":"/tmp/1cc6be9bc5a8be94a07a8ac6e00bc260/bcpros-bitcore-p2p-xpi-9.0.8.tgz","_integrity":"sha512-Cd9M0Un6wa5+RO36r2TCBRRbzfaiA2/q4mGbduccEtWF8LgOn+YD9xNZzwOWWQxgZsGjbpcLic3TKvj4BdTqJg==","repository":{"url":"git+https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"9.6.6","description":"Interface to the bitcoin P2P network for lotus","directories":{},"_nodeVersion":"20.2.0","dependencies":{"buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"9.0.8","@bcpros/bitcore-lib-xpi":"9.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"9.0.8"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xpi_9.0.8_1742180923693_0.032588350683243394","host":"s3://npm-registry-packages-npm-production"}},"9.0.9":{"name":"@bcpros/bitcore-p2p-xpi","version":"9.0.9","description":"Interface to the bitcoin P2P network for lotus","main":"index.js","contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"keywords":["bitcoin","bitcore","lotus"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore-p2p.git"},"dependencies":{"bloom-filter":"^0.2.0","buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"9.0.9","@bcpros/bitcore-lib-xpi":"9.0.9"},"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"9.0.9"},"publishConfig":{"access":"public"},"license":"MIT","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"test":"gulp test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish"},"_id":"@bcpros/bitcore-p2p-xpi@9.0.9","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"homepage":"https://github.com/bitpay/bitcore-p2p#readme","_integrity":"sha512-WdsXUVTXKHSA1wuMgakg8MfS72UQq3xeTDdVCVKC4XWonhp7XjPX1CFqU7/OttI34ZZ44GfYVJ935xWd4/TAaw==","_resolved":"/tmp/bc723726e873116b95773c3109d709a2/bcpros-bitcore-p2p-xpi-9.0.9.tgz","_from":"file:bcpros-bitcore-p2p-xpi-9.0.9.tgz","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-WdsXUVTXKHSA1wuMgakg8MfS72UQq3xeTDdVCVKC4XWonhp7XjPX1CFqU7/OttI34ZZ44GfYVJ935xWd4/TAaw==","shasum":"649502235211bd6711c4116bf4597f3a0aad92c9","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xpi/-/bitcore-p2p-xpi-9.0.9.tgz","fileCount":66,"unpackedSize":272953,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDuxAibUqHOiO3B3M+hVetBUpc52INhyUX4kUn4IEDpqAiEAr1ZoLp+G8Y2HMdSSssrtc9hE2qLE3Ud9Nk6RvLz0mSk="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bitcore-p2p-xpi_9.0.9_1746374629966_0.12662927334218232"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-10T08:30:46.075Z","modified":"2025-05-04T16:03:50.362Z","9.0.0":"2024-11-10T08:30:46.377Z","9.0.1":"2025-01-06T15:53:14.377Z","9.0.7":"2025-02-04T03:28:38.554Z","9.0.8":"2025-03-17T03:08:43.890Z","9.0.9":"2025-05-04T16:03:50.180Z"},"bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"license":"MIT","homepage":"https://github.com/bitpay/bitcore-p2p#readme","keywords":["bitcoin","bitcore","lotus"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore-p2p.git"},"description":"Interface to the bitcoin P2P network for lotus","contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"readme":"# Bitcore P2P Cash\n\n[![NPM Package](https://img.shields.io/npm/v/bitcore-p2p-cash.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-p2p-cash)\n\n**The peer-to-peer networking protocol for BCH.**\n\n`bitcore-p2p-cash` adds Bitcoin Cash protocol support for Bitcore.\n\nSee [the main bitcore repo](https://github.com/bitpay/bitcore) for more information.\n\n## Getting Started\n\n```sh\nnpm install bitcore-p2p-cash\n```\n\nIn order to connect to the Bitcoin Cash network, you'll need to know the IP address of at least one node of the network, or use [Pool](./docs/pool.md) to discover peers using a DNS seed.\n\n```javascript\nvar Peer = require('bitcore-p2p-cash').Peer;\n\nvar peer = new Peer({host: '127.0.0.1'});\n\npeer.on('ready', function() {\n  // peer info\n  console.log(peer.version, peer.subversion, peer.bestHeight);\n});\npeer.on('disconnect', function() {\n  console.log('connection closed');\n});\npeer.connect();\n```\n\nThen, you can get information from other peers by using:\n\n```javascript\n// handle events\npeer.on('inv', function(message) {\n  // message.inventory[]\n});\npeer.on('tx', function(message) {\n  // message.transaction\n});\n```\n\nTake a look at this [guide](./docs/peer.md) on the usage of the `Peer` class.\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md) on the main bitcore repo for information about how to contribute.\n\n## License\n\nCode released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).\n\nCopyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\n","readmeFilename":"README.md"}