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());
        }
示例#2
0
 public ParticipantBlockSignaturesCache(int size, Dictionary <string, int> participants)
 {
     Participants = participants;
     Rim          = new RollingIndexMap <BlockSignature>(size, participants.GetValues());
 }