Topl / Bifrost

A Scala client for the Topl blockchain protocol
https://topl.github.io/Bifrost/
Mozilla Public License 2.0
66 stars 17 forks source link

BN-1426 Move remote peer requests out of PeersManager #3215

Closed o-aleksandrov-topl closed 5 months ago

o-aleksandrov-topl commented 5 months ago

Purpose

Move remote peer requests out of PeersManager, otherwise, the adversary person could make a big timeout in response thus affecting the stability of the P2P layer

Approach

Move requests to ActorPeerHandlerBridgeAlgebra which shall be called on new socket connection out of Application layer P2P

Testing

Unit tests

Tickets

BN-1426

github-actions[bot] commented 5 months ago

Test Results (pull_request)

442 tests   441 :white_check_mark:  5m 42s :stopwatch:  86 suites    1 :zzz:  86 files      0 :x:

Results for commit 12b3c10d.

:recycle: This comment has been updated with latest results.