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
+4 -4
View File
@@ -169,10 +169,10 @@ pub fn sync_block_header(
pub fn process_block_header(bh: &BlockHeader, mut ctx: BlockContext) -> Result<(), Error> {
debug!(
LOGGER,
"pipe: process_block_header: {} at {}",
bh.hash(),
bh.height
);
"pipe: process_block_header at {} [{}]",
bh.height,
bh.hash()
); // keep this
check_header_known(bh.hash(), &mut ctx)?;
validate_header(&bh, &mut ctx)
+1 -1
View File
@@ -502,7 +502,7 @@ impl<'a> Extension<'a> {
pub fn rewind(&mut self, block_header: &BlockHeader) -> Result<(), Error> {
let hash = block_header.hash();
let height = block_header.height;
debug!(LOGGER, "Rewind to header {} at {}", hash, height);
debug!(LOGGER, "Rewind to header at {} [{}]", height, hash); // keep this
// rewind each MMR
let (out_pos_rew, kern_pos_rew) = self.commit_index.get_block_marker(&hash)?;