Skip to content

Commit

Permalink
chore: move logging config to .env
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Jun 30, 2024
1 parent 81066fd commit 6550127
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

8 changes: 5 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
RUST_LOG=trace,hyper=info,tracing=info,reqwest=info

# The database that should be used
DATABASE_URL=sqlite://./db.sqlite

Expand All @@ -8,7 +10,7 @@ SWEEP_TIME=120
SWEEP_INTERVAL=30

# Possible values: mainnet, testnet, regtest
NETWORK=testnet
NETWORK=mainnet

# Rest API configuration
API_HOST=127.0.0.1
Expand All @@ -26,7 +28,7 @@ ELEMENTS_PORT=18884
ELEMENTS_COOKIE=/home/michael/Git/TypeScript/boltz-backend/docker/regtest/data/core/cookies/.elements-cookie

# Configuration of the Esplora backend
ESPLORA_ENDPOINT=https://blockstream.info/liquidtestnet/api/
ESPLORA_ENDPOINT=https://blockstream.info/liquid/api

# Poll interval for new blocks in seconds
ESPLORA_POLL_INTERVAL=10
Expand All @@ -37,4 +39,4 @@ ESPLORA_MAX_REQUESTS_PER_SECOND=4

# Used in combination with the Esplora backend to broadcast lowball transactions
# Set to empty string to disable
BOLTZ_ENDPOINT=https://api.testnet.boltz.exchange/v2
BOLTZ_ENDPOINT=https://api.boltz.exchange/v2

0 comments on commit 6550127

Please sign in to comment.