Celestia Backpressure and Heuristics #278
l-monninger
started this conversation in
Ideas
Replies: 1 comment
-
So, I'd like to play with this a bit. For me the OOO I was thinking would be:
We may also want to try compress our Celestia blobs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Celestia
Celestia has a finality and block time of 15 seconds. It also has a maximum blob size and a maximum transaction size which will be thrown as different errors, but may have the same upper bound (this needs clarification). Hence you submit multiple blobs in a single API call.
To better handle this backpressure from Celestia, we need to maximally batch block submissions. That is, we thus need to compute (or test with API call rejection) the grouping of blocks that will produce the maximum acceptable Celestia transaction.
Approach
Provisional API
I've created a
grouping_heuristic
API, which can be most easy reviewed here: #277The main utility of this API is to expose a method which runs a loop-until-done generalization that can be run over requests:
Create a
GroupingHeuristic
You can see this in action here:
Beta Was this translation helpful? Give feedback.
All reactions