Print to indicate what drone is doing while waiting for gossip
This commit is contained in:
committed by
Greg Fitzgerald
parent
b8816d722c
commit
2752bde683
@ -2,6 +2,8 @@ extern crate bincode;
|
|||||||
extern crate bytes;
|
extern crate bytes;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate clap;
|
extern crate clap;
|
||||||
|
#[macro_use]
|
||||||
|
extern crate log;
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate solana;
|
extern crate solana;
|
||||||
extern crate tokio;
|
extern crate tokio;
|
||||||
@ -112,6 +114,7 @@ fn main() -> Result<(), Box<error::Error>> {
|
|||||||
timeout = None;
|
timeout = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
info!("Drone waiting for network at {:?}...", network);
|
||||||
let leader = poll_gossip_for_leader(network, timeout)?;
|
let leader = poll_gossip_for_leader(network, timeout)?;
|
||||||
|
|
||||||
let drone_addr = socketaddr!(0, DRONE_PORT);
|
let drone_addr = socketaddr!(0, DRONE_PORT);
|
||||||
|
Reference in New Issue
Block a user