Bumped version.

This commit is contained in:
Chris Kleeschulte 2017-11-05 18:33:40 -05:00
parent 74d3c0212b
commit 5d0923a9d1
No known key found for this signature in database
GPG Key ID: 33195D27EF6BDB7F
3 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,33 @@
'use strict';
var request = require('request');
var config = require('./config.json');
var addresses = require('/tmp/large_amounts_utxos.json');
// each of those addresses has a large number of utxos
// we are going to act like this group of addresses is our wallet, this ought to be fun!
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
var url = config.old;
if (process.argv[2] === 'old') {
url = config.new;
}
var options = {
url: url,
method: 'POST',
qs: { from: 0, to: 5, noAsm: 1, noScriptSig: 1, noSpent: 1 },
json: { addrs: '1H4drU7anmDUdJKAcJXfoExPPNJbwiM7nJ' }
//json: { addrs: addresses }
};
request(options, function(err, response, body) {
console.log(JSON.stringify(body));
});

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "bitcore-node",
"version": "5.0.0-beta.32",
"version": "5.0.0-beta.33",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -5,7 +5,7 @@
"node": ">=8.0.0"
},
"author": "BitPay <dev@bitpay.com>",
"version": "5.0.0-beta.32",
"version": "5.0.0-beta.33",
"main": "./index.js",
"repository": "git://github.com/bitpay/bitcore-node.git",
"homepage": "https://github.com/bitpay/bitcore-node",