decrease minimumBalance & disable treeWatcher by default

This commit is contained in:
gozzy 2023-03-26 11:21:24 +00:00
parent 7d3cb5be49
commit 7d10fe2ab9
2 changed files with 11 additions and 88 deletions

View File

@ -59,16 +59,16 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
eth-treeWatcher: # eth-treeWatcher:
image: local/tornadocash/relayer/4.14 # image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ] # profiles: [ 'eth' ]
restart: always # restart: always
command: treeWatcher # command: treeWatcher
# env_file: .env.eth # env_file: .env.eth
environment: # environment:
NET_ID: 1 # NET_ID: 1
REDIS_URL: redis://redis/0 # REDIS_URL: redis://redis/0
depends_on: [ redis, eth-server ] # depends_on: [ redis, eth-server ]
eth-priceWatcher: eth-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
@ -177,17 +177,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
bnb-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ]
restart: always
command: treeWatcher
# env_file: .env.bnb
environment:
NET_ID: 56
REDIS_URL: redis://redis/1
depends_on: [ redis, bnb-server ]
bnb-priceWatcher: bnb-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ] profiles: [ 'bnb' ]
@ -238,17 +227,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
matic-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ]
restart: always
command: treeWatcher
# env_file: .env.matic
environment:
NET_ID: 137
REDIS_URL: redis://redis/2
depends_on: [ redis, matic-server ]
matic-priceWatcher: matic-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ] profiles: [ 'matic' ]
@ -299,17 +277,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
xdai-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ]
restart: always
command: treeWatcher
# env_file: .env.xdai
environment:
NET_ID: 100
REDIS_URL: redis://redis/3
depends_on: [ redis, xdai-server ]
xdai-priceWatcher: xdai-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ] profiles: [ 'xdai' ]
@ -360,17 +327,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
avax-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ]
restart: always
command: treeWatcher
# env_file: .env.avax
environment:
NET_ID: 43114
REDIS_URL: redis://redis/4
depends_on: [ redis, avax-server ]
avax-priceWatcher: avax-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ] profiles: [ 'avax' ]
@ -421,17 +377,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
op-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ]
restart: always
command: treeWatcher
# env_file: .env.op
environment:
NET_ID: 10
REDIS_URL: redis://redis/5
depends_on: [ redis, op-server ]
op-priceWatcher: op-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'op' ] profiles: [ 'op' ]
@ -485,17 +430,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
arb-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ]
restart: always
command: treeWatcher
# env_file: .env.arb
environment:
NET_ID: 42161
REDIS_URL: redis://redis/6
depends_on: [ redis, arb-server ]
arb-priceWatcher: arb-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ] profiles: [ 'arb' ]
@ -546,17 +480,6 @@ services:
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [ redis ] depends_on: [ redis ]
geth-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ]
restart: always
command: treeWatcher
# env_file: .env.geth
environment:
NET_ID: 5
REDIS_URL: redis://redis/7
depends_on: [ redis, geth-server ]
geth-priceWatcher: geth-priceWatcher:
image: local/tornadocash/relayer/4.14 image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ] profiles: [ 'geth' ]

View File

@ -26,6 +26,6 @@ module.exports = {
[jobType.MINING_REWARD]: 455000, [jobType.MINING_REWARD]: 455000,
[jobType.MINING_WITHDRAW]: 400000, [jobType.MINING_WITHDRAW]: 400000,
}, },
minimumBalance: '1000000000000000000', minimumBalance: '500000000000000000',
baseFeeReserve: Number(process.env.BASE_FEE_RESERVE_PERCENTAGE), baseFeeReserve: Number(process.env.BASE_FEE_RESERVE_PERCENTAGE),
} }