Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

multi host client demo #168

Merged
merged 2 commits into from
May 3, 2018

Conversation

aeyakovenko
Copy link
Member

Fix demo when client and node are separate hosts
cat mint-demo.json | cargo run --release --bin solana-client-demo -- -s 192.168.88.253:8000 -c 192.168.88.210:8001 -t 4

@@ -120,7 +120,8 @@ fn main() {
let chunks: Vec<_> = transactions.chunks(sz).collect();
chunks.into_par_iter().for_each(|trs| {
println!("Transferring 1 unit {} times...", trs.len());
let send_addr = "0.0.0.0:0";
let mut send_addr:SocketAddr = send_addr.parse().unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cargo fmt

Bind to the same interface as the user supplied client address.
@aeyakovenko aeyakovenko force-pushed the fix_multi_host_client_demo branch from 658e31c to 21dffad Compare May 3, 2018 15:29
@garious garious merged commit 6bf59a3 into solana-labs:master May 3, 2018
garious added a commit to garious/solana that referenced this pull request May 7, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
willhickey pushed a commit that referenced this pull request Mar 13, 2024
steviez pushed a commit to steviez/solana that referenced this pull request Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants