Fix for electrs

This commit is contained in:
Aaron Dewes 2022-02-11 08:41:04 +01:00
parent d094cfdb5d
commit f15e496fcc
2 changed files with 5 additions and 1 deletions

4
scripts/configure vendored
View File

@ -298,6 +298,10 @@ LND_FEE_URL=""
if BITCOIN_NETWORK == 'mainnet' and BITCOIN_NODE == 'neutrino': if BITCOIN_NETWORK == 'mainnet' and BITCOIN_NODE == 'neutrino':
LND_FEE_URL="feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json" LND_FEE_URL="feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json"
BITCOIN_NETWORK_ELECTRS = BITCOIN_NETWORK
if BITCOIN_NETWORK_ELECTRS == "mainnet":
BITCOIN_NETWORK_ELECTRS = "bitcoin"
# Checks if a variable with the name exists, if not, check if an env var with the name existts # Checks if a variable with the name exists, if not, check if an env var with the name existts
# if neither exists, then exit with an error # if neither exists, then exit with an error
def get_var(var_name, other_locals, file_name): def get_var(var_name, other_locals, file_name):

View File

@ -7,7 +7,7 @@
# A few modifications will be kept, including alias, color, channel size limitations and more if you contact us. # A few modifications will be kept, including alias, color, channel size limitations and more if you contact us.
log_filters = "INFO" log_filters = "INFO"
network = "<bitcoin-network>" network = "<bitcoin-network-electrs>"
db_dir = "/data/db" db_dir = "/data/db"
daemon_dir = "/bitcoin" daemon_dir = "/bitcoin"
daemon_rpc_addr = "<bitcoin-ip>:<bitcoin-rpc-port>" daemon_rpc_addr = "<bitcoin-ip>:<bitcoin-rpc-port>"