long |
Score.channel_penalty_msat(long short_channel_id,
long send_amt_msat,
Option_u64Z channel_capacity_msat,
NodeId source,
NodeId target) |
Returns the fee in msats willing to be paid to avoid routing `send_amt_msat` through the
given channel in the direction from `source` to `target`.
|
long |
Score.ScoreInterface.channel_penalty_msat(long short_channel_id,
long send_amt_msat,
Option_u64Z channel_capacity_msat,
NodeId source,
NodeId target) |
Returns the fee in msats willing to be paid to avoid routing `send_amt_msat` through the
given channel in the direction from `source` to `target`.
|
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
|