Пример #1
0
 public TxFloodController(Eth62ProtocolHandler protocolHandler, ITimestamper timestamper, ILogger logger)
 {
     _protocolHandler = protocolHandler ?? throw new ArgumentNullException(nameof(protocolHandler));
     _timestamper     = timestamper ?? throw new ArgumentNullException(nameof(timestamper));
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Пример #2
0
 public EthProtocolInitializedEventArgs(Eth62ProtocolHandler protocolHandler) : base(protocolHandler)
 {
 }