Exemplo n.º 1
0
        public ParticipantEventsCache(int size, Dictionary <string, int> participants, ILogger logger, string instanceName = null)
        {
            this.logger = logger.AddNamedContext("ParticipantEventsCache", instanceName);

            Participants = participants;
            Rim          = new RollingIndexMap <string>(size, participants.GetValues());
        }
Exemplo n.º 2
0
 public ParticipantBlockSignaturesCache(int size, Dictionary <string, int> participants)
 {
     Participants = participants;
     Rim          = new RollingIndexMap <BlockSignature>(size, participants.GetValues());
 }