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; }
private void BlockTreeOnNewHeadBlock(object?sender, BlockEventArgs e) { TriggerBundle?.Invoke(this, new BundleUserOpsEventArgs(e.Block)); }