86 Commits (6ec58f15600b20abf59af2a596f12ed5f0f45409)

Author SHA1 Message Date
  Marko 3b256ccb05
p2p/pex: migrate to Protobuf (#4973) 5 years ago
  Marko 9149ee7d8b
lint: various fixes 5 years ago
  Anton Kaliaev b7b721c484
change use of errors.Wrap to fmt.Errorf with %w verb 5 years ago
  Anton Kaliaev 8f463cf35c
p2p: set RecvMessageCapacity to maxMsgSize in all reactors 5 years ago
  Callum Waters 6aa469d008
p2p: PEX message abuse should ban as well as disconnect (#4621) 5 years ago
  Tess Rinearson ccf53a2276
all: name reactors when they are initialized (#4608) 5 years ago
  Marko 044f1bf288
format: add format cmd & goimport repo (#4586) 5 years ago
  Callum Michael Waters c8bb1cc8b7 made suggested changes 5 years ago
  Callum Michael Waters 4110c252af make banTime an argument and set default in PEX reactor instead of AddrBook 5 years ago
  Callum Michael Waters e18636ef1f separate reinstatement of peers from discovery of new peers 5 years ago
  Callum Michael Waters 6ccd3324c2 move reinstatement after if statement in pex reactor 5 years ago
  Marko 9bd0f9e634
lint: golint issue fixes (#4258) 5 years ago
  Marko 7b52f51700
libs/common: Refactor libs/common 5 (#4240) 5 years ago
  Marko 27b00cf8d1
libs/common: refactor libs common 3 (#4232) 5 years ago
  Marko afc4d7a61f
libs/common: refactor libs/common 2 (#4231) 5 years ago
  Marko 3e2751d274
lint: Enable Golint (#4212) 5 years ago
  Anton Kaliaev 49ffb70e41
p2p: extract maxBackoffDurationForPeer func and remove 1 test (#4218) 5 years ago
  dongsamb 701e9cac4d p2p: add `unconditional_peer_ids` and `persistent_peers_max_dial_period` (#4176) 5 years ago
  Anton Kaliaev 3e1516b624
linters: enable stylecheck (#4153) 5 years ago
  Hongmin 2f8ba80689 p2p: log as debug msg when address dialing is already connected (#4082) 5 years ago
  Phil Salant bc572217c0 Fix linter errors thrown by `lll` (#3970) 5 years ago
  Marko 7edc0601d5
New lint version upgrade (#4056) 5 years ago
  folex 3ee7c0bfba p2p: Do not write 'Couldn't connect to any seeds' if there are no seeds (#3834) 5 years ago
  Anton Kaliaev f05c2a9558
p2p: extract ID validation into a separate func (#3754) 5 years ago
  Anton Kaliaev d041476819
p2p: dial addrs which came from seed instead of calling ensurePeers (#3762) 5 years ago
  Anton Kaliaev c1f264822a p2p: remove NewNetAddressStringWithOptionalID (#3711) 6 years ago
  Anton Kaliaev bcf10d5bae p2p: peer state init too late and pex message too soon (#3634) 6 years ago
  Roman Shtylman f1f243d749 p2p/pex: consult seeds in crawlPeersRoutine (#3647) 6 years ago
  Anton Kaliaev 8711af608f
p2p: make persistent prop independent of conn direction (#3593) 6 years ago
  Anton Kaliaev 43348022d6
pex: various follow-ups (#3605) 6 years ago
  Roman Shtylman 40dbad9915 pex: dial seeds when address book needs more addresses (#3603) 6 years ago
  Anton Kaliaev c0e8fb5085
p2p: (seed mode) limit the number of attempts to connect to a peer (#3573) 6 years ago
  Alexander Simmerl b5b3b85697
Bring back NodeInfo NetAddress form the dead (#3545) 6 years ago
  Anton Kaliaev f965a4db15
p2p: seed mode refactoring (#3011) 6 years ago
  Ethan Buchman 882622ec10
Fixes tendermint/tendermint#3522 6 years ago
  Anton Kaliaev 3c8156a55a
preallocating memory when we can 6 years ago
  Anton Kaliaev c4157549ab
only log "Reached max attempts to dial" once (#3144) 6 years ago
  Ethan Buchman 0d5e0d2f13
p2p/conn: FlushStop. Use in pex. Closes #2092 (#2802) 6 years ago
  Jae Kwon 5b19fcf204 p2p: AddressBook requires addresses to have IDs; Do not close conn immediately after sending pex addrs in seed mode (#2797) 6 years ago
  Anton Kaliaev fb91ef7462 validate reactor messages (#2711) 6 years ago
  Anton Kaliaev eb5cf0f0dd ignore existing peers in DialPeersAsync (#2327) 6 years ago
  Anton Kaliaev 6fad8eaf5a [p2p/pex] connect to more than 10 peers (#2169) 6 years ago
  Dev Ojha d6a666b445 p2p/pex: Fix mismatch between dialseeds and checkseeds. (#2151) 6 years ago
  Dev Ojha 6e3c5e8033 p2p/pex: Allow configured seed nodes to not be resolvable over DNS (#2129) 6 years ago
  Dev Ojha 6fb2f44cc3 p2p: Connect to peers from a seed node immediately (#2115) 6 years ago
  VenkatDatta 188e459273 Removed unnecessary onStart call (#2098) 6 years ago
  Jeremiah Andrews 6c4ca140ed Add private peer ID tracking to AddrBook (#1989) 6 years ago
  Zach Ramsay 44dad6d70b Revert "detele everything" 6 years ago
  Zach Ramsay d02c5d1e30 detele everything 6 years ago
  Anton Kaliaev a19e857f2e
[pex] switch to MustMarshalBinaryBare and UnmarshalBinaryBare 6 years ago