github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/chain/consensus/neatcon/flags.go (about) 1 package neatcon 2 3 import ( 4 "gopkg.in/urfave/cli.v1" 5 ) 6 7 var ( 8 DataDirFlag = cli.StringFlag{ 9 Name: "datadir", 10 Usage: "Data directory for the databases and keystore", 11 Value: DefaultDataDir(), 12 } 13 14 VerbosityFlag = cli.IntFlag{ 15 Name: "verbosity", 16 Usage: "Verbosity of neatio", 17 } 18 19 MonikerFlag = cli.StringFlag{ 20 Name: "moniker", 21 Value: "", 22 Usage: "Node's moniker", 23 } 24 25 NodeLaddrFlag = cli.StringFlag{ 26 Name: "node_laddr", 27 Value: "tcp://0.0.0.0:46656", 28 Usage: "Node listen address. (0.0.0.0:0 means any interface, any port)", 29 } 30 31 SeedsFlag = cli.StringFlag{ 32 Name: "seeds", 33 Value: "", 34 Usage: "Comma delimited host:port seed nodes", 35 } 36 37 FastSyncFlag = cli.BoolFlag{ 38 Name: "fast_sync", 39 Usage: "Fast blockchain syncing", 40 } 41 42 SkipUpnpFlag = cli.BoolFlag{ 43 Name: "skip_upnp", 44 Usage: "Skip UPNP configuration", 45 } 46 47 RpcLaddrFlag = cli.StringFlag{ 48 Name: "rpc_laddr", 49 Value: "unix://@neatiorpcunixsock", //"tcp://0.0.0.0:46657", 50 Usage: "RPC listen address. Port required", 51 } 52 )