Skip to content

Commit

Permalink
mempool backend <--> electrum fix (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
SundarGowtham authored May 24, 2024
1 parent 674fb24 commit 35ceb78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions devenv/local/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ services:
- bitcoin
environment:
INIT_BTC_BLOCKS: 101
BTC_BLOCK_GEN_TIME: 2
BTC_BLOCK_GEN_TIME: 10
BITCOIN_RPC_HOST: "bitcoin"
BITCOIN_RPC_PORT: 18443
BTC_RPCPASSWORD: devnet
Expand Down Expand Up @@ -233,8 +233,7 @@ services:
- 8999:8999
environment:
# Connect to electrs host
# MEMPOOL_BACKEND: "electrum"
MEMPOOL_BACKEND: "none"
MEMPOOL_BACKEND: "electrum"
ELECTRUM_HOST: "electrs"
ELECTRUM_PORT: "60401"
ELECTRUM_TLS_ENABLED: "false"
Expand Down
4 changes: 2 additions & 2 deletions devenv/local/docker-compose/electrs/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ echo "bitcoin node is ready"
electrs --network regtest \
--jsonrpc-import \
--cookie "devnet:devnet" \
--http-addr="127.0.0.1:3002" \
--electrum-rpc-addr="127.0.0.1:60401" \
--http-addr="0.0.0.0:3002" \
--electrum-rpc-addr="0.0.0.0:60401" \
--daemon-rpc-addr="$BITCOIN_RPC_HOST:$BITCOIN_RPC_PORT" \
--electrum-txs-limit=2048 \
--utxos-limit=2048 \
Expand Down

0 comments on commit 35ceb78

Please sign in to comment.