Ejemplo n.º 1
0
 public void OnBlockProcessingEnd(Block block, TxReceipt[] receipts, ProcessingOptions options = ProcessingOptions.None)
 {
     _contractValidator.OnBlockProcessingEnd(block, receipts, options);
     if (!_contractValidator.ForSealing)
     {
         ResendPersistedReports(block.Header);
     }
 }
Ejemplo n.º 2
0
 public void OnBlockProcessingEnd(Block block, TxReceipt[] receipts, ProcessingOptions options = ProcessingOptions.None)
 {
     _contractValidator.OnBlockProcessingEnd(block, receipts, options);
     if (!_contractValidator.ForSealing)
     {
         var parentHeader = _contractValidator.BlockTree.FindParentHeader(block.Header, BlockTreeLookupOptions.None);
         if (parentHeader != null)
         {
             ResendPersistedReports(parentHeader);
         }
     }
 }