mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
remove listenAddr flag
This commit is contained in:
parent
7ee9bb4ea2
commit
f36d60552f
@ -22,18 +22,16 @@ type statistics struct {
|
||||
}
|
||||
|
||||
func main() {
|
||||
var listenAddr string
|
||||
var duration, txsRate int
|
||||
|
||||
flag.StringVar(&listenAddr, "listen-addr", "tcp://0.0.0.0:46670", "HTTP and Websocket server listen address")
|
||||
flag.IntVar(&duration, "T", 10, "Exit after the specified amount of time in seconds")
|
||||
flag.IntVar(&txsRate, "r", 1000, "Txs per second to send in a connection")
|
||||
|
||||
flag.Usage = func() {
|
||||
fmt.Println(`Tendermint bench.
|
||||
fmt.Println(`Tendermint blockchain benchmarking tool.
|
||||
|
||||
Usage:
|
||||
tm-bench [-listen-addr="tcp://0.0.0.0:46670"] [-T 10] [-r 1000] [endpoints]
|
||||
tm-bench [-T 10] [-r 1000] [endpoints]
|
||||
|
||||
Examples:
|
||||
tm-bench localhost:46657`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user