]> git.bitcoin.ninja Git - rust-lightning/commit
Add `outbound` flag to `DirectedChannelInfo`
authorjbesraa <jbesraa@gmail.com>
Tue, 5 Dec 2023 18:56:51 +0000 (20:56 +0200)
committerjbesraa <jbesraa@gmail.com>
Tue, 5 Dec 2023 19:07:44 +0000 (21:07 +0200)
commitec95e589ba250dae16e4a33c72f8f0ef0437ffeb
tree2d26bd5a34ddd4458df7a7896bcd98dcdbcbfb51
parent37150b4d697f723f278b6cf3f63892df272b9aa5
Add `outbound` flag to `DirectedChannelInfo`

  If `outband` flag is set to true then `ChannelInfo::node_one`
  is forwarding a payment to target `ChannelInfo::node_two`.
  If `outband` flag is set to false then `ChannelInfo::node_two`
  is forwarding a payment to target `ChannelInfo::node_one`.
lightning/src/routing/gossip.rs