-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
70 lines (63 loc) · 2.43 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
NodeWorkSpace: "./"
ActorSvcPort: 8080
CessChainConfig:
# The rpc endpoint of the chain node
Rpc:
# test network
- "wss://testnet-rpc.cess.cloud/ws"
- "wss://testnet-rpc.cess.network/ws"
# The storage network you want to connect to, "mainnet" or "testnet"
Network: "/cdnnet"
# CESS account mnemonic of cacher
Mnemonic: "skill income exile ethics sick excess sea deliver medal junk update fault"
ResrcP2P:
# Bootstrap Nodes
Boots:
# test network
- "_dnsaddr.boot-miner-testnet.cess.network"
# Service workspace
Workspace: "./resource_p2p"
# P2P communication port
P2PPort: 4006
CacheP2P:
# Bootstrap Nodes
Boots:
# test network
- "/ip4/0.0.0.0/tcp/4008"
# Service workspace
Workspace: "./cache_p2p"
# P2P communication port
P2PPort: 4006
CacherConfig:
# User Files Cacher config
# File cache size, default 512G, (unit is byte)
CacheSize: 512
# File cache expiration time, default 3*60 minutes (unit is minutes)
Expiration:
# Directory to store file cache, default path: ./cache/
CacheDir:
# Price of downloading a single fragment (unit is 1/10^18 CESS or TCESS, is an integer)
CachePrice: ""
# The number of free downloads allowed for users
FreeDownloads:
CdnProtoConfig:
# Cache protocol config
# The Id of chain where the EVM contract is deployed
ChainId: 11330
# Ethereum gas free cap (default is 108694000460)
GasFreeCap: 108694000460
#Ethereum gas limit (default is 30000000)
GasLimit: 30000000
#Node staking amount
Staking: "3000000000000000000000"
#Protocol smart contracts for node registration, order and revenue management, etc.
TokenContract: ""
ProtoContract: "0x7352188979857675C3aD1AA6662326ebD6DDBf6d"
# NFT Token Id that needs to be bound to the cache node(license for cache node to join network)
NodeTokenId: "103025665189611818041125193990140224421208216751558425519579339636262984839876"
# Cache Node's ethereum account private key (Hexadecimal string, not including '0x')
NodeAccPrivateKey: "cdce8911cc893c792cd93508322e7d3dda9c6625fb5aea8f157668680491502e"
#Token owner's ethereum account address (Hexadecimal string, including '0x')
TokenAccAddress: "0xb7B43408864aEa0449D8F813380f8ec424F7a775"
#The signature of the token owner's account on the message pair, obtained through the 'eth-tools'
TokenAccSign: "12541b421928699836fae37df724648a395fe79a4c80adfdf8c58528d7ffc8106d5c13dcb616cf03098ce64dd588f997efa9de61d9520b1fec3e18064070c9381c"