void |
ProbabilisticScorer.add_banned(NodeId node_id) |
Marks the node with the given `node_id` as banned, i.e.,
it will be avoided during path finding.
|
void |
ProbabilisticScoringParameters.add_banned_from_list(NodeId[] node_ids) |
Marks all nodes in the given list as banned, i.e.,
they will be avoided during path finding.
|
long |
Score.channel_penalty_msat(long short_channel_id,
NodeId source,
NodeId target,
ChannelUsage usage) |
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,
NodeId source,
NodeId target,
ChannelUsage usage) |
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`.
|
Option_C2Tuple_u64u64ZZ |
ProbabilisticScorer.estimated_channel_liquidity_range(long scid,
NodeId target) |
Query the estimated minimum and maximum liquidity available for sending a payment over the
channel with `scid` towards the given `target` node.
|
NodeInfo |
ReadOnlyNetworkGraph.node(NodeId node_id) |
Returns information on a node with the given id.
|
static Result_NodeIdDecodeErrorZ |
Result_NodeIdDecodeErrorZ.ok(NodeId o) |
Creates a new CResult_NodeIdDecodeErrorZ in the success state.
|
void |
ProbabilisticScorer.remove_banned(NodeId node_id) |
Removes the node with the given `node_id` from the list of nodes to avoid.
|
void |
ProbabilisticScorer.remove_manual_penalty(NodeId node_id) |
Removes the node with the given `node_id` from the list of manual penalties.
|
void |
ProbabilisticScorer.set_manual_penalty(NodeId node_id,
long penalty) |
Sets a manual penalty for the given node.
|
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
|