mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-20 13:27:27 +02:00
Add GetNodesByBlockHeightRange SQL query and wire it into SQLStore.nodeUpdatesInHorizonV2. This mirrors the existing v1 time-based query but filters on (version, block_height) instead of last_update, using the same [start, end) exclusive-end semantics and (block_height, pub_key) compound cursor pagination. The public-node filter for v2 checks for channels with a non-empty channel announcement signature (c.signature), matching the v2 protocol's public channel indicator. |
||
|---|---|---|
| .. | ||
| db | ||
| testdata | ||
| builder.go | ||
| builder_test.go | ||
| errors.go | ||
| interfaces.go | ||
| log.go | ||
| notifications_test.go | ||
| setup_test.go | ||
| stats.go | ||