Skip to content

Commit

Permalink
the builder was running on the same port as the marshal
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Oct 18, 2024
1 parent 390b109 commit 002c71e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions crates/examples/push-cdn/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,12 @@ async fn main() {
}

// Get the port to use for the marshal
let marshal_port = 9000;
let marshal_endpoint = config
.cdn_marshal_address
.clone()
.expect("CDN marshal address must be specified");

// Configure the marshal
let marshal_endpoint = format!("127.0.0.1:{marshal_port}");
let marshal_config = cdn_marshal::Config {
bind_endpoint: marshal_endpoint.clone(),
discovery_endpoint,
Expand Down
2 changes: 1 addition & 1 deletion crates/examples/push-cdn/broker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async fn main() -> Result<()> {
};

// Create new `Broker`
// Uses TCP from broker connections and Quic for user connections.
// Uses TCP from broker connections and TCP+TLS for user connections.
let broker = Broker::new(broker_config).await?;

// Start the main loop, consuming it
Expand Down
2 changes: 1 addition & 1 deletion crates/orchestrator/run-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ transaction_size = 1000
node_index = 0
seed = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
start_delay_seconds = 0
cdn_marshal_address = "127.0.0.1:9000"
cdn_marshal_address = "127.0.0.1:8999"
public_keys = [
{ stake_table_key = "BLS_VER_KEY~bQszS-QKYvUij2g20VqS8asttGSb95NrTu2PUj0uMh1CBUxNy1FqyPDjZqB29M7ZbjWqj79QkEOWkpga84AmDYUeTuWmy-0P1AdKHD3ehc-dKvei78BDj5USwXPJiDUlCxvYs_9rWYhagaq-5_LXENr78xel17spftNd5MA1Mw5U", state_ver_key = "SCHNORR_VER_KEY~lJqDaVZyM0hWP2Br52IX5FeE-dCAIC-dPX7bL5-qUx-vjbunwe-ENOeZxj6FuOyvDCFzoGeP7yZ0fM995qF-CRE", stake = 1, da = true },

Expand Down

0 comments on commit 002c71e

Please sign in to comment.