wallet: bitcoind support with RPC polling (#254)

* support bitcoind connection

* fix: wallet should be the varibale, not s.wallet

* block cache: up to 2M blocks

* WithBitcoind wait for sync

* WithBitcoind rename

* switch based on the ENV VARs

* Add make targets
This commit is contained in:
Marco Argentieri
2024-08-15 20:02:11 +02:00
committed by GitHub
parent c840aac431
commit 94cd222004
6 changed files with 136 additions and 21 deletions

View File

@@ -76,6 +76,9 @@ func mainAction(_ *cli.Context) error {
UnilateralExitDelay: cfg.UnilateralExitDelay,
EsploraURL: cfg.EsploraURL,
NeutrinoPeer: cfg.NeutrinoPeer,
BitcoindRpcUser: cfg.BitcoindRpcUser,
BitcoindRpcPass: cfg.BitcoindRpcPass,
BitcoindRpcHost: cfg.BitcoindRpcHost,
}
svc, err := grpcservice.NewService(svcConfig, appConfig)
if err != nil {