Skip to content

Commit

Permalink
port update from 3000 -> 3010
Browse files Browse the repository at this point in the history
  • Loading branch information
koh-gt committed Jul 25, 2024
1 parent 45ad5f1 commit c774013
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/src/__tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('Mempool Backend Config', () => {

expect(config.ELECTRUM).toStrictEqual({ HOST: '127.0.0.1', PORT: 3306, TLS_ENABLED: true });

expect(config.ESPLORA).toStrictEqual({ REST_API_URL: 'http://127.0.0.1:3000', UNIX_SOCKET_PATH: null, RETRY_UNIX_SOCKET_AFTER: 30000 });
expect(config.ESPLORA).toStrictEqual({ REST_API_URL: 'http://127.0.0.1:3010', UNIX_SOCKET_PATH: null, RETRY_UNIX_SOCKET_AFTER: 30000 });

expect(config.CORE_RPC).toStrictEqual({
HOST: '127.0.0.1',
Expand Down
8 changes: 4 additions & 4 deletions production/install
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ MD5=md5sum

# used for bisq and firewall configuration
BITCOIN_MAINNET_P2P_HOST=127.0.0.1
BITCOIN_MAINNET_P2P_PORT=8333
BITCOIN_MAINNET_P2P_PORT=9574
# used for RPC communication
BITCOIN_MAINNET_RPC_HOST=127.0.0.1
BITCOIN_MAINNET_RPC_PORT=8332
BITCOIN_MAINNET_RPC_PORT=9573
# generate random hex string
BITCOIN_RPC_USER=$(head -150 /dev/urandom | ${MD5} | awk '{print $1}')
BITCOIN_RPC_PASS=$(head -150 /dev/urandom | ${MD5} | awk '{print $1}')
Expand All @@ -96,12 +96,12 @@ ELEMENTS_RPC_PASS=$(head -150 /dev/urandom | ${MD5} | awk '{print $1}')
# set either socket or TCP host/port, not both
#ELECTRS_MAINNET_HTTP_SOCK=/tmp/bitcoin.mainnet.electrs
ELECTRS_MAINNET_HTTP_HOST=127.0.0.1
ELECTRS_MAINNET_HTTP_PORT=3000
ELECTRS_MAINNET_HTTP_PORT=3010

# set either socket or TCP host/port, not both
#ELECTRS_TESTNET_HTTP_SOCK=/tmp/bitcoin.testnet.electrs
ELECTRS_TESTNET_HTTP_HOST=127.0.0.1
ELECTRS_TESTNET_HTTP_PORT=3002
ELECTRS_TESTNET_HTTP_PORT=3011

# set either socket or TCP host/port, not both
#MEMPOOL_MAINNET_HTTP_SOCK=/tmp/bitcoin.mainnet.mempool
Expand Down
4 changes: 2 additions & 2 deletions production/nginx/upstream-esplora.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
upstream esplora-bitcoin-mainnet {
server 127.0.0.1:3000 fail_timeout=10s max_fails=10 weight=99999;
server 127.0.0.1:3010 fail_timeout=10s max_fails=10 weight=99999;
}
upstream esplora-bitcoin-testnet {
server 127.0.0.1:3002 fail_timeout=10s max_fails=10 weight=99999;
server 127.0.0.1:3011 fail_timeout=10s max_fails=10 weight=99999;
}

0 comments on commit c774013

Please sign in to comment.