melis-fork-claimer
Advanced tools
Comparing version 0.5.7 to 0.5.8
@@ -6,3 +6,3 @@ { | ||
"license": "ISC", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"main": "src/index.js", | ||
@@ -9,0 +9,0 @@ "scripts": { |
@@ -10,10 +10,5 @@ // | ||
const Bitcoin = MELIS.Bitcoin | ||
const bscript = Bitcoin.script | ||
const bcrypto = Bitcoin.crypto | ||
//const bscript = Bitcoin.script | ||
//const Bitcoin = require('bitcoinjs-lib') | ||
//const OPCODES = Bitcoin.opcodes | ||
//const payments = Bitcoin.payments | ||
//let Bitcoin | ||
// Address converter tests | ||
@@ -25,12 +20,2 @@ // P2SH 3L9XoqFjwWCiqpDVvHFXroNKPuyy87v143 -> BTCP bxuZxSTk47esMjk5b8DytwyYdjGxVudZ2rq | ||
const FORKS = { | ||
B2X: { | ||
fork: 501451, | ||
name: "Segwit2X", | ||
signtype: 0x31, // 0x31 = 49 | ||
signid: 0x62, // 0x31<<1 | ||
isB2X: true, | ||
// signtype: 0, | ||
// signid: 0x31 << 8, // 0x31 49 | ||
insightApi: "https://explorer.b2x-segwit.io/b2x-insight-api/" | ||
}, | ||
BCD: { | ||
@@ -114,2 +99,12 @@ fork: 495866, | ||
/* | ||
B2X: { | ||
fork: 501451, | ||
name: "Segwit2X", | ||
signtype: 0x31, // 0x31 = 49 | ||
signid: 0x62, // 0x31<<1 | ||
isB2X: true, | ||
// signtype: 0, | ||
// signid: 0x31 << 8, // 0x31 49 | ||
insightApi: "https://explorer.b2x-segwit.io/b2x-insight-api/" | ||
}, | ||
BTW: { | ||
@@ -194,3 +189,3 @@ fork: 499777, | ||
if (!options.timeout) | ||
options.timeout = 20000 | ||
options.timeout = 30000 | ||
if (options.doDebug) | ||
@@ -197,0 +192,0 @@ console.log("JSONFETCH " + url) |
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
26489
814