[beta] Backports (#8346)
* Warp-only sync with warp-barrier [blocknumber] flag. (#8228) * Warp-only sync with warp-after [blocknumber] flag. * Fix tests. * Fix configuration tests. * Rename to warp barrier. * Allow unsafe js eval on Parity Wallet. (#8204) * Update musicoin spec in line with gmc v2.6.2 (#8242) * Supress TemporaryInvalid verification failures. (#8256) * Include suicided accounts in state diff (#8297) * Include suicided accounts in state diff * Shorten form match -> if let * Test suicide trace diff in State * replace_home for password_files, reserved_peers and log_file (#8324) * replace_home for password_files, reserved_peers and log_file * typo: arg_log_file is Option * Enable UI by default, but only display info page. * Fix test. * Fix naming and remove old todo. * Change "wallet" with "browser UI"
This commit is contained in:
@@ -732,11 +732,11 @@ impl Host {
|
||||
};
|
||||
match TcpStream::connect(&address) {
|
||||
Ok(socket) => {
|
||||
trace!(target: "network", "Connecting to {:?}", address);
|
||||
trace!(target: "network", "{}: Connecting to {:?}", id, address);
|
||||
socket
|
||||
},
|
||||
Err(e) => {
|
||||
debug!(target: "network", "Can't connect to address {:?}: {:?}", address, e);
|
||||
debug!(target: "network", "{}: Can't connect to address {:?}: {:?}", id, address, e);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -752,6 +752,7 @@ impl Host {
|
||||
let mut sessions = self.sessions.write();
|
||||
|
||||
let token = sessions.insert_with_opt(|token| {
|
||||
trace!(target: "network", "{}: Initiating session {:?}", token, id);
|
||||
match Session::new(io, socket, token, id, &nonce, self.stats.clone(), &self.info.read()) {
|
||||
Ok(s) => Some(Arc::new(Mutex::new(s))),
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user