Skip to content

Commit

Permalink
Merge pull request #1 from BoltzExchange/electrs
Browse files Browse the repository at this point in the history
Esplora chain backend
  • Loading branch information
michael1011 authored Jun 28, 2024
2 parents a72827f + 6d9c12d commit c33b828
Show file tree
Hide file tree
Showing 13 changed files with 818 additions and 402 deletions.
18 changes: 17 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,29 @@ SWEEP_TIME=120
SWEEP_INTERVAL=30

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

# Rest API configuration
API_HOST=127.0.0.1
API_PORT=1234

# Chain backend to use
# Options:
# - elements
# - esplora
CHAIN_BACKEND=esplora

# Configuration of the Elements daemon to connect to
ELEMENTS_HOST=127.0.0.1
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/liquid/api

# Poll interval for new blocks in seconds
ESPLORA_POLL_INTERVAL=10

# Max reqs/second for the Esplora endpoint; useful when hitting rate limits
# Set to 0 to disable
ESPLORA_MAX_REQUESTS_PER_SECOND=5
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
on: [ push, pull_request ]

env:
CARGO_TERM_COLOR: always
Expand Down
Loading

0 comments on commit c33b828

Please sign in to comment.