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

Implement node bls #16

Open
wants to merge 11 commits into
base: development
Choose a base branch
from

Conversation

kafeikui
Copy link
Contributor

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

@kafeikui kafeikui self-assigned this May 19, 2022
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.

1 participant