Testnet2 small fixes (#899)

* add hint for gcc-5 for building CUDA plugin
* add N_BLOCks comment for >=6GB GPU cards
* minor logging cleanup
* mark to be kept + reformat as "@ height [hash]"
* show CuckooNN + better wording
This commit is contained in:
Simon B
2018-03-29 17:56:46 +02:00
committed by Ignotus Peverell
parent ea9a978c87
commit 3e3fe6cae6
6 changed files with 21 additions and 11 deletions
+3 -3
View File
@@ -280,10 +280,10 @@ impl Peers {
}
debug!(
LOGGER,
"broadcast_block: {}, {} at {}, to {} peers, done.",
b.hash(),
"broadcast_block: {} @ {} [{}] was sent to {} peers.",
b.header.total_difficulty,
b.header.height,
b.hash(),
count,
);
}
@@ -594,7 +594,7 @@ impl NetAdapter for Peers {
/// addresses.
fn find_peer_addrs(&self, capab: Capabilities) -> Vec<SocketAddr> {
let peers = self.find_peers(State::Healthy, capab, MAX_PEER_ADDRS as usize);
debug!(LOGGER, "Got {} peer addrs to send.", peers.len());
trace!(LOGGER, "find_peer_addrs: {} healthy peers picked", peers.len());
map_vec!(peers, |p| p.addr)
}