Wezen Server
Wezen is a server that provides node discovery for Wezen server.
Last updated
Was this helpful?
Wezen is a server that provides node discovery for Wezen server.
Last updated
Was this helpful?
Was this helpful?
meycoinocli keygen mychain-wezen
Wrote files mychain-wezen.{key,pub,id}.{
"chain_id":{
"magic": "mychain.test",
"public": false,
"mainnet": false,
"coinbasefee": "1000000000",
"consensus": "dpos"
},
"timestamp": 1548918000000000000,
"balance": {
},
"bps": [
]
}authdir = "/blockchain/wezen/auth" # base directory for files about authentication and authorization
[rpc]
netserviceaddr = "127.0.0.1" # RPC access address. The default setting is 127.0.0.1, which allows RPC access only on the local machine and blocks RPC connections remotely.
netserviceport = 8915
[p2p]
netprotocoladdr = "[real IP address]" # An externally accessible IP address or domain name
netprotocolport = 8916
npbindaddr = ""
npkey = "mychain-wezen.key" # Location of private key file
[wezen]
allowprivate = true # Whether to allow the private address of the node's access address. Used when building Wezen for private chains operated within a test or private network.
genesisfile = "[location of genesis file]" # Genesis file location
enableblacklist = false # Whether to turn on blacklist or not. blacklist entries will be saved in <authdir>level = "info" # default log level
formatter = "json" # format: console, console_no_color, json
caller = true # enabling source file and line printer
timefieldformat = "RFC3339"
[chain]
level = "info" # optional, log level for 'chain' module
[dpos]
level = "info"
[p2p]
level = "info"
[consensus]
level = "info"
[mempool]
level = "info"
[contract]
level = "info"
[syncer]
level = "info"
[bp]
level = "info"docker run -d -w /tools -v /blockchain/wezen:/tools -p 8916:8916 -p 8915:8915 --restart="always" --name wezen-node meey/wezen wezen --home /tools --config /tools/wezen-conf.toml./wezen --config wezen-conf.toml