forked from input-output-hk/mithril
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this commit updates the protocol parameters for the mithril protocol …
…demonstration. the parameters modified are the security parameter `m`, the quorum parameter `k`, `phi_f`, the number of parties `nparties`, and the number of messages to be signed `nmessages`. these parameters are now set to the default values of 200, 5, 0.2, 5, and 1 respectively. the changes can be seen in the diff, with lines 9-63 in `main.rs` being updated to adjust the parameters. the new parameters are set with the `clap` macro, and are assigned to the `config` struct. the `config` struct is then used to initialize the `demonstrator` object in `main()` and can be seen in the updated code.
- Loading branch information
Showing
1 changed file
with
43 additions
and
43 deletions.
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