Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
queries: make sure scids are in order.
I thought LND had a bug, but turns out it doesn't like out-of-order short_channel_ids: in fact, the spec says they have to be in order! This means we use uintmap instead of a htable for unknown_scids and stale_scids so they're nicely ordered. But our nodes-missing-announcements probe is harder since they can also contain duplicates: we switch that to iterate through channels rather than nodes. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information