diff --git a/README.md b/README.md index 567a5a0f6bccd004e0615527da5b8d07afc52a2f..3827baea0e49a5792e8bd230f6e90230bcccca9d 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 ffb93770eb5782bb7d774c066160ae5e55cf8b0b..58d5a067bc4f8f849e006b48884b4b2a0e09832b 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 {