From 0903f9f4cbf21a665d01489befdf073577d22114 Mon Sep 17 00:00:00 2001 From: Gabriel Cardona Date: Wed, 27 Jun 2018 17:32:01 +0900 Subject: [PATCH] Mainnet. --- routes/block.js | 18 +++++++++--------- routes/blockchain.js | 18 +++++++++--------- routes/control.js | 18 +++++++++--------- routes/generating.js | 18 +++++++++--------- routes/mining.js | 18 +++++++++--------- routes/network.js | 18 +++++++++--------- routes/rawtransactions.js | 18 +++++++++--------- routes/util.js | 18 +++++++++--------- 8 files changed, 72 insertions(+), 72 deletions(-) diff --git a/routes/block.js b/routes/block.js index 337a3985..c681b217 100644 --- a/routes/block.js +++ b/routes/block.js @@ -8,18 +8,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 8bb54353..f30d29b2 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 760a377e..45115339 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 eb921b5d..324866e7 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 7fe6fe57..4f6c7ad5 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 9076cd40..0599014c 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 80349365..8e17a506 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 a3f77c14..93bdb680 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' });