public EsentStorageModule(string baseDirectory, ChainType rulesType, long? cacheSizeMinBytes = null, long? cacheSizeMaxBytes = null, string[] blockTxesStorageLocations = null)
{
this.baseDirectory = baseDirectory;
this.blockTxesStorageLocations = blockTxesStorageLocations;
this.dataDirectory = Path.Combine(baseDirectory, "Data", rulesType.ToString());
this.peersDirectory = Path.Combine(baseDirectory, "Peers", rulesType.ToString());
this.chainType = rulesType;
this.cacheSizeMinBytes = cacheSizeMinBytes;
this.cacheSizeMaxBytes = cacheSizeMaxBytes;
}