Browse Source

remove listenAddr flag

pull/1943/head
Anton Kaliaev 8 years ago
parent
commit
f36d60552f
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      tm-bench/main.go

+ 2
- 4
tm-bench/main.go View File

@ -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…
Cancel
Save