Skip to content

Ademan/multi-party-eltoo-with-bounded-settlement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Party Eltoo With Bounded Settlement

This is a fairly naive, probably broken implementation of the scheme described here, churned out in a few free hours late at night.

At the time of writing, it isn't even a full proof of concept, but more of a way to measure the ballpark performance of this scheme. There are multiple improvements that can and should be made, but I'm not sure how far they can take us. The asymptotic performance of the scheme is exponential so either way we'll hit a hard limit pretty quickly, on my computer that seems to be in the low 10s of channel parties.

Run the bench binary (make sure to build with release mode!) to see how long each state update takes to calculate. The maximum latency ought to be under 20ms for recalculating an update. On top of this, network latency, and storage latency will also affect performance.

The code is also downright embarassing in places. There are places where I wrote something that I know I didn't think through all the way, it's likely buggy, but for the purposes of estimating performance it's close enough to correct to be ok. If there's any interest I intend to expand this into a working proof of concept complete with P2P.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages