Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3247 +/- ##
==========================================
+ Coverage 86.43% 88.00% +1.56%
==========================================
Files 242 219 -23
Lines 22607 20759 -1848
Branches 832 821 -11
==========================================
- Hits 19541 18268 -1273
+ Misses 3066 2491 -575
🚀 New features to boost your workflow:
|
da2f4c6 to
3c8cc56
Compare
pm47
left a comment
There was a problem hiding this comment.
LGTM.
Instead of a detailed review of calculations, I intend to compare the resulting values with my own db requests from the outside. Easier and better I think.
eclair-core/src/main/scala/fr/acinq/eclair/profit/PeerScorer.scala
Outdated
Show resolved
Hide resolved
bbed0e5 to
1f06cf7
Compare
|
Claude has the following very good suggestions to go further (but this should wait for next steps): |
|
When asked how it would have done things differently, it provides some useful directions as well, which I think are worth considering (some of them were already on my todo-list for improvements): |
We create a new set of actors that keep track of payment statistics across our peers and rank them to identify the top profit earners. Based on those statistics, the actors issue recommendations to: - allocate more liquidity towards nodes that are generating revenue and may run out of liquidity in the next few days - reclaim liquidity from inactive channels - change our relay fees to optimize increases or decreases in outgoing flow and volume
Otherwise lines are wrapped, which hurts readability in the terminal.
We improve the funding algorithm by separately selecting peers that are performing well in absolute from peers that are performing well in relative terms, and peers that *probably* performed well in the past but ran out of liquidity.
We create a new set of actors that keep track of payment statistics across our peers and rank them to identify the top profit earners. Based on those statistics, the actors issue recommendations to:
This is disabled by default, and the actors aren't created unless
eclair.confis modified to explicitly enable them.