Skip to content

Feature Request: Report pathfinding outcomes to scorer in SimNode #279

Open
@carlaKC

Description

@carlaKC

Describe desired feature

While we have one scorer per node in SimNode, we're not actually reporting outcomes to the scorer once the payment has resolved. This should be done by importing the ScorerUpdate trait and reporting payment success/failure once we're done tracking the payment.

This will require that we:

  1. Store the path that payments used so that we can report them (probably in SimNode.in_flight?)
  2. Return the failing index from propagate_payment so that we can successfully report the failing channel

Use case for feature

This makes pathfinding (more) realistic.

Would you like to contribute code for this feature?

Happy to write code or review.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions