From 5504920ba305e8a2012739d686f52f9e3f5b0ee3 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Tue, 24 Oct 2017 02:00:17 -0700 Subject: [PATCH] rpc/lib/client: add jitter for exponential backoff of WSClient Fixes https://github.com/tendermint/tendermint/issues/751. Adds jitter to our exponential backoff to mitigate a self DDOS vector. The jitter is a randomly picked percentage of a second whose purpose is to ensure that each exponential backoff retry occurs within (1<