forked from michael.heier/citadel-core
Fix for electrs
This commit is contained in:
parent
d094cfdb5d
commit
f15e496fcc
4
scripts/configure
vendored
4
scripts/configure
vendored
|
@ -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):
|
||||||
|
|
|
@ -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>"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user