void |
ProbabilisticScoringFeeParameters.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 |
ProbabilisticScoringFeeParameters.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.
|
void |
InFlightHtlcs.add_inflight_htlc(NodeId source,
NodeId target,
long channel_scid,
long used_msat) |
Adds a known HTLC given the public key of the HTLC source, target, and short channel
id.
|
long |
ScoreLookUp.channel_penalty_msat(long short_channel_id,
NodeId source,
NodeId target,
ChannelUsage usage,
ProbabilisticScoringFeeParameters score_params) |
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 |
ScoreLookUp.ScoreLookUpInterface.channel_penalty_msat(long short_channel_id,
NodeId source,
NodeId target,
ChannelUsage usage,
ProbabilisticScoringFeeParameters score_params) |
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_ThirtyTwoU16sThirtyTwoU16sZZ |
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.
|
Option_f64Z |
ProbabilisticScorer.historical_estimated_payment_success_probability(long scid,
NodeId target,
long amount_msat,
ProbabilisticScoringFeeParameters params) |
Query the probability of payment success sending the given `amount_msat` over the channel
with `scid` towards the given `target` node, based on the historical estimated liquidity
bounds.
|
NodeInfo |
ReadOnlyNetworkGraph.node(NodeId node_id) |
Returns information on a node with the given id.
|
static UnsignedChannelAnnouncement |
UnsignedChannelAnnouncement.of(ChannelFeatures features_arg,
byte[] chain_hash_arg,
long short_channel_id_arg,
NodeId node_id_1_arg,
NodeId node_id_2_arg,
NodeId bitcoin_key_1_arg,
NodeId bitcoin_key_2_arg,
byte[] excess_data_arg) |
Constructs a new UnsignedChannelAnnouncement given each field
|
static Result_NodeIdDecodeErrorZ |
Result_NodeIdDecodeErrorZ.ok(NodeId o) |
Creates a new CResult_NodeIdDecodeErrorZ in the success state.
|
void |
ProbabilisticScoringFeeParameters.remove_banned(NodeId node_id) |
Removes the node with the given `node_id` from the list of nodes to avoid.
|
void |
ProbabilisticScoringFeeParameters.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 |
ProbabilisticScoringFeeParameters.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.
|