ledgerloops / jerboa

A state-driven Ledger Loops node in TypeScript. Successor of strategies in https://github.com/ledgerloops/strategy-pit
Apache License 2.0
1 stars 0 forks source link

Show best pair for each node #5

Closed michielbdejong closed 2 months ago

michielbdejong commented 2 months ago

For each ledger, find the highest and lowest balance account that is not the self-account.

michielbdejong commented 2 months ago

For the first 10k transfers, best pairs shows:

Node 3 has best pair with node 7921 (-5) and 6 (100)
Node 4 has best pair with node 7978 (-100) and 7672 (2000)

So I think what we learned is that most nodes don't have at least one incoming and one outgoing balance, and the ones that do are not connected with each other.

So we'll have to see which other neighbours these best pair nodes have, and whether there's actually a directed cycle!