Skip to content

Commit

Permalink
Rename psumcoordd to summonerd
Browse files Browse the repository at this point in the history
Add summonerd files
  • Loading branch information
cronokirby committed Oct 5, 2023
1 parent a088e87 commit b2699f4
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 36 deletions.
58 changes: 29 additions & 29 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ members = [
"crates/test/tct-property-test",
"crates/misc/measure",
"crates/misc/tct-visualize",
"tools/psumcoordd",
"tools/summonerd",
]

# Optimize for small binaries in just the wasm crate.
Expand Down
2 changes: 1 addition & 1 deletion crates/crypto/proof-setup/src/single/phase2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl Hashable for CRSElements {
}

impl CRSElements {
// TODO: Remove this when no longer needed for testing in psumcoordd
// TODO: Remove this when no longer needed for testing in summonerd
pub(crate) fn dummy_root(degree: usize) -> Self {
Self {
raw: RawCRSElements {
Expand Down
2 changes: 1 addition & 1 deletion tools/psumcoordd/Cargo.toml → tools/summonerd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "psumcoordd"
name = "summonerd"
version = "0.60.0"
authors = ["Penumbra Labs <[email protected]>"]
edition = "2021"
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 6 additions & 4 deletions tools/psumcoordd/src/main.rs → tools/summonerd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const MAX_MESSAGE_SIZE: usize = 100 * 1024 * 1024;

#[derive(Debug, Parser)]
#[clap(
name = "psumcoordd",
name = "summonerd",
about = "Penumbra summoning ceremony coordinator",
version = env!("VERGEN_GIT_SEMVER"),
)]
Expand Down Expand Up @@ -56,9 +56,11 @@ impl Opt {
let grpc_server =
Server::builder()
.accept_http1(true)
.add_service(tonic_web::enable(CeremonyCoordinatorServiceServer::new(
service,
).max_encoding_message_size(MAX_MESSAGE_SIZE).max_decoding_message_size(MAX_MESSAGE_SIZE)));
.add_service(tonic_web::enable(
CeremonyCoordinatorServiceServer::new(service)
.max_encoding_message_size(MAX_MESSAGE_SIZE)
.max_decoding_message_size(MAX_MESSAGE_SIZE),
));
tracing::info!(?listen, "starting grpc server");
let server_handle = tokio::spawn(grpc_server.serve(listen));
// TODO: better error reporting
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b2699f4

Please sign in to comment.