forked from AleoNet/aleo-setup
-
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.
implemented fetching of setup public settings for contributor, update…
…d tokio to 1.6
- Loading branch information
1 parent
48e84aa
commit 2ca8c58
Showing
12 changed files
with
420 additions
and
65 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[package] | ||
name = "setup1-shared" | ||
version = "0.1.0" | ||
authors = ["The Aleo Team <[email protected]>"] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" |
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,25 @@ | ||
# Shared structures and functions for Aleo setup 1 | ||
|
||
## Description | ||
|
||
There are some data structures which we reuse in coordinator, | ||
contributor and verifier. For example, public settings of a verifier. | ||
This package is a home of such structures. It may as well help | ||
to specify a communication protocol a bit better, for example | ||
which format of message encoding we are using, and to contain | ||
the encode/decode functions for the shared structures. | ||
|
||
## Usage | ||
|
||
Check the doc comments provided by the data structures and helper functions. | ||
Must be used with compatible versions of **serde** and **serde_json**. | ||
|
||
## Error types | ||
|
||
Right now the errors in encode/decode functions are the same as returned | ||
by **serde_json** | ||
|
||
## Workspace and lockfile | ||
|
||
Since it's a library, it doesn't have a lockfile. There's no benefit in including it | ||
in a workspace either, because it is not supposed to be built alone. |
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 @@ | ||
pub mod structures; |
Oops, something went wrong.