tx pool lookup for kernel short ids (compact block hydration) (#710)
* wip - basic tx pool lookup for kernel short ids (compact block hydration) * use the nonce in the compact_block to correctly generate short_ids for lookup * query the tx pool based on kernel short_ids * tests passing * cleanup some logging * cleanup logging
This commit is contained in:
+1
-1
@@ -482,7 +482,7 @@ impl Chain {
|
||||
let header_head = self.get_header_head().unwrap();
|
||||
if header_head.height - head.height < global::cut_through_horizon() as u64 {
|
||||
return Err(Error::InvalidSumtree("not needed".to_owned()));
|
||||
}
|
||||
}
|
||||
|
||||
let header = self.store.get_block_header(&h)?;
|
||||
sumtree::zip_write(self.db_root.clone(), sumtree_data)?;
|
||||
|
||||
Reference in New Issue
Block a user