alby-hub/lnclient
Roland 4484046ff7
fix: use async LDK event polling to avoid polling delay (#2494)
Switch from polling node.NextEvent() every second to node.NextEventAsync(),
which parks the goroutine until an event arrives without blocking an OS
thread or an LDK thread, as LDK is migrating to async event handling.

Guard event handling with a mutex held by Shutdown() so in-flight handlers
finish before the node is stopped and destroyed, and drop events that
arrive after shutdown starts (LDK redelivers unhandled events on startup).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 23:14:30 +07:00
..
bark chore: update bark bindings to v0.12.1 (#2477) 2026-07-29 14:25:25 +07:00
cashu chore: remove json tags from lnclient models (#2375) 2026-05-25 20:26:07 +05:30
cln feat: generate CLN invoice preimage ourselves to support sub-wallets (#2412) 2026-06-08 21:20:51 +07:00
ldk fix: use async LDK event polling to avoid polling delay (#2494) 2026-08-04 23:14:30 +07:00
lnd build(deps): bump github.com/lightningnetwork/lnd from 0.20.1-beta to 0.21.0-beta (#2402) 2026-07-27 19:48:54 +07:00
phoenixd chore: remove json tags from lnclient models (#2375) 2026-05-25 20:26:07 +05:30
models.go chore: remove json tags from lnclient models (#2375) 2026-05-25 20:26:07 +05:30