-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add socket comms for Participant demo (#131)
* Add CLI comms to participant demo (#92) * Update Coordinator unit tests after comms changes (#92) * Update integration tests with participant cli comms (#92) * Add socket comms to Participant demo (#92) Remove group signature verification from participant demo * Update participant cli test (#92) * fix redpallas compile issue * Update participant/src/args.rs --------- Co-authored-by: Conrado Gouvea <[email protected]> Co-authored-by: Conrado Gouvea <[email protected]>
- Loading branch information
1 parent
e9269f2
commit 4925183
Showing
24 changed files
with
579 additions
and
178 deletions.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ message-io = "0.18" | |
|
||
[features] | ||
redpallas = [] | ||
sockets = [] | ||
default = [] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#[cfg(all(test, not(feature = "redpallas")))] | ||
mod tests; | ||
|
||
use std::io; | ||
|
||
use clap::Parser; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// mod steps; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use clap::Parser; | ||
|
||
#[derive(Parser, Debug, Default)] | ||
#[command(author, version, about, long_about = None)] | ||
pub struct Args { | ||
/// Public key package to use. Can be a file with a JSON-encoded | ||
/// package, or "-". If the file does not exist or if "-" is specified, | ||
/// then it will be read from standard input. | ||
#[arg(short = 'k', long, default_value = "key-package-1.json")] | ||
pub key_package: String, | ||
|
||
/// IP to bind to, if using online comms | ||
#[arg(short, long, default_value = "0.0.0.0")] | ||
pub ip: String, | ||
|
||
/// Port to bind to, if using online comms | ||
#[arg(short, long, default_value_t = 2744)] | ||
pub port: u16, | ||
} |
Oops, something went wrong.