HomeSource World

les: remove clientPeerSet and serverSet (#21566)

Description

les: remove clientPeerSet and serverSet (#21566)

  • les: move NodeStateMachine from clientPool to LesServer
  • les: new header broadcaster
  • les: peerCommons.headInfo always contains last announced head
  • les: remove clientPeerSet and serverSet
  • les: fixed panic
  • les: fixed --nodiscover option
  • les: disconnect all peers at ns.Stop()
  • les: added comments and fixed signed broadcasts
  • les: removed unused parameter, fixed tests

Details

Provenance
Felföldi Zsolt <zsfelfoldi@gmail.com>Authored on Oct 21 2020, 8:56 AM
GitHub <noreply@github.com>Committed on Oct 21 2020, 8:56 AM
Parents
rGETH3e82c9ef67b9: eth/api: fix potential nil deref in AccountRange (#21710)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETH85d81b2cdde6: les: remove clientPeerSet and serverSet (#21566) (authored by Felföldi Zsolt <zsfelfoldi@gmail.com>).Oct 21 2020, 8:56 AM