long |
Score.channel_penalty_msat(long short_channel_id,
NodeId source,
NodeId target) |
Returns the fee in msats willing to be paid to avoid routing through the given channel
in the direction from `source` to `target`.
|
long |
Score.ScoreInterface.channel_penalty_msat(long short_channel_id,
NodeId source,
NodeId target) |
Returns the fee in msats willing to be paid to avoid routing through the given channel
in the direction from `source` to `target`.
|
static ChannelInfo |
ChannelInfo.of(ChannelFeatures features_arg,
NodeId node_one_arg,
DirectionalChannelInfo one_to_two_arg,
NodeId node_two_arg,
DirectionalChannelInfo two_to_one_arg,
Option_u64Z capacity_sats_arg,
ChannelAnnouncement announcement_message_arg) |
Constructs a new ChannelInfo given each field
|
static Result_NodeIdDecodeErrorZ |
Result_NodeIdDecodeErrorZ.ok(NodeId o) |
Creates a new CResult_NodeIdDecodeErrorZ in the success state.
|
void |
ChannelInfo.set_node_one(NodeId val) |
Source node of the first direction of a channel
|
void |
ChannelInfo.set_node_two(NodeId val) |
Source node of the second direction of a channel
|