good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / maticnetwork / bor
Source project has a limited visibility.
  • Felix Lange's avatar
    c420dcb3
    p2p: enforce connection retry limit on server side (#19684) · c420dcb3
    Felix Lange authored
    The dialer limits itself to one attempt every 30s. Apply the same limit
    in Server and reject peers which try to connect too eagerly. The check
    against the limit happens right after accepting the connection.
    
    Further changes in this commit ensure we pass the Server logger
    down to Peer instances, discovery and dialState. Unit test logging now
    works in all Server tests.
    p2p: enforce connection retry limit on server side (#19684)
    Felix Lange authored
    The dialer limits itself to one attempt every 30s. Apply the same limit
    in Server and reject peers which try to connect too eagerly. The check
    against the limit happens right after accepting the connection.
    
    Further changes in this commit ensure we pass the Server logger
    down to Peer instances, discovery and dialState. Unit test logging now
    works in all Server tests.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.