Skip to content

Commit bb77673

Browse files
committed
WiP
1 parent a916919 commit bb77673

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

File renamed without changes.

core/experiments/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ pub mod choreography;
44
pub mod conf;
55
pub mod utils;
66
pub mod zk_utils;
7+
8+
pub mod choreography_gen {
9+
tonic::include_proto!("ddec_choreography");
10+
}

core/service/src/client/js_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! a part of the client code (along with other dependencies)
1616
//! into wasm and then using wasm-pack to generate the JS bindings.
1717
//! Care must be taken when new code is introduced to core/service
18-
//! or core/experiments since wasm does not support every feature
18+
//! or core/threshold-* since wasm does not support every feature
1919
//! that Rust supports. Specifically, for our use-case, we will not
2020
//! try to compile async, multi-threaded or IO code.
2121
//!

core/service/src/client/test_tools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub async fn setup_threshold_no_client<
9797
// use NoiseFloodSmall unless some other DecryptionMode was set as parameter
9898
let decryption_mode = decryption_mode.unwrap_or_default();
9999

100-
// a vector of sender that will trigger shutdown of core/experiments servers
100+
// a vector of sender that will trigger shutdown of the threshold core servers
101101
let mut mpc_shutdown_txs = Vec::new();
102102

103103
for (i, (mpc_listener, _mpc_port), cur_vault) in

core/service/src/engine/threshold/service/kms_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ where
497497
))
498498
})?;
499499
tracing::info!(
500-
"core/experiments on {} shutdown completed successfully",
500+
"Threshold core on {} shutdown completed successfully",
501501
mpc_socket_addr
502502
);
503503
Ok(())

core/threshold-networking/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ mod ggen {
1212
#![allow(clippy::derive_partial_eq_without_eq)]
1313
tonic::include_proto!("ddec_networking");
1414
}
15-
16-
pub mod choreography_gen {
17-
tonic::include_proto!("ddec_choreography");
18-
}

docs/explanations/node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ for operations like decryption, key generation and CRS generation.
88

99
Using the KMS node the Core service will receive and validate a call and then call directly into the Threshold Service software component and ask it to execute the raw MPC protocols needed. This will make it run a specific MPC protocol with the other nodes' Threshold Services. The result will then be returned to the Core Service which will take care of encrypting/signing and any other kind of packaging before return the result to the external gRPC caller.
1010

11-
For more details on the Connector, consult the KMS Core Service [README](../../core/service/README.md) and the Threshold Service [README](../../core/experiments/README.md). For information on how to interact with a running KMS Core (whether local or a remote deployment) consult the Core Client [README](../../core-client/README.md).
11+
For more details consult the KMS Core Service [README](../../core/service/README.md). For information on how to interact with a running KMS Core (whether local or a remote deployment) consult the Core Client [README](../../core-client/README.md).

docs/guides/threshold-benchmark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
Remove the core/experiments reference below when we copy this file to experiments
55
since core/experiments will be at the root.
66
-->
7-
The code under `core/experiments` implements threshold multi-party computation protocols
7+
The code under `core/threshold-*` implements threshold multi-party computation protocols
88
such as threshold key generation, threshold decryption
99
and so on for TFHE, BFV and BGV.
1010
The protocols are designed to be both secure and robust when a fraction
1111
of the parties are malicious.
1212
This page describes how to run the benchmarks in a wide range of configurations on the threshold protocols.
13-
For the rest of this page, we assume the user is working under the `core/experiments` directory.
13+
For the rest of this page, we assume the user is working under the `core/experiments` directory, which implements a testing environment for the MPC protocols.
1414

1515
## Directory overview
1616

0 commit comments

Comments
 (0)