BitSharp.Esent.EsentStorageModule.EsentStorageModule C# (CSharp) Method

EsentStorageModule() public method

public EsentStorageModule ( string baseDirectory, ChainType rulesType, long cacheSizeMinBytes = null, long cacheSizeMaxBytes = null, string blockTxesStorageLocations = null ) : BitSharp.Core.Rules
baseDirectory string
rulesType ChainType
cacheSizeMinBytes long
cacheSizeMaxBytes long
blockTxesStorageLocations string
return BitSharp.Core.Rules
        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;
        }
EsentStorageModule