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
depends_on: [ redis ]
eth-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ]
restart: always
command: treeWatcher
# eth-treeWatcher:
# image: local/tornadocash/relayer/4.14
# profiles: [ 'eth' ]
# restart: always
# command: treeWatcher
# env_file: .env.eth
environment:
NET_ID: 1
REDIS_URL: redis://redis/0
depends_on: [ redis, eth-server ]
# environment:
# NET_ID: 1
# REDIS_URL: redis://redis/0
# depends_on: [ redis, eth-server ]
eth-priceWatcher:
image: local/tornadocash/relayer/4.14
@ -177,17 +177,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ]
@ -238,17 +227,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ]
@ -299,17 +277,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ]
@ -360,17 +327,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ]
@ -421,17 +377,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ]
@ -485,17 +430,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ]
@ -546,17 +480,6 @@ services:
nginx_proxy_read_timeout: 600
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:
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ]

View File

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