Browse Source
Change regtest server over to regtest.bitbank.cc
v4
junderw
6 years ago
No known key found for this signature in database
GPG Key ID: B256185D3A971908
1 changed files with
2 additions and
2 deletions
-
test/integration/_regtest.js
|
|
@ -3,12 +3,12 @@ const bitcoin = require('../../') |
|
|
|
const dhttp = require('dhttp/200') |
|
|
|
|
|
|
|
const APIPASS = process.env.APIPASS || 'satoshi' |
|
|
|
const APIURL = 'https://api.dcousens.cloud/1' |
|
|
|
const APIURL = 'https://regtest.bitbank.cc/1' |
|
|
|
const NETWORK = bitcoin.networks.testnet |
|
|
|
|
|
|
|
function broadcast (txHex, callback) { |
|
|
|
dhttp({ |
|
|
|
method: 'PUT', |
|
|
|
method: 'POST', |
|
|
|
url: APIURL + '/t/push', |
|
|
|
body: txHex |
|
|
|
}, callback) |
|
|
|