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

feat(ADR-024): Enable BTC-timestamping public randomness #20

Closed
wants to merge 2 commits into from

Conversation

gitferry
Copy link
Member

@gitferry gitferry commented Aug 14, 2024

This PR collects sub-PRs to close #8 and complete the whole feature defined in ADR-024

TODOs

@gitferry gitferry force-pushed the feat/adr-024-btc-timestamping branch from 1844990 to 9a187be Compare August 19, 2024 02:27
@KonradStaniec KonradStaniec added consensus breaking change modifies `appHash` of the application api breaking breaks grpc api in non-compatible way labels Aug 19, 2024
@gitferry gitferry force-pushed the feat/adr-024-btc-timestamping branch from 9a187be to 8888027 Compare August 20, 2024 10:17
…ed pub rand (#23)

This closes the second part of #8. In particular, this PR:
* Implemented `HasTimestampedPubRand` in the finality keeper to check
whether a pub rand at a given height is BTC-timestamped
* Added expected finality keeper to btcstaking keeper so that
`HasTimestampedPubRand` can be called within the module
* When signing voting power to fps in `btcstaking`'s begin blocker, if
the fp does not have timestamped pub rand, voting power will not be
assigned

Note that this PR introduced circular dependency between the btc staking
module and finality module, which should be addressed by moving the
voting power table to the finality module, tracked by issue #24
@KonradStaniec KonradStaniec deleted the branch dev August 27, 2024 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api breaking breaks grpc api in non-compatible way consensus breaking change modifies `appHash` of the application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BTC-timestamping public randomness
2 participants