Skip to content

Commit

Permalink
Merge pull request #7 from paradeum-team/yuan
Browse files Browse the repository at this point in the history
add the sample of config.
  • Loading branch information
freedomiris authored Jun 6, 2023
2 parents 363a577 + 5fb59c6 commit 367dd93
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions config.toml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[cli]
ipfsGateway = "chainstorage-gateway.solarfs.io/ipfs/"
ggcscmdPath = ''
useHttpsProtocol = "https"
bucketPrefix = 'cs://'
listOffset = 20
cleanTmpData = true
maxRetries = 3
retryDelay = 3

[sdk]
defaultRegion = 'hk-1'
timeZone = 'UTC +08:00'
#链存服务API地址
chainStorageApiEndpoint = 'chainstorage-api.solarfs.io'
#CAR文件工作目录
carFileWorkPath = './tmp/carfile'
#CAR文件分片阈值
carFileShardingThreshold = 1048576
#链存服务API token
chainStorageApiToken = ''
#HTTP request user agent (K2请求需要)
httpRequestUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36'
#HTTP request overtime
httpRequestOvertime = 30
carVersion = 1

[logger]
logPath = './logs'
mode = 'debug'
level = 'info'
isOutPutFile = true
maxAgeDay = 7
rotationTime = 1
useJson = true
loggerFile= 'chainstorage-cli-log'

0 comments on commit 367dd93

Please sign in to comment.