]> git.bitcoin.ninja Git - rust-lightning/commit
Add `source` and `target` to `DirectedChannelInfo`
authorjbesraa <jbesraa@gmail.com>
Tue, 5 Dec 2023 19:00:56 +0000 (21:00 +0200)
committerjbesraa <jbesraa@gmail.com>
Tue, 5 Dec 2023 19:07:45 +0000 (21:07 +0200)
commit366d68808734bab379072e2a069bd72da51f4421
treeff64ed3e53e4d4ff92caeeb55715a5e927d8f181
parentec95e589ba250dae16e4a33c72f8f0ef0437ffeb
Add `source` and `target` to `DirectedChannelInfo`

  `DirectedChannelInfo::source` return the `node_id`
  of the forwarding hop.
  `DirectedChannelInfo::target` return the `node_id`
  of the destination hop.
lightning/src/routing/gossip.rs