mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 17:55:36 +01:00
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. |
||
---|---|---|
.. | ||
cached_edge_policy.go | ||
channel.go | ||
channel_auth_proof.go | ||
channel_edge_info.go | ||
channel_edge_policy.go | ||
inbound_fee.go | ||
inbound_fee_test.go | ||
node.go |