-
Notifications
You must be signed in to change notification settings - Fork 86
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
Align implementation with HeadV1 protocol specification #452
Labels
red 💣 💥 ⁉️
Very complex, risky or just not well understood feature
💬 feature
A feature on our roadmap
Milestone
Comments
ch1bo
added
💬 feature
A feature on our roadmap
red 💣 💥 ⁉️
Very complex, risky or just not well understood feature
labels
Aug 5, 2022
13 tasks
Marked amber as the list of gaps appears somewhat clearer (and solvable...) |
When running hydra heads we might have discovered another gap / at least an annoyance: #612 |
Marking this 🔴 as the scope of this is very large and there is still substantial work to be done. Ideally, we should split things into smaller marketable features (e.g. safeguarding against one or the other attack) |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
red 💣 💥 ⁉️
Very complex, risky or just not well understood feature
💬 feature
A feature on our roadmap
Why
In the work stream to mature the Hydra Head protocol enough to aim for a mainnet release, we have been running our implementation against a formal model and created an updated specifiction (because the protocol evolved since publishing the peer-reviewed paper).
These prior works will/did highlight gaps in our implementation of the protocol behavior and/or the scripts that should ensure protocol security on the layer 1.
What
This work package is about addressing and closing these first gaps:
How
Create an updated version of transaction traces & publish them to website #639Useful to do this before and after addressing the changes in this feature!Also, we want to make this more visible in our documentation as it helps understand the protocol (e.g. create a page in "core concepts" on the website)Gaps identified so far
Transition security
T_max - T_min < some slots
No need to check quantity, PT distribution when minting tokens #712Protocol logic
Sign network messages / authenticate them to be sure they are from a given Party (Hydra VK)Not send transactions withReqSn
, but only transaction ids (Hashes of transactions)Inline snapshot emission #729
"Detect cheating" if we see a
ReqSn
orAckSn
withs > s_seen + 1
Align HeadLogic: require snapshot not too far in the future #733Prune pending transactions by applicability, not only by id Align HeadLogic: Transaction pruning #740
Actually check the aggregated signature and "detect cheating" if not Align HeadLogic: verify aggregated multi-signature #741
Do not check transactions in
NewTx
Align HeadLogic: Not validate tx on NewTx #745The text was updated successfully, but these errors were encountered: