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

blockcast

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockcast - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

2

package.json
{
"name": "blockcast",
"version": "3.0.1",
"version": "3.1.0",
"description": "A multi-transaction protocol for storing data in the Bitcoin blockchain.",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -87,3 +87,2 @@ var txHexToJSON = require('bitcoin-tx-hex-to-json');

var vout = tx.vout;
var dataOutput;
for (var j = vout.length - 1; j >= 0; j--) {

@@ -96,3 +95,2 @@ var output = vout[j];

var parsedLength = dataPayload.parse(data);
dataOutput = parsedLength ? j : 0;
transactionTotal = parsedLength ? parsedLength : transactionTotal;

@@ -112,3 +110,3 @@ payloads.push(data);

}
var prevTxid = tx.vin[dataOutput].txid;
var prevTxid = tx.vin[tx.vin.length-1].txid;
if (!prevTxid) {

@@ -115,0 +113,0 @@ callback("missing: " + (allTransactions.length + 1), false);

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