From c1d3a701c060ae2646a7c4f773d3564d4e8ae8d4 Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Mon, 17 May 2021 10:28:26 -0700 Subject: [PATCH] Update CLI --- README.md | 5 +++-- cmd/root.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 567a5a0f6..3827baea0 100644 --- a/README.md +++ b/README.md @@ -160,8 +160,6 @@ Flags: base64 representations) (default "0") --forceHistoricalRounds Force all rounds to be sent to historical round retrieval - --fastPolling bool Enables polling for filtered network updates. - Defaults to true if not set -h, --help help for client -l, --log string Path to the log output path (- is stdout) (default "-") @@ -178,6 +176,9 @@ Flags: (default 500) --sendid uint Use precanned user id (must be between 1 and 40, inclusive) + --slowPolling bool Enables polling for all network updates and RSA signed rounds. + Defaults to true (filtered updates with ECC signed rounds) if not set + -s, --session string Sets the initial directory for client storage --unsafe Send raw, unsafe messages without e2e encryption. diff --git a/cmd/root.go b/cmd/root.go index ffb93770e..58d5a067b 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -347,7 +347,7 @@ func createClient() *api.Client { netParams.E2EParams.NumRekeys = uint16( viper.GetUint("e2eNumReKeys")) netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds") - netParams.FastPolling = viper.GetBool("fastPolling") + netParams.FastPolling = !viper.GetBool("slowPolling") client, err := api.OpenClient(storeDir, []byte(pass), netParams) if err != nil { -- GitLab