-
Notifications
You must be signed in to change notification settings - Fork 88
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
Provide a simple program to inject arbitrary messages in the Hydra network #1006
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 2023-08-07 17:31:56.217725976 UTC 3-nodes ScenarioA rather typical setup, with 3 nodes forming a Hydra head.
Baseline ScenarioThis scenario represents a minimal case and as such is a good baseline against which to assess the overhead introduced by more complex setups. There is a single hydra-node d with a single client submitting single input and single output transactions with a constant UTxO set of 1.
|
demo/docker-compose.yaml
Outdated
# NOTE: Make sure to use the same image in ./seed-devnet.sh | ||
image: ghcr.io/input-output-hk/hydra-node:0.11.0 | ||
# NOTE: Make sure to use the same image in ./seed-devnet.sh | ||
image: ghcr.io/input-output-hk/hydra-node:unstable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would overwrite these hydra-node versions upon each release. I guess you needed to use the latest on master for the demo and also it should be ok to keep it as is here since 0.12 will update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BAM!
This reverts commit 7f415e8.
Otherwise it does not get deserialised at the other end
We don't import much from it anymore as the amount of reuse is not so large and it amounts to boilerplate machinery from the Ouroboros framework.
9949ddf
to
b5d8c34
Compare
c48d740
to
9c735e1
Compare
This is showing a less "cryptic" error and can still be located easily in the code base.
This will improve help messages on the command line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was already a great PR. Improved the help messages myself a bit and definitely can approve this.
Could run the executable against the demo setup, but obviously |
Merging this in spite of https://github.com/input-output-hk/hydra/actions/runs/5788084058/job/15686670468#step:4:131 as this is unrelated. |
This PR is the outcome of my experiments implementing a network injector to "attack" a Hydra cluster and DoS a Head which lead to catastrophic demo on July 27th. It provides a
hydra-net
executable that can connect to any node and injectReqSn
messages. Of course, because the message is now signed it does not lead to the Head being stalled anymore, unless the signing key of one of the Hydra head participants are compromised.