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

Hydration #145

Merged
merged 51 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5fe148d
Added DataStore struct to act as an injection point for persistence
ryardley Oct 11, 2024
164c983
Add IntoKey for Datastore
ryardley Oct 14, 2024
209ade0
Tidy up writer API
ryardley Oct 14, 2024
2abe372
Apply Checkpoint API
ryardley Oct 15, 2024
666ae20
Formatting
ryardley Oct 15, 2024
bc47b62
Setup features
ryardley Oct 15, 2024
957267d
Add hydration
ryardley Oct 15, 2024
32ade4e
Tidy up names
ryardley Oct 15, 2024
9fe1ac2
Merge branch 'main' into ry/123-datastore
ryardley Oct 16, 2024
61cf59c
Add Hydration for Sortition
ryardley Oct 16, 2024
a3a5c5f
Add docs
ryardley Oct 16, 2024
915d31b
Update docs
ryardley Oct 16, 2024
e17143f
Formatting
ryardley Oct 16, 2024
0905d13
Update packages/ciphernode/router/src/committee_meta.rs
ryardley Oct 16, 2024
ff8e5f5
Simplify DataStore Api
Oct 18, 2024
c8f31ea
Apply first draft of repositories to data storage
Oct 18, 2024
05e6d14
Setup repositries struct for finding repositories
Oct 18, 2024
ebd953e
Formatting and make constructor public
Oct 18, 2024
a82c528
Enable easy access to repositories
Oct 18, 2024
f4e54a2
Formatting
Oct 18, 2024
89684be
Refactor test case to add new test
Oct 21, 2024
4beebe7
Add test for hydration
Oct 21, 2024
bd79b83
Formatting
Oct 21, 2024
596f8ed
Remove sleeps
Oct 21, 2024
9f0831f
Add option input to data location
Oct 21, 2024
972c767
Add data-location to integration test
Oct 21, 2024
562fdf0
Extract event reader and add shutdown channel
Oct 21, 2024
5bee918
Tidy up shutdown
Oct 21, 2024
2267c40
Tidy up shutdown
Oct 22, 2024
59f5cb7
Tidy up shutdown
Oct 22, 2024
655da02
Formatting
Oct 22, 2024
f7cdeb8
Merge branch 'main' into ry/123-datastore
ryardley Oct 22, 2024
8dadf56
Move clone down the into stack
Oct 22, 2024
5477111
Format
Oct 22, 2024
1372794
Remove comment
Oct 22, 2024
e1c3394
Formatting
Oct 22, 2024
15b414f
Log error
Oct 22, 2024
157423b
Avoid cloning
Oct 22, 2024
c93e962
Add strings as constants
Oct 22, 2024
24881bb
Sort out strings and references
Oct 22, 2024
4344754
Use Cow string as will be utf8
Oct 22, 2024
ba32ea1
Add comment
Oct 22, 2024
492604e
Remove clone
Oct 22, 2024
7b0d975
update docs
Oct 22, 2024
b53845d
Add context to sled db error
Oct 22, 2024
6838955
Remove clone
Oct 22, 2024
fc3518c
Update comments
Oct 22, 2024
e3962e2
Update types
Oct 22, 2024
716a067
Remove unwrap
Oct 22, 2024
612424f
Add comment
Oct 22, 2024
b968cd8
Formatting
Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 123 additions & 13 deletions packages/ciphernode/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/ciphernode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ num = "0.4.3"
rand_chacha = "0.3.1"
rand = "0.8.5"
serde = { version = "1.0.208", features = ["derive"] }
sled = "0.34.7"
sha2 = "0.10.8"
tokio = { version = "1.38", features = ["full"] }
tracing = "0.1.37"
Expand Down
3 changes: 3 additions & 0 deletions packages/ciphernode/aggregator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ edition = "2021"
[dependencies]
actix = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true }
bincode = { workspace = true }
async-trait = { workspace = true }
enclave-core = { path = "../core" }
fhe = { path = "../fhe" }
sortition = { path = "../sortition" }
data = { path = "../data" }
tracing = { workspace = true }
9 changes: 6 additions & 3 deletions packages/ciphernode/aggregator/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
mod plaintext_aggregator;
mod publickey_aggregator;

pub use plaintext_aggregator::*;
pub use publickey_aggregator::*;
pub use plaintext_aggregator::{
PlaintextAggregator, PlaintextAggregatorParams, PlaintextAggregatorState,
};
pub use publickey_aggregator::{
PublicKeyAggregator, PublicKeyAggregatorParams, PublicKeyAggregatorState,
};
Loading
Loading