This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Babe VRF Signing in keystore #6225
Merged
Merged
Changes from 27 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
6a6b33f
Introduce trait
363bb02
Implement VRFSigner in keystore
45c7582
Use vrf_sign from keystore
4fcf607
Convert output to VRFInOut
3c148b7
Simplify conversion
3ca49f6
vrf_sign secondary slot using keystore
f292623
Fix RPC call to claim_slot
df6063d
Use Public instead of Pair
76bcb2c
Check primary threshold in signer
81e31c5
Fix interface to return error
1d64e56
Move vrf_sign to BareCryptoStore
95a7b93
Merge remote-tracking branch 'upstream/master' into vrf-signing
f62b1d7
Fix authorship_works test
04ec073
Fix BABE logic leaks
6c6f380
Acquire a read lock once
c572d13
Also fix RPC acquiring the read lock once
b5415f6
Merge remote-tracking branch 'upstream/master' into vrf-signing
e4db9bf
Implement a generic way to construct VRF Transcript
b581c6c
Use make_transcript_data to call sr25519_vrf_sign
022b706
Make sure VRFTranscriptData is serializable
0c23a48
Cleanup
c3f17de
Move VRF to it's own module
a691f24
Implement & test VRF signing in testing module
a5821f0
Merge remote-tracking branch 'upstream/master' into vrf-signing
b5322c3
Remove leftover
53bed39
Fix feature requirements
43596d7
Revert removing vec macro
61e3b8d
Drop keystore pointer to prevent deadlock
383bf44
Nitpicks
2508594
Add test to make sure make_transcript works
1fd6936
Fix mismatch in VRF transcript
b45a1ca
Add a test to verify transcripts match in babe
df7dd65
Merge remote-tracking branch 'upstream/master' into vrf-signing
67b1c03
Return VRFOutput and VRFProof from keystore
e46467b
Merge remote-tracking branch 'upstream/master' into vrf-signing
ecd7cf1
Merge remote-tracking branch 'upstream/master' into vrf-signing
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.