loop/loopd
Boris Nagaev 914a3eeced
loopd: raise minimum lnd version to v0.18.4-beta
LoopMinRequiredLndVersion was 0.17.0, a value that only ever tracked the
go.mod lnd dependency rounded down and was never updated as the client
started depending on newer lnd RPC APIs. The client today uses RPC
fields that do not exist in 0.17.0:

  - routerrpc.SendPaymentRequest.first_hop_custom_records and
    lnrpc.Route.custom_channel_data, used by asset loop outs in
    loopout.go: both added in lnd v0.18.4-beta.
  - walletrpc.EstimateFeeResponse.min_relay_fee_sat_per_kw, read by the
    sweep batcher fee floor via lndclient WalletKit.MinRelayFee
    (sweepbatcher/, loopd/sweep_htlc.go): added in lnd v0.18.3-beta. On
    older lnd it silently decodes to 0, disabling the min-relay floor.

Raise the floor to the highest of these (v0.18.4-beta) so loopd fails
fast at startup rather than misbehaving at runtime, and document in
AGENTS.md the rule to keep this value pinned to the lnd APIs the client
actually uses instead of tracking go.mod.
2026-06-16 01:12:03 -05:00
..
config.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
daemon.go loopd: recover confirmed htlcs with direct sweep 2026-05-29 23:00:29 -05:00
daemon_test.go loopd: test error reporting logic 2025-12-20 06:31:02 +01:00
htlc_confirmed_recovery.go loopd: recover confirmed htlcs with direct sweep 2026-05-29 23:00:29 -05:00
htlc_confirmed_recovery_test.go loopd: recover confirmed htlcs with direct sweep 2026-05-29 23:00:29 -05:00
log.go loopd: add missing debugf logging helper 2026-05-29 23:00:29 -05:00
macaroons.go loopd: move RequiredPermissions to dedicated dir 2022-06-14 15:13:34 +02:00
migration.go loopd: fix data races of logger 2025-03-19 15:00:30 +01:00
register_default.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
run.go loopd: raise minimum lnd version to v0.18.4-beta 2026-06-16 01:12:03 -05:00
swapclient_server.go looprpc: populate static swap timing and costs 2026-06-03 15:33:02 +02:00
swapclient_server_debug.go make fmt 2022-05-20 10:16:47 +02:00
swapclient_server_test.go loopd: test static address swap rpc fields 2026-06-03 13:15:01 -05:00
sweep_htlc.go loopd: prefer stored destination in sweephtlc 2026-05-29 23:00:29 -05:00
sweep_htlc_test.go loopd: prefer stored destination in sweephtlc 2026-05-29 23:00:29 -05:00
utils.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
view.go multi: update linter, fix issues 2025-03-10 22:59:50 +01:00