Skip to content

Conversation

@kantai
Copy link
Contributor

@kantai kantai commented Nov 11, 2020

Description

Fix #1934 by mixing the burn block height into the microblock private key rotation. When attempting RBF, don't rotate the private key (this is just to make testing more deterministic).

Type of Change

Bug fix

Does this introduce a breaking change?

No

Are documentation updates required?

No

Testing information

These changes are covered in existing tests, and required updating two tests' "find_microblock_key" logic.

@kantai kantai self-assigned this Nov 11, 2020
@kantai kantai requested review from jcnelson and lgalabru November 11, 2020 16:53
Copy link
Member

@jcnelson jcnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can you test it on the testnet before merging?

@kantai
Copy link
Contributor Author

kantai commented Nov 11, 2020

Yep -- tested this on testnet, and my miner successfully mined a handful of blocks

@kantai kantai merged commit 151e06e into master Nov 11, 2020
@kantai kantai deleted the fix/1934 branch November 11, 2020 18:36
@blockstack-devops
Copy link
Contributor

This pull request 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 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Miner: don't re-use microblock public key hashes when starting up for the 2nd time with the same seed

4 participants