Skip to content

Commit

Permalink
Merge pull request #782 from wAISw/MINT-1784-Unknown-error-during-BTC…
Browse files Browse the repository at this point in the history
…-Send-transaction-on-production-server

MINT-1784 Unknown error during BTC Send transaction on production server
  • Loading branch information
wAISw committed Aug 31, 2018
1 parent 924a963 commit e4c0b1b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chronobank/mint",
"version": "0.9.6",
"version": "0.9.7",
"description": "Control panel for ChronoBank",
"private": true,
"author": "chronobank",
Expand Down
16 changes: 8 additions & 8 deletions packages/login/network/BitcoinNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const BTC_MAINNET_NODE = new BitcoinMiddlewareNode({
feeRate: 200,
api: axios.create({
baseURL: 'https://middleware-bitcoin-mainnet-rest.chronobank.io',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'https://rabbitmq-webstomp.chronobank.io/stomp',
Expand All @@ -30,7 +30,7 @@ export const BTC_TESTNET_NODE = new BitcoinMiddlewareNode({
feeRate: 200,
api: axios.create({
baseURL: 'https://middleware-bitcoin-testnet-rest.chronobank.io',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'https://rabbitmq-webstomp.chronobank.io/stomp',
Expand All @@ -47,31 +47,31 @@ export const BTC_TESTNET_NODE = new BitcoinMiddlewareNode({
const BCC_MAINNET_NODE = new BitcoinBlockexplorerNode({
api: axios.create({
baseURL: 'https://bitcoincash.blockexplorer.com/api',
timeout: 4000,
timeout: 10000,
}),
trace: false,
})

const BCC_TESTNET_NODE = new BitcoinBlockexplorerNode({
api: axios.create({
baseURL: 'https://tbcc.blockdozer.com/insight-api',
timeout: 4000,
timeout: 10000,
}),
trace: true,
})

const BTG_MAINNET_NODE = new BitcoinBlockexplorerNode({
api: axios.create({
baseURL: 'https://explorer.bitcoingold.org/insight-api',
timeout: 4000,
timeout: 10000,
}),
trace: false,
})

const BTG_TESTNET_NODE = new BitcoinBlockexplorerNode({
api: axios.create({
baseURL: 'https://test-explorer.bitcoingold.org/insight-api',
timeout: 4000,
timeout: 10000,
}),
trace: false,
})
Expand All @@ -80,7 +80,7 @@ export const LTC_MAINNET_NODE = new BitcoinMiddlewareNode({
feeRate: 900,
api: axios.create({
baseURL: 'https://middleware-litecoin-mainnet-rest.chronobank.io',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'https://rabbitmq-webstomp.chronobank.io/stomp',
Expand All @@ -98,7 +98,7 @@ export const LTC_TESTNET_NODE = new BitcoinMiddlewareNode({
feeRate: 900,
api: axios.create({
baseURL: 'https://middleware-litecoin-testnet-rest.chronobank.io',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'https://rabbitmq-webstomp.chronobank.io/stomp',
Expand Down
12 changes: 6 additions & 6 deletions packages/login/network/EthereumNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import EthereumMiddlewareNode from './EthereumMiddlewareNode'
const ETHEREUM_TESTNET_NODE = new EthereumMiddlewareNode({
api: axios.create({
baseURL: 'https://middleware-ethereum-testnet-rest.chronobank.io',
timeout: 4000,
timeout: 10000,
}),
twoFA: axios.create({
baseURL: 'https://middleware-ethereum-testnet-rest.chronobank.io/2fa',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'https://rabbitmq-webstomp.chronobank.io/stomp',
Expand All @@ -33,11 +33,11 @@ const ETHEREUM_TESTNET_NODE = new EthereumMiddlewareNode({
const ETHEREUM_MAINNET_NODE = new EthereumMiddlewareNode({
api: axios.create({
baseURL: 'https://middleware-ethereum-mainnet-rest.chronobank.io',
timeout: 4000,
timeout: 10000,
}),
twoFA: axios.create({
baseURL: 'https://middleware-ethereum-mainnet-rest.chronobank.io/2fa',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'https://rabbitmq-webstomp.chronobank.io/stomp',
Expand All @@ -54,11 +54,11 @@ const ETHEREUM_MAINNET_NODE = new EthereumMiddlewareNode({
const ETHEREUM_TESTRPC_NODE = new EthereumMiddlewareNode({
api: axios.create({
baseURL: 'http://localhost:8083',
timeout: 4000,
timeout: 10000,
}),
twoFA: axios.create({
baseURL: 'http://localhost:8081',
timeout: 4000,
timeout: 10000,
}),
socket: {
baseURL: 'http://localhost:15674/stomp',
Expand Down

0 comments on commit e4c0b1b

Please sign in to comment.