Esempio n. 1
0
 public Eth62ProtocolHandler(
     ISession session,
     IMessageSerializationService serializer,
     INodeStatsManager statsManager,
     ISyncServer syncServer,
     ITxPool txPool,
     ILogManager logManager) : base(session, serializer, statsManager, syncServer, txPool, logManager)
 {
     _floodController = new TxFloodController(this, Logger);
 }
 public Eth62ProtocolHandler(
     ISession session,
     IMessageSerializationService serializer,
     INodeStatsManager statsManager,
     ISyncServer syncServer,
     ITxPool txPool,
     ILogManager logManager) : base(session, serializer, statsManager, syncServer, logManager)
 {
     _floodController = new TxFloodController(this, Timestamper.Default, Logger);
     _txPool          = txPool ?? throw new ArgumentNullException(nameof(txPool));
 }