Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3247 +/- ##
==========================================
+ Coverage 88.40% 88.44% +0.03%
==========================================
Files 218 220 +2
Lines 20603 21001 +398
Branches 810 832 +22
==========================================
+ Hits 18214 18574 +360
- Misses 2389 2427 +38
🚀 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): |
c352d44 to
1978d8b
Compare
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
This can be useful to iterate without restarting the node.
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.