• R/O
  • HTTP
  • SSH
  • HTTPS

bytom: Commit

Official Go implementation of the Bytom protocol


Commit MetaInfo

Revisiona335a2d9f232590511d9de3e0fdbdf88e0379391 (tree)
Time2019-10-22 15:21:17
AuthorChengcheng Zhang <943420582@qq.c...>
CommiterChengcheng Zhang

Log Message

update flags

Change Summary

Incremental Difference

--- a/README.md
+++ b/README.md
@@ -92,23 +92,39 @@ $ ./bytomd node
9292 available flags for `bytomd node`:
9393
9494 ```
95- --auth.disable Disable rpc access authenticate
96- --chain_id string Select network type
97- -h, --help help for node
98- --mining Enable mining
99- --p2p.dial_timeout int Set dial timeout (default 3)
100- --p2p.handshake_timeout int Set handshake timeout (default 30)
101- --p2p.laddr string Node listen address.
102- --p2p.max_num_peers int Set max num peers (default 50)
103- --p2p.pex Enable Peer-Exchange (default true)
104- --p2p.seeds string Comma delimited host:port seed nodes
105- --p2p.skip_upnp Skip UPNP configuration
106- --prof_laddr string Use http to profile bytomd programs
107- --vault_mode Run in the offline enviroment
108- --wallet.disable Disable wallet
109- --wallet.rescan Rescan wallet
110- --web.closed Launch web browser or not
111- --simd.enable Enable the _simd_ feature to speed up the _PoW_ verification (e.g., during mining and block verification)
95+Flags:
96+ --auth.disable Disable rpc access authenticate
97+ --chain_id string Select network type
98+ -h, --help help for node
99+ --log_file string Log output file (default "log")
100+ --log_level string Select log level(debug, info, warn, error or fatal)
101+ --mining Enable mining
102+ --p2p.dial_timeout int Set dial timeout (default 3)
103+ --p2p.handshake_timeout int Set handshake timeout (default 30)
104+ --p2p.keep_dial string Peers addresses try keeping connecting to, separated by ',' (for example "1.1.1.1:46657;2.2.2.2:46658")
105+ --p2p.laddr string Node listen address. (0.0.0.0:0 means any interface, any port) (default "tcp://0.0.0.0:46656")
106+ --p2p.lan_discoverable Whether the node can be discovered by nodes in the LAN (default true)
107+ --p2p.max_num_peers int Set max num peers (default 50)
108+ --p2p.node_key string Node key for p2p communication
109+ --p2p.proxy_address string Connect via SOCKS5 proxy (eg. 127.0.0.1:1086)
110+ --p2p.proxy_password string Password for proxy server
111+ --p2p.proxy_username string Username for proxy server
112+ --p2p.seeds string Comma delimited host:port seed nodes
113+ --p2p.skip_upnp Skip UPNP configuration
114+ --prof_laddr string Use http to profile bytomd programs
115+ --simd.enable Enable SIMD mechan for tensority
116+ --vault_mode Run in the offline enviroment
117+ --wallet.disable Disable wallet
118+ --wallet.rescan Rescan wallet
119+ --wallet.txindex Save global tx index
120+ --web.closed Lanch web browser or not
121+ --ws.max_num_concurrent_reqs int Max number of concurrent websocket requests that may be processed concurrently (default 20)
122+ --ws.max_num_websockets int Max number of websocket connections (default 25)
123+
124+Global Flags:
125+ --home string root directory for config and data
126+ -r, --root string DEPRECATED. Use --home (default "/Users/zcc/Library/Application Support/Bytom")
127+ --trace print out full stack trace on errors
112128 ```
113129
114130 Given the `bytomd` node is running, the general workflow is as follows:
Show on old repository browser