diff --git a/routes/block.js b/routes/block.js index 659e53f1..a9ae8c3d 100644 --- a/routes/block.js +++ b/routes/block.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'block' }); diff --git a/routes/blockchain.js b/routes/blockchain.js index f30d29b2..8bb54353 100644 --- a/routes/blockchain.js +++ b/routes/blockchain.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'blockchain' }); diff --git a/routes/control.js b/routes/control.js index 45115339..760a377e 100644 --- a/routes/control.js +++ b/routes/control.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'control' }); diff --git a/routes/generating.js b/routes/generating.js index 324866e7..eb921b5d 100644 --- a/routes/generating.js +++ b/routes/generating.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'generating' }); diff --git a/routes/mining.js b/routes/mining.js index 4f6c7ad5..7fe6fe57 100644 --- a/routes/mining.js +++ b/routes/mining.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'mining' }); diff --git a/routes/network.js b/routes/network.js index 0599014c..9076cd40 100644 --- a/routes/network.js +++ b/routes/network.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'network' }); diff --git a/routes/rawtransactions.js b/routes/rawtransactions.js index 8e17a506..80349365 100644 --- a/routes/rawtransactions.js +++ b/routes/rawtransactions.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'rawtransactions' }); diff --git a/routes/util.js b/routes/util.js index 93bdb680..a3f77c14 100644 --- a/routes/util.js +++ b/routes/util.js @@ -6,18 +6,18 @@ let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; let BITBOX = new BITBOXCli(); //testnet creds -// let BitboxHTTP = axios.create({ -// baseURL: `http://167.99.110.201:18332/` -// }); -// let username = 'bitcoin'; -// let password = 'rD9yw2Y9RkOnYjYnDX'; - -// mainnet creds let BitboxHTTP = axios.create({ - baseURL: `http://138.68.54.100:8332/` + baseURL: `http://167.99.110.201:18332/` }); let username = 'bitcoin'; -let password = 'xhFjluMJMyOXcYvF'; +let password = 'rD9yw2Y9RkOnYjYnDX'; + +// mainnet creds +// let BitboxHTTP = axios.create({ +// baseURL: `http://138.68.54.100:8332/` +// }); +// let username = 'bitcoin'; +// let password = 'xhFjluMJMyOXcYvF'; router.get('/', (req, res, next) => { res.json({ status: 'util' });