Skip to content
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

Vdf #466

Merged
merged 5 commits into from
Jul 6, 2022
Merged

Vdf #466

merged 5 commits into from
Jul 6, 2022

Conversation

nicolasochem
Copy link
Collaborator

@nicolasochem nicolasochem commented Jun 30, 2022

Support of the new VDF daemon introduced in Kathmandu.

More context from a dev:

We have written an external daemon which monitors the chain and starts computing VDF results once the nonce revelation period of a cycle is completed. This computation is fairly intense, as in theory it is designed to be slower than the time it takes to add 32 blocks to the chain, even on the highest end machines. We have so far only tested the daemon via tezt (which, among other simplifications, has protocol parameters which are much smaller than the real protocol) so it's crucial we test it in a test network too.
Launching it should just involve launching a baker daemon with a specific command line option, e.g. ./tezos-baker-alpha -E http://127.0.0.1:16385/ run vdf . The baker simply queries the seed_computation RPC, launches a VDF computation when possible and injects the operation (which is not signed) once finished.

This PR adds support. I tried it in isolation in a private chain and it works, it's also deployed as a submod on teztnets kathmandunet right now.

We can consider adding it to mkchain private chains later, but it should only run on one baker.

@nicolasochem nicolasochem marked this pull request as ready for review July 1, 2022 19:28
@nicolasochem nicolasochem merged commit de90a0c into master Jul 6, 2022
@harryttd harryttd deleted the vdf branch August 19, 2022 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants