Merge pull request #6815 from bitromortac/2205-bimodal
pathfinding: probability for bimodal distribution
This commit is contained in:
25 files changed
+3237
-963
No files matched your search
+35
-16
@@ -1105,21 +1105,23 @@ litecoin.node=ltcd
|
||||
|
||||
[routerrpc]
|
||||
|
||||
; Probability estimator used for pathfinding. (default: apriori)
|
||||
; routerrpc.estimator=[apriori|bimodal]
|
||||
|
||||
; Minimum required route success probability to attempt the payment (default:
|
||||
; 0.01)
|
||||
; routerrpc.minrtprob=1
|
||||
|
||||
; Assumed success probability of a hop in a route when no other information is
|
||||
; available. (default: 0.6)
|
||||
; routerrpc.apriorihopprob=0.2
|
||||
; The maximum number of payment results that are held on disk by mission control
|
||||
; (default: 1000)
|
||||
; routerrpc.maxmchistory=900
|
||||
|
||||
; Weight of the a priori probability in success probability estimation. Valid
|
||||
; values are in [0, 1]. (default: 0.5)
|
||||
; routerrpc.aprioriweight=0.3
|
||||
; The time interval with which the MC store state is flushed to the database
|
||||
; (default: 1s)
|
||||
; routerrpc.mcflushinterval=1m
|
||||
|
||||
; Defines the duration after which a penalized node or channel is back at 50%
|
||||
; probability (default: 1h0m0s)
|
||||
; routerrpc.penaltyhalflife=2h
|
||||
; Path to the router macaroon
|
||||
; routerrpc.routermacaroonpath=~/.lnd/data/chain/bitcoin/simnet/router.macaroon
|
||||
|
||||
; The (virtual) fixed cost in sats of a failed payment attempt (default: 100)
|
||||
; routerrpc.attemptcost=90
|
||||
@@ -1128,15 +1130,32 @@ litecoin.node=ltcd
|
||||
; attempt (default: 1000)
|
||||
; routerrpc.attemptcostppm=900
|
||||
|
||||
; The maximum number of payment results that are held on disk by mission control
|
||||
; (default: 1000)
|
||||
; routerrpc.maxmchistory=900
|
||||
; Assumed success probability of a hop in a route when no other information is
|
||||
; available. (default: 0.6)
|
||||
; routerrpc.apriori.hopprob=0.2
|
||||
|
||||
; The time interval with which the MC store state is flushed to the DB.
|
||||
; routerrpc.mcflushinterval=1m
|
||||
; Weight of the a priori probability in success probability estimation. Valid
|
||||
; values are in [0, 1]. (default: 0.5)
|
||||
; routerrpc.apriori.weight=0.3
|
||||
|
||||
; Path to the router macaroon
|
||||
; routerrpc.routermacaroonpath=~/.lnd/data/chain/bitcoin/simnet/router.macaroon
|
||||
; Defines the duration after which a penalized node or channel is back at 50%
|
||||
; probability (default: 1h0m0s)
|
||||
; routerrpc.apriori.penaltyhalflife=2h
|
||||
|
||||
; Describes the scale over which channels still have some liquidity left on
|
||||
; both channel ends. A very low value (compared to typical channel capacities)
|
||||
; means that we assume unbalanced channels, a very high value means randomly
|
||||
; balanced channels. Value in msat. (default: 300000000)
|
||||
; routerrpc.bimodal.scale=1000000000
|
||||
|
||||
; Defines how strongly non-routed channels of forwarders should be taken into
|
||||
; account for probability estimation. A weight of zero disables this feature.
|
||||
; Valid values are in [0, 1]. (default: 0.2)
|
||||
; routerrpc.bimodal.nodeweight=0.3
|
||||
|
||||
; Defines the information decay of knowledge about previous successes and
|
||||
; failures in channels. (default: 168h0m0s)
|
||||
; routerrpc.bimodal.decaytime=72h
|
||||
|
||||
|
||||
[workers]
|
||||
|
||||
Reference in new issue
Block a user