mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-15 12:50:15 +02:00
Add ChanEdgePolicyFromWire to construct ChannelEdgePolicy from channel update messages, centralizing v1/v2 field mapping. Update call sites to use the helper: - discovery/gossiper: handleChanUpdate - graph/builder: ApplyChannelUpdate - routing/router_test: ApplyChannelUpdate test helper This consolidates update-to-policy conversion logic across versions. |
||
|---|---|---|
| .. | ||
| cached_edge_info.go | ||
| cached_edge_policy.go | ||
| channel.go | ||
| channel_auth_proof.go | ||
| channel_edge_info.go | ||
| channel_edge_info_test.go | ||
| channel_edge_policy.go | ||
| inbound_fee.go | ||
| inbound_fee_test.go | ||
| node.go | ||