https://github.com/tendermint/tendermint
Revision 1e073817de69eca661d99b024810e6d31ff0b50e authored by Anton Kaliaev on 07 May 2019, 07:09:06 UTC, committed by GitHub on 07 May 2019, 07:09:06 UTC
## Description

also

    handle errors from DialPeersAsync
    remove nil addr from log msg
    fix TestPEXReactorDoesNotDisconnectFromPersistentPeerInSeedMode

This is a follow-up from
#3593 (review)

Fixes most of the #3617, except #3593 (comment)

## Commits

* rpc: /dial_peers: only mark peers as persistent if flag is on

also

- handle errors from DialPeersAsync
- remove nil addr from log msg
- fix TestPEXReactorDoesNotDisconnectFromPersistentPeerInSeedMode

This is a follow-up from
https://github.com/tendermint/tendermint/pull/3593#pullrequestreview-233556909

* remove a call to AddPersistentPeers

TestDialFail will trigger a reconnect
1 parent 2bb1a87
History
Tip revision: 1e073817de69eca661d99b024810e6d31ff0b50e authored by Anton Kaliaev on 07 May 2019, 07:09:06 UTC
rpc: /dial_peers: only mark peers as persistent if flag is on (#3620)
Tip revision: 1e07381
File Mode Size
doc.go -rw-r--r-- 718 bytes
errors.go -rw-r--r-- 558 bytes
file.go -rw-r--r-- 13.0 KB
file_deprecated.go -rw-r--r-- 2.1 KB
file_deprecated_test.go -rw-r--r-- 2.7 KB
file_test.go -rw-r--r-- 10.0 KB
messages.go -rw-r--r-- 2.2 KB
signer_remote.go -rw-r--r-- 4.2 KB
signer_remote_test.go -rw-r--r-- 1.7 KB
signer_service_endpoint.go -rw-r--r-- 3.4 KB
signer_validator_endpoint.go -rw-r--r-- 5.9 KB
signer_validator_endpoint_test.go -rw-r--r-- 13.5 KB
socket_dialers.go -rw-r--r-- 1.1 KB
socket_dialers_test.go -rw-r--r-- 719 bytes
socket_listeners.go -rw-r--r-- 5.2 KB
socket_listeners_test.go -rw-r--r-- 3.5 KB
utils.go -rw-r--r-- 497 bytes
utils_test.go -rw-r--r-- 361 bytes
wire.go -rw-r--r-- 245 bytes

back to top