Commit Graph

261 Commits (1e469fd99ef119f94f14b2bae3cea58492e7e559)

Author SHA1 Message Date
Max 947c6ef11c
[p2p]: feat: allow disable scan of private ips (#4151) 3 years ago
Konstantin afc44ea746
Fix BaseStream buf io concurrent access. (#4141) 3 years ago
Konstantin 97eb8d972f Go vet fixed. 3 years ago
Jacky Wang 6e52ad4a88
[downloader] adjust default testnet downloader values, add sleep to unsuccessful download 3 years ago
Jacky Wang 8f24ee77b2
[p2p] fix the panic at cooldown cache 3 years ago
Jacky Wang 6ca07108b4
[p2p] fix the streamm ID 3 years ago
Jacky Wang 471bd1accc
[p2p] add cooldown mechanism at discover 3 years ago
harjas 77f810f607 Remove metrics(not computed) 3 years ago
harjas a82ab83ac3 Add p2p metrics 3 years ago
Leo Chen 463ec55c51
[build] update protoc version (#4013) 3 years ago
Leo Chen 908ea1ae2a
[ci] update generated .pb files 3 years ago
Leo Chen fc4dc9ff73
[ci] fix travis build 3 years ago
Leo Chen 1c450bbc44 [p2p] tuning libp2p parameters to reduce flooding 3 years ago
Leo Chen 5e581d37c8 [p2p] tuning libp2p parameters to reduce flooding 3 years ago
Leo Chen 80b8333469
[log] log too much peers (#3936) 3 years ago
yahtoo 3fe670831b fix: add p2p security module unit test 3 years ago
yahtoo 720bf6c162 fix: fix new connection check logic error 3 years ago
yahtoo aae369babc fix: add configuration option 3 years ago
yahtoo 1133948ea9 Feat: mitigate single-Host P2P sybil attack 3 years ago
MathxH Chen e58fddd264
[p2p] Fix libp2p version lead the consensus issue (#3868) 3 years ago
MathxH Chen b3c470e49b
[p2p] Remove DiscConcurrency code (#3865) 3 years ago
MathxH Chen af7e0dee71
Add DHT concurrency flag (#3829) 3 years ago
MathxH Chen 1c363c73f4
[DO NOT MERGE] [p2p] Reduce memory and CPU usage of libp2p (#3808) 3 years ago
MathxH Chen b8cd520927
[p2p] Try to fix P2P memory issue (#3795) 3 years ago
Alex Chen 73ab26cf4e Fix Ticker cannot stop for releasing resource 4 years ago
Jacky Wang ca5333789b [stream] make doRequestAsync channel buffered 4 years ago
Jacky Wang bf19acffd6
[stream] updated comments for BaseStream.Close 4 years ago
Jacky Wang 806180f4d3
[stream] use reset for close 4 years ago
Jacky Wang 1fccff3acc
[stream] a small bug fix in request manager 4 years ago
Jacky Wang dd0a109ba7
[stream] added more prometheus metrics 4 years ago
Jacky Wang 8629a6d45e [stream] fix the request manager race condition 4 years ago
Jacky Wang 1885f1df74
[stream] added some prometheus metric 4 years ago
Jacky Wang 0df102f14f
[stream] added synchronize service in service manager 4 years ago
Jacky Wang 39ba7c31aa
[stream] fix some comments according to Leo's comments in https://github.com/harmony-one/harmony/pull/3583 4 years ago
Jacky Wang 6ef5bc5faa
[stream] elaborated log message to pickAvailableStream 4 years ago
Jacky Wang 72f74c08cb
[stream] request can be canceled from waitings in request manager 4 years ago
Jacky Wang f12b9be3d8
[stream] fix request manager tests for refresh stream 4 years ago
Jacky Wang e9f3a9e69e
[stream] requestmanager use refresh streams method instead of event based stream operation. 4 years ago
Jacky Wang 1158f5a263
[stream] removed epoch state related experimental code. 4 years ago
Jacky Wang 5eb1cf1d1e
[stream] added a signature in ChainReader to fix the build error 4 years ago
Jacky Wang 3977ac49eb
[stream] added sync protocol 4 years ago
Jacky Wang 1caf88c7db
[stream] added commit sig in sync stream protobuf. 4 years ago
Jacky Wang c34f744c0a
[stream] added commit sig in sync stream protobuf. 4 years ago
Jacky Wang 3dcc92cee5
[stream] added sync stream protobuf message module (#3561) 4 years ago
Jacky Wang fbed5bcf3b
[stream] added module request manager to manage over client side requests 4 years ago
Jacky Wang e08c2ce41e
[stream] added rate limiter (#3553) 4 years ago
Jacky Wang 8adce8925a
[stream] added stream manager module (#3554) 4 years ago
Jacky Wang e12698cf44
[stream] added a length bytes to the start of p2p base stream (#3552) 4 years ago
Jacky Wang 3d6858aba5
[P2P] Added functionality to Host for stream, replaced networkInfo service. (#3534) 4 years ago
Jacky Wang f00c90e3e6
Graceful shutdown - All registered services are shutdown gracefully. (#3533) 4 years ago