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