electrs: add regtest support

This commit is contained in:
Erik Arvstedt 2020-10-16 17:43:09 +02:00
parent 46efd141a1
commit 6f4715ac2a
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -90,6 +90,7 @@ in {
else
"--jsonrpc-import --index-batch-size=10"
} \
--network=${bitcoind.makeNetworkName "bitcoin" "regtest"} \
--db-dir='${cfg.dataDir}' \
--daemon-dir='${bitcoind.dataDir}' \
--electrum-rpc-addr=${cfg.address}:${toString cfg.port} \