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.
|
NodeAnnouncement |
RoutingMessageHandler.get_next_node_announcement(NodeId starting_point) |
Gets a node announcement required to dump our routing table to a remote node, starting at
the node *after* the provided pubkey and including up to one announcement immediately
higher (as defined by ` ::cmp`) than `starting_point`.
|
NodeAnnouncement |
RoutingMessageHandler.RoutingMessageHandlerInterface.get_next_node_announcement(NodeId starting_point) |
Gets a node announcement required to dump our routing table to a remote node, starting at
the node *after* the provided pubkey and including up to one announcement immediately
higher (as defined by ` ::cmp`) than `starting_point`.
|
Option_C2Tuple_EightU16sEightU16sZZ |
ProbabilisticScorer.historical_estimated_channel_liquidity_probabilities(long scid,
NodeId target) |
Query the historical 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 |
UnsignedChannelAnnouncement.set_bitcoin_key_1(NodeId val) |
The funding key for the first node
|
void |
UnsignedChannelAnnouncement.set_bitcoin_key_2(NodeId val) |
The funding key for the second node
|
void |
ProbabilisticScorer.set_manual_penalty(NodeId node_id,
long penalty) |
Sets a manual penalty for the given node.
|
void |
UnsignedNodeAnnouncement.set_node_id(NodeId val) |
The `node_id` this announcement originated from (don't rebroadcast the `node_announcement` back
to this node).
|
void |
UnsignedChannelAnnouncement.set_node_id_1(NodeId val) |
One of the two `node_id`s which are endpoints of this channel
|
void |
UnsignedChannelAnnouncement.set_node_id_2(NodeId val) |
The other of the two `node_id`s which are endpoints of this channel
|
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
|
Option_u64Z |
InFlightHtlcs.used_liquidity_msat(NodeId source,
NodeId target,
long channel_scid) |
Returns liquidity in msat given the public key of the HTLC source, target, and short channel
id.
|