165 Commits (dedf0d2350d561fffcb181c22e861914e7457619)

Author SHA1 Message Date
  Marko dedf0d2350
proto: folder structure adhere to buf (#5025) 4 years ago
  Marko 3b256ccb05
p2p/pex: migrate to Protobuf (#4973) 4 years ago
  Anton Kaliaev 3fb80e560d
p2p: return masked IP (not the actual IP) in addrbook#groupKey 4 years ago
  Marko 9149ee7d8b
lint: various fixes 4 years ago
  Anton Kaliaev b7b721c484
change use of errors.Wrap to fmt.Errorf with %w verb 4 years ago
  Anton Kaliaev 398000a10d
pex: use highwayhash for pex bucket 4 years ago
  Anton Kaliaev 8f463cf35c
p2p: set RecvMessageCapacity to maxMsgSize in all reactors 4 years ago
  Anton Kaliaev ec1c657d5a
p2p/pex: fix DATA RACE 4 years ago
  Callum Waters 6aa469d008
p2p: PEX message abuse should ban as well as disconnect (#4621) 4 years ago
  Tess Rinearson ccf53a2276
all: name reactors when they are initialized (#4608) 4 years ago
  Marko 044f1bf288
format: add format cmd & goimport repo (#4586) 4 years ago
  Callum Michael Waters 7e6b1a87da cannot decrease ban time 4 years ago
  Callum Michael Waters c8bb1cc8b7 made suggested changes 4 years ago
  Callum Michael Waters dbf02200de lint fix 4 years ago
  Callum Michael Waters 5de6ec78e5 added logs for more information 4 years ago
  Callum Michael Waters 1e37a1f3e4 added isBanned check in addrbook 4 years ago
  Callum Michael Waters 2f2d62efed banned addresses can't be added again 4 years ago
  Callum Michael Waters 65d86bcad1 added banned address error 4 years ago
  Callum Michael Waters 60d375eba6 basic test for banning peers 4 years ago
  Callum Michael Waters 4110c252af make banTime an argument and set default in PEX reactor instead of AddrBook 4 years ago
  Callum Michael Waters 08ccbdcb43 ban function requires a ban duration as an argument 4 years ago
  Callum Michael Waters 429febde80 reconfigure mutexes 4 years ago
  Callum Michael Waters eeb0b0d112 lint fix 4 years ago
  Callum Michael Waters e18636ef1f separate reinstatement of peers from discovery of new peers 4 years ago
  Callum Michael Waters 6ccd3324c2 move reinstatement after if statement in pex reactor 4 years ago
  Callum Michael Waters 7466f35345 mvp blacklist alg 4 years ago
  mergify[bot] 632b53d653
fix addrbook tests (#4526) 4 years ago
  Erik Grinaker fe11219795
Fix unexported returns (#4450) 4 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 89f0bbbd76
libs/common: Refactor libs/common 4 (#4237) 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
  Phil Salant 05075ea5b7 linters: modify code to pass maligned and interfacer (#3959) 5 years ago
  Phil Salant 04d13d9945 fix linter errors thrown by `unconvert`, `goconst`, and `nakedret` (#3960) 5 years ago
  Marko 41bf54a906 gocritic (1/2) (#3836) 5 years ago
  folex 3ee7c0bfba p2p: Do not write 'Couldn't connect to any seeds' if there are no seeds (#3834) 5 years ago
  Marko 362729c2bb
Renamed wire.go to codec.go (#3827) 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) 5 years ago
  Anton Kaliaev bcf10d5bae p2p: peer state init too late and pex message too soon (#3634) 5 years ago
  Roman Shtylman f1f243d749 p2p/pex: consult seeds in crawlPeersRoutine (#3647) 5 years ago