Files
lnd/sqldb
Elle Mouton 677e6ea89c sqldb: use version-specific staleness checks in UpsertChannelPolicy
Update the UpsertChannelPolicy query to apply different staleness
checks based on gossip version. For v1 policies, continue checking
last_update timestamps. For v2 policies, check block_height instead,
using >= comparison to handle policies from the same block.

The version-specific WHERE clause ensures that policy updates are only
applied when they contain newer information according to the versioning
scheme appropriate for that gossip version.
2026-02-13 07:21:24 +02:00
..
2025-10-21 15:22:45 -03:00
2024-10-26 14:18:00 +02:00
2025-08-14 11:59:09 +02:00
2025-08-14 12:00:40 +02:00
2023-07-27 03:31:12 -07:00
2025-09-05 09:53:59 +02:00