Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "blockcast", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A multi-transaction protocol for storing data in the Bitcoin blockchain.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
blockcast | ||
=== | ||
[![Build Status](http://drone.d.blockai.com/api/badge/github.com/blockai/blockcast/status.svg?branch=master)](http://drone.d.blockai.com/github.com/blockai/blockcast) | ||
A multi-transaction protocol for storing data in the Bitcoin blockchain. | ||
@@ -5,0 +7,0 @@ |
@@ -1,3 +0,1 @@ | ||
var assert = require("assert"); | ||
var Bitcoin = require("bitcoinjs-lib"); | ||
@@ -70,3 +68,5 @@ var zlib = require("zlib"); | ||
} | ||
assert.equal(payloads.length, length); | ||
if (payloads.length !== length) { | ||
callback("length mismatch", false); | ||
} | ||
var compressedBuffer = new Buffer(""); | ||
@@ -73,0 +73,0 @@ for (var i = 0; i < length; i++) { |
@@ -126,5 +126,4 @@ var txHexToJSON = require('bitcoin-tx-hex-to-json'); | ||
scanSingle: scanSingle, | ||
parse: dataPayload.getInfo, | ||
payloadsLength: payloadsLength, | ||
bitcoinTransactionBuilder: bitcoinTransactionBuilder | ||
}; |
@@ -11,3 +11,9 @@ jasmine.getEnv().defaultTimeoutInterval = 50000; | ||
var env = require('node-env-file'); | ||
env('./.env', { raise: false }); | ||
var BLOCKCYPHER_TOKEN = process.env.BLOCKCYPHER_TOKEN; | ||
var testnetCommonBlockchain = require('blockcypher-unofficial')({ | ||
key: BLOCKCYPHER_TOKEN, | ||
network: "testnet" | ||
@@ -14,0 +20,0 @@ }); |
@@ -8,3 +8,3 @@ jasmine.getEnv().defaultTimeoutInterval = 50000; | ||
var env = require('node-env-file'); | ||
env('./.env'); | ||
env('./.env', { raise: false }); | ||
@@ -11,0 +11,0 @@ var loremIpsum = "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57580
16
1187
127
5
2