private void TimerOnElapsed(object?sender, EventArgs e)
 {
     if (_logger.IsTrace)
     {
         _logger.Trace("Period Bundle Trigger Called");
     }
     TriggerBundle?.Invoke(this, new BundleUserOpsEventArgs(_blockTree.Head !));
     _timer.Enabled = true;
 }
예제 #2
0
 private void BlockTreeOnNewHeadBlock(object?sender, BlockEventArgs e)
 {
     TriggerBundle?.Invoke(this, new BundleUserOpsEventArgs(e.Block));
 }