Make DirectedChannelInfo `source` and `target` public
authorbenthecarman <benthecarman@live.com>
Fri, 2 Feb 2024 14:14:51 +0000 (14:14 +0000)
committerbenthecarman <benthecarman@live.com>
Fri, 2 Feb 2024 14:14:51 +0000 (14:14 +0000)
commita931decbbbc15ca7fdf090393da4e18a91e0be28
tree4d7767092ca44ccbfb5244ad7a2f2f482635cc35
parent5bf58f0d33b13bd3d9f88c4f2021fbd77745274a
Make DirectedChannelInfo `source` and `target` public

We use these params for our HubPreferentialScorer and without these
utility functions then we have to manually do this and calculate which
is the source and which is the target node.
lightning/src/routing/gossip.rs