Skip to content

In-flight amounts get calculated as a part of the per-hop-per-amount penalty when scoring a channel #3271

@TheBlueMatt

Description

@TheBlueMatt

@jkczyz and @wvanlint pointed out that in df52da7 we started applying the in-flight amounts as a part of the per-hop-per-amount penalty which can lead to us strongly avoiding channels that have in-flight funds already. This doesn't make sense as a part of our model, though - the per-hop-per-amount penalty is intended to just provide a per-hop fixed penalty (as there is some per-hop failure probability). It makes sense in the success probability part of our model, though, so we may need to pass the in-flight amount through to the scorer, finally.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions