When a connection error occurred due to disallow we won't will be block for 60 sec window.
When this happen we should not retry connecting to a remote peer even if the number of attempt is less than the configured max_connection_attempt.
Once we detect this error, we should probably add a timer to know when the throttling window is done.
Lastly, when this happen it would beneficial to expose this problem through TxDropReason::DisallowedByPeer error variant.
Closes #CAS-126
When a connection error occurred due to disallow we won't will be block for 60 sec window.
When this happen we should not retry connecting to a remote peer even if the number of attempt is less than the configured
max_connection_attempt.Once we detect this error, we should probably add a timer to know when the throttling window is done.
Lastly, when this happen it would beneficial to expose this problem through
TxDropReason::DisallowedByPeererror variant.Closes #CAS-126