Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spreading nonce-coins across the network graph #33

Open
michielbdejong opened this issue Apr 24, 2024 · 0 comments
Open

Spreading nonce-coins across the network graph #33

michielbdejong opened this issue Apr 24, 2024 · 0 comments

Comments

@michielbdejong
Copy link
Member

If like in ledgerloops/strategy-pit#24 explicit exchange rates are communicated independently from fees, then it might make sense to decouple them from specific loops. After all, if loops partially overlap then they would share the exchange rate and fee for that overlapping piece.

I don't think this would be more efficient though, since nothing is going to move unless there is a loop, so you might as well trace loops first and then do exchange rate negotiation on this much reduced search space of a specific loop, rather than doing it on the entire graph.

Worth considering though, there might be use cases for this approach in highly connected parts of the network. For instance in a "Manhattan mesh" where each node is connected to a north/south/east/west neighbour, there would be many ways to draw a loop but they overlap a lot so there would be only a limited number of exchange rates to propagate.

@michielbdejong michielbdejong transferred this issue from ledgerloops/strategy-pit May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant