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

Nokamoto[Block Proposal]: Signer binary must produce TenureChange transaction #3932

Closed
kantai opened this issue Sep 15, 2023 · 2 comments
Closed

Comments

@kantai
Copy link
Member

kantai commented Sep 15, 2023

In addition to signing blocks, in Argon, the stacker signer binary is
responsible for creating TenureChange transactions. These transactions
should be issued whenever the signer's associated stacks-node processes
a new sortition. When a new sortition is processed, the signer should receive
an event, and then sign a new transaction declaring the new Tenure.

The tenure change transaction is composed of:

  • The StacksBlockId of the last block from the previous miner that they processed.
  • The number of blocks produced since the last non-empty sortition
  • A flag to indicate which of the following triggered the tenure change
    • A valid winning block-commit
    • No winning block-commits
    • A “null miner” won the block-commit (in Neon, this won't be an option)
  • The ECDSA public key hash of the next tenure's block-signing key
  • The stacker-signer's signature over the transaction
@kantai kantai added this to the Neon 3.0 milestone Sep 15, 2023
@kantai kantai added argon3.0 and removed neon3.0 labels Nov 3, 2023
@saralab saralab modified the milestones: Neon 3.0, Argon 3.0 Nov 3, 2023
@saralab saralab moved this from Status: 🆕 New to Status: 💻 In Progress in Stacks Core Eng Dec 14, 2023
@saralab saralab changed the title Nokamoto: Signer binary must produce TenureChange transaction Nokamoto[Block Proposal]: Signer binary must produce TenureChange transaction Jan 8, 2024
@saralab
Copy link
Contributor

saralab commented Jan 18, 2024

@soju-drinker Closing this issue. Context:
Miner can produce the tenurechange transaction and the block validation logic must ensure that we cover the edge scenarios

@blockstack-devops
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

5 participants