-
Notifications
You must be signed in to change notification settings - Fork 0
/
flags.go
executable file
·58 lines (47 loc) · 1.09 KB
/
flags.go
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
package neatcon
import (
"gopkg.in/urfave/cli.v1"
)
var (
// neatio flags
// So we can control the DefaultDir
DataDirFlag = cli.StringFlag{
Name: "datadir",
Usage: "Data directory for the databases and keystore",
Value: DefaultDataDir(),
}
// Not exposed by neatio
VerbosityFlag = cli.IntFlag{
Name: "verbosity",
Usage: "Verbosity of neatio",
}
// NeatCon Flags
MonikerFlag = cli.StringFlag{
Name: "moniker",
Value: "",
Usage: "Node's moniker",
}
NodeLaddrFlag = cli.StringFlag{
Name: "node_laddr",
Value: "tcp://0.0.0.0:46656",
Usage: "Node listen address. (0.0.0.0:0 means any interface, any port)",
}
SeedsFlag = cli.StringFlag{
Name: "seeds",
Value: "",
Usage: "Comma delimited host:port seed nodes",
}
FastSyncFlag = cli.BoolFlag{
Name: "fast_sync",
Usage: "Fast blockchain syncing",
}
SkipUpnpFlag = cli.BoolFlag{
Name: "skip_upnp",
Usage: "Skip UPNP configuration",
}
RpcLaddrFlag = cli.StringFlag{
Name: "rpc_laddr",
Value: "unix://@neatchainrpcunixsock", //"tcp://0.0.0.0:46657",
Usage: "RPC listen address. Port required",
}
)