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.
changes:
feature: add message concatenation for user randomness request
feature: unify member index start from 0
feature: add BLSCore of node to handle BLS process
feature: add BLSTasksQueue and SignatureResultCache
feature: add BLSTaskListener and SignatureAggregationListener
feature: add flow control and abort signal listener for all monitors
feature: add bls rpc proto and implementation
feature: add committer service rpc proto and implementation
feature: share node rpc endpoint during dkg process privately
feature: add some retry as well as fail handling on listeners
feature: add an user client bin to test controller instructions
improvement: refactor StartingGroupingListener and EndGroupingListener
improvement: get rpc endpoint param by command line and caching
improvement: rename and refactor several types and apis
bug fix: fix disorder of participants in coordinator.start()
TODO: task emitting synchronization, don't request too fast for the current demo
How to run dkg-bls demo:(server ip and port can be changed)
controller-server:
$ cargo run --bin controller-server "[::1]:50052"
node-client:
$ cargo run --bin node-client 0x123 "[::1]:50060" "[::1]:50052"
$ cargo run --bin node-client 0x456 "[::1]:50061" "[::1]:50052"
$ cargo run --bin node-client 0x789 "[::1]:50062" "[::1]:50052"
user-client:
$ cargo run --bin user-client 0x111 "[::1]:50052" request
$ cargo run --bin user-client 0x111 "[::1]:50052" last_output