diff --git a/config/config.toml b/config/config.toml index f881ad45b..8e9f410c3 100644 --- a/config/config.toml +++ b/config/config.toml @@ -65,6 +65,29 @@ TestMode = true #NoSignRequest = false #TlsInsecureSkipVerify = false +[UploaderCfg] + StorageProvider = "bnb-sp" + Address = "127.0.0.1:9133" + StoneHubServiceAddress = "127.0.0.1:9333" + MetaDBType = "leveldb" + [UploaderCfg.PieceStoreConfig] + Shards = 0 + [UploaderCfg.PieceStoreConfig.Store] + Storage = "file" + BucketURL = "./data/primary_payload_data" + MaxRetries = 5 + TestMode = true + #AccessKey = "ACCESSKEY" + #SecretKey = "SECRETKEY" + #SessionToken = "SESSIONTOKEN" + #NoSignRequest = false + #TlsInsecureSkipVerify = false + [UploaderCfg.MetaLevelDBConfig] + Path = "./data/meta" + NameSpace = "bnb-sp" + Cache = 4096 + FileHandles = 1000 + ReadOnly = false [StoneHubCfg] StorageProvider = "bnb-sp" @@ -78,6 +101,35 @@ MetaDBType = "leveldb" FileHandles = 1000 ReadOnly = false +[DownloaderCfg] + Address = "127.0.0.1:9233" + [DownloaderCfg.PieceStoreConfig] + Shards = 0 + [DownloaderCfg.PieceStoreConfig.Store] + Storage = "file" + BucketURL = "./data/primary_payload_data" + MaxRetries = 5 + TestMode = true + #AccessKey = "ACCESSKEY" + #SecretKey = "SECRETKEY" + #SessionToken = "SESSIONTOKEN" + #NoSignRequest = false + #TlsInsecureSkipVerify = false + + +[StoneHubCfg] + StorageProvider = "bnb-sp" + Address = "127.0.0.1:9333" + JobDBType = "memory" + MetaDBType = "leveldb" + [StoneHubCfg.MetaLevelDBConfig] + Path = "./data/meta" + NameSpace = "bnb-sp" + Cache = 4096 + FileHandles = 1000 + ReadOnly = false + + [StoneNodeCfg] StorageProvider = "bnb-sp" Address = "127.0.0.1:9433"