lnd/graph/db/models
Elle Mouton 7853e36488
graph+discovery: calculate funding tx script in gossiper
In preparation for an upcoming commit which will move all channel
funding tx validation to the gossiper, we first move the helper method
which helps build the expected funding transaction script based on the
fields in the channel announcement. We will still want this script later
on in the builder for updating the ChainView though, and so we pass this
field along with the ChannelEdgeInfo. With this change, we can remove
the TapscriptRoot field from the ChannelEdgeInfo since the only reason
it was there was so that the builder could reconstruct the full funding
script.
2025-02-12 13:15:54 +02:00
..
cached_edge_policy.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +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 graph+discovery: calculate funding tx script in gossiper 2025-02-12 13:15:54 +02:00
channel_edge_policy.go multi: add debug logs for edge policy flow 2025-01-17 00:17:23 +08: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