-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add multi beacon client support #876
Merged
willscott
merged 46 commits into
drand:master
from
Zondax:eze/multibeacon_client_support
Dec 22, 2021
Merged
Changes from 31 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
259d551
Add chainHash to Metadata message
raynaudoe 67ebbcc
Update grpc and http clients to use beaconHash info
raynaudoe e799d67
Update http client endpoints for multibeacon
raynaudoe d8783f7
Adapt server to handle multiple beacons
raynaudoe 21d4107
mod tidy
raynaudoe 8a06f53
Apply lint fixes
raynaudoe a8b1a6a
Fix creating drand handler
raynaudoe 84e4cbe
Fix endpoints urls
raynaudoe 2627f79
Relay - Create beacon handler for beacon hash
raynaudoe 7c2707f
Several logic fixes
raynaudoe c59248c
Fix tests
raynaudoe dbc6cdf
Fix linter issue
raynaudoe 5af35db
apply go mod tidy
emmanuelm41 2d4f223
apply some lint and test fixes
emmanuelm41 f57188d
fix url generation on info request on client side
emmanuelm41 80031a1
fix get url for get op on http server
emmanuelm41 317b7ef
add default beacon's chain hash to mock server
emmanuelm41 4fe73ec
Add log info
raynaudoe 9db8a1c
Fix endpoint url
raynaudoe 85cb12b
Minor fix
raynaudoe b1acc65
Create BeaconHandlers when initiating a beacon process or when dkg fi…
raynaudoe ca08b7c
Do not load beacon when instantiating beacon process
raynaudoe bdc23a6
set beacon handler for the default beacon process
emmanuelm41 2a86990
Merge pull request #38 from Zondax/default-chainhash
raynaudoe c280c14
fix loading beacon process
emmanuelm41 c78bd37
Merge pull request #39 from Zondax/multi-beacon-fix
raynaudoe 7d0d18f
change loopback ip for test nodes
emmanuelm41 97953b5
Add multibeacon support to relay
raynaudoe a6bbfd4
Fix parsing hash related flags
raynaudoe d484c7c
Fix flag name
raynaudoe ec15702
Fix linter errors
raynaudoe 11954ac
add log for error on tests
emmanuelm41 7afebdd
try to fix error on test
emmanuelm41 4137837
apply some fixes and improvements
emmanuelm41 d8385c0
add some comments and rename some functions
emmanuelm41 57089cc
Fix test attempt
raynaudoe 89c4b16
Increase test timeout
raynaudoe 308730e
add beacon handler for http server through dkg callback
emmanuelm41 17ce485
update http handler logic to unify some things
emmanuelm41 3cb0fcb
apply some lint fixes and lock/unlock over beacon slice
emmanuelm41 49acdce
Unify required modules
raynaudoe 4b98b74
Minor fix
raynaudoe 1953ef1
Use RMutex on getBeaconHandler
raynaudoe 958dd1e
apply go mod tidy
emmanuelm41 a161ce6
Integration test fix attempt
raynaudoe 1463472
Retry curl if an empty response is received
raynaudoe 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
This file contains 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 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 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 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 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this in a separate import block and not next to
protobuf/drand
below?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed