mirror of
https://github.com/lightninglabs/faraday.git
synced 2026-08-13 12:33:35 +02:00
Add ScidToPeerMap, which materialises a snapshot of every short channel id paired with the pubkey of the channel's remote peer. Forwarding-data sources index events by short channel id, but downstream analyses need to attribute behaviour to the peer, not the channel. The map skips channels whose short channel id is still zero (unconfirmed), so callers see only fully advertised channels. Coverage extends TestStore with a two-channel fixture pinning the join. |
||
|---|---|---|
| .. | ||
| sqlc | ||
| interfaces.go | ||
| migrations.go | ||
| migrations_test.go | ||
| postgres.go | ||
| schemas.go | ||
| sql_migrations.go | ||
| sqlite.go | ||