Skip to content

Conversation

@mattfoley8
Copy link
Contributor

No description provided.

@mattfoley8 mattfoley8 requested a review from lazynina May 15, 2023 16:19
@mattfoley8 mattfoley8 self-assigned this May 15, 2023
@mattfoley8 mattfoley8 requested a review from a team as a code owner May 15, 2023 16:19
lib/db_utils.go Outdated

// NEXT_TAG: 84
// PrefixCurrentRandomSeedHash: Retrieve the current RandomSeedHash.
// Prefix -> RandomSeedHash.
Copy link
Member

@diamondhands0 diamondhands0 May 29, 2023

Choose a reason for hiding this comment

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

Include the type like this:

Prefix -> <RandomSeedHash [32]byte>

// UTXO VIEW UTILS
//

func (bav *UtxoView) GenerateRandomSeedSignature(signerPrivateKey *bls.PrivateKey) (*bls.Signature, error) {
Copy link
Member

Choose a reason for hiding this comment

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

Include a lot of comments explaining that this signature will be deterministic etc...

@mattfoley8 mattfoley8 merged commit 605376b into feature/proof-of-stake May 30, 2023
@mattfoley8 mattfoley8 deleted the mf/add-solorand-random-seed branch May 30, 2023 14:50
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.

4 participants