lnd/graph/db/models
Elle Mouton 2f2845dfc0
refactor+multi: use *lnwire.FeatureVector for ChannelEdgeInfo features
In this commit, we move the serialisation details of a channel's
features to the DB layer and change the `models` field to instead use a
more useful `*lnwire.FeatureVector` type.

This makes the features easier to work with and moves the serialisation
to where it is actually used.
2025-07-01 17:02:07 +02:00
..
cached_edge_info.go graph/db: let GraghCache.AddChannel take CachedEdgeInfo 2025-06-10 20:10:35 +02:00
cached_edge_policy.go graph/db: add CachedEdgePolicy helpers 2025-06-10 20:10:35 +02:00
channel.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
channel_auth_proof.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
channel_edge_info.go refactor+multi: use *lnwire.FeatureVector for ChannelEdgeInfo features 2025-07-01 17:02:07 +02:00
channel_edge_policy.go graph/db: extract InboundFee at deserialisation time 2025-06-09 08:26:33 +02:00
inbound_fee.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
inbound_fee_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
node.go models: create a helper to convert wire NodeAnn to models.LNNode type 2025-02-05 08:20:10 +02:00