Struct lightning::routing::scoring::ScorerUsingTime [−][src]
pub struct ScorerUsingTime<T: Time> { /* fields omitted */ }
Expand description
Implementations
Creates a new scorer using the given scoring parameters.
Trait Implementations
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
. Read more
Handles updating channel penalties after failing to route through a channel.
Handles updating channel penalties after successfully routing along a path.
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more