MrNaif2018
aafa74ed08
Improve _mythread checks ( #7403 )
...
* Improve _mythread checks
* Create get_running_loop util
4 years ago
SomberNight
52be6a5453
lnrater: use network.asyncio_loop instead of asyncio.get_event_loop()
...
fixes #5376
5 years ago
ThomasV
cd4df2fd85
detect conflicting channel backups, add warning before channel creation
5 years ago
SomberNight
a509573ea0
lnrater: don't suggest nodes we have a channel backup with
...
We don't want to connect to nodes we already have a channel with on another device.
5 years ago
gruve-p
9609a60ab6
Rename excluce to exclude ( #7121 )
5 years ago
SomberNight
691ebaf4f8
lnworker/lnpeer: add some type hints, force some kwargs
5 years ago
ThomasV
880353287d
lnrater: fix #6764
5 years ago
bitromortac
5a72df2bb4
lnrater: suggest nodes compatible with our LN features
5 years ago
bitromortac
793f2569a7
lnrater: fix KeyError for unknown node
5 years ago
Jin Eguchi
eaacecf4a1
Fix get_running_loop (python<3.7) ( #6765 )
5 years ago
bitromortac
96c9a483d0
lnrater: follow-up
...
Add comment on node score and return copies of channel db dicts.
5 years ago
SomberNight
df6dc8fcf2
fix python 3.6 compat
...
fix #6725
follow-up #6705
5 years ago
bitromortac
cc9e19409f
lnrater: module for node rating
...
Introduces LNRater, which analyzes the Lightning Network graph for
potential nodes to connect to by taking into account channel capacities,
channel open times and fee policies. A score is constructed to assign a
scalar to each node, which is then used to perform a weighted random
sampling of the nodes.
5 years ago