We use heuristics to calculate the weight of an edge based on channel age, cltv delta and capacity. We favor older channels, with bigger capacity and small cltv delta
Record Field | Description |
Full Usage:
AgeFactor
Field type: double
|
|
Full Usage:
CLTVDeltaFactor
Field type: double
|
|
Full Usage:
CapacityFactor
Field type: double
|
|
Static member | Description |
Full Usage:
WeightRatios.TryCreate(cltvDeltaFactor, ageFactor, capacityFactor)
Parameters:
double
ageFactor : double
capacityFactor : double
Returns: Result<WeightRatios, string>
|
|