Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ Included:
count and value limitations set on channel creation.
* Liquidity checks: HTLCs are only forwarded if the node has sufficient
liquidity in the mocked channel.
* Retries: a failed payment is re-routed up to 5 times, avoiding the
channels that rejected it, before it is reported as failed.

Not included:
* Channel reserve: the required minimum reserve balance is not
Expand Down
4 changes: 3 additions & 1 deletion simln-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,9 @@ pub enum PaymentOutcome {
NotDispatched,
/// The payment was dispatched but its final status could not be determined.
TrackPaymentFailed,
/// The payment failed at the provided index in the path.
/// The payment failed at the provided index in the path. Simulated nodes only report this for payments sent to
/// a specific route, which are not retried; payments that they route themselves report
/// [`PaymentOutcome::RetriesExhausted`] or [`PaymentOutcome::RouteNotFound`] instead.
IndexFailure(usize),
}

Expand Down
Loading
Loading