Skip to content

Commit

Permalink
Print validator public key on shard start-up. (#3218) (#3239)
Browse files Browse the repository at this point in the history
Cherry-picking  e919d05 to print the validator public-key on startup.
  • Loading branch information
christos-h authored Feb 4, 2025
1 parent ec049d2 commit 612f0d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linera-service/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ impl ServerContext {
{
let shard = self.server_config.internal_network.shard(shard_id);
info!("Shard booted on {}", shard.host);
info!("Public key: {}", self.server_config.key.public());
let state = WorkerState::new(
format!("Shard {} @ {}:{}", shard_id, local_ip_addr, shard.port),
Some(self.server_config.key.copy()),
Expand Down

0 comments on commit 612f0d3

Please sign in to comment.