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

Nakamoto Signer[3.0] - Update the current signer module to signer_v1and create a new signer_v0 module should be created that has an analogous Signer struct #4777

Closed
3 tasks done
saralab opened this issue May 10, 2024 · 0 comments

Comments

@saralab
Copy link
Contributor

saralab commented May 10, 2024

stacks-signer

The signer module should become signer_v1. A new signer_v0 module should be created that has an analogous Signer struct. This Signer struct’s main point of entry should be process_event, much like the current Signer struct. It will need to handle MinerMessages, BlockValidationResponse, StatusCheck, and NewBurnBlock.

With the first version, to get to parity with signer_v1, signer_v0::Signer only needs to read miner messages for block proposals, submit the proposal to the validation endpoint, and broadcast a signature over StackerDB.

This will require some refactoring of the message code in libsigner (to support the new “block signature” message), as well as a routine for performing the signature (this should be roughly identical to the code the miner uses to sign a block).

Tasks

  1. 3.0 3.0-Signer 3.0-must nakamoto
    jferrant
  2. 3.0 3.0-Signer 3.0-must nakamoto
    jferrant
  3. 3.0 3.0-Signer 3.0-must nakamoto
    jferrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Status: ✅ Done
Development

No branches or pull requests

3 participants