-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from paradeum-team/yuan
add the sample of config.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |