mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-17 13:06:14 +02:00
Add a gossip version parameter to MarkEdgeLive throughout the stack: - Store interface and KVStore/SQLStore implementations now take lnwire.GossipVersion; KVStore rejects non-v1 with ErrVersionNotSupportedForKVDB, SQLStore uses the version in the DeleteZombieChannel query and cache invalidation. - ChannelGraph.MarkEdgeLive passes the version through to both the store call and the FetchChanInfos cache repopulation. - FilterKnownChanIDs uses GossipVersion1 explicitly for its internal MarkEdgeLive call; this site will be properly versioned when FilterKnownChanIDs itself is versioned. - graph.ChannelGraphSource interface and Builder.MarkEdgeLive updated accordingly. - Discovery gossiper and test mock updated to pass GossipVersion1 at their (v1-only) call sites. |
||
|---|---|---|
| .. | ||
| db | ||
| testdata | ||
| builder.go | ||
| builder_test.go | ||
| errors.go | ||
| interfaces.go | ||
| log.go | ||
| notifications_test.go | ||
| setup_test.go | ||
| stats.go | ||