-
Notifications
You must be signed in to change notification settings - Fork 85
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
Incremental decommit spec #1479
Conversation
Transactions CostsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
Cost of Init Transaction
Cost of Commit TransactionThis is using ada-only outputs for better comparability.
Cost of CollectCom Transaction
Cost of Close Transaction
Cost of Contest Transaction
Cost of Abort TransactionSome variation because of random mixture of still initial and already committed outputs.
Cost of FanOut TransactionInvolves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.
End-To-End Benchmark ResultsThis page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes. Generated at 2024-07-01 14:33:32.135828906 UTC Baseline Scenario
Three local nodes
|
2916e63
to
f71eae5
Compare
d9714b0
to
039eb18
Compare
This is actually what is implemented and this way we can use `n` as a variable name more freely.
This is not needed and v covers for it
This groups several variables now into a single object and reduces number of variables / lines in the pseudocode.
039eb18
to
2c17e21
Compare
Only specification changes for #1057 to get them merged first as described in #1473.
💅 Marked sections red that are about to change with incremental decommits.
💅 Adds
decrementTx
which removes UTxO from the head state to protocol overview, on-chain and off-chain sections.💅 Updates close, contest and fanout steps accordingly.
💅 Uses a "version counting" scheme to distinguish cases where the same snapshot is used to decrement and close the head.
💅 Removes$\mathcal{T}_{\mathsf{all}}$ book-keeping and makes snapshots request full transactions. Adds a note that requesting only transaction ids is possible if all parties keep an index. This simplifies the specification (but departs from a 1:1 mapping to implemented protocol logic in
Hydra.HeadLogic
)💅 (Re-)introduces snapshot objects to group confirmed variables (e.g.$\bar{s}, \bar{v}$ ) which are just kept to refer to them later on in
close
.Figures are not updated