From 8effe4cb2819a8b24c46ac95654e1f8e80ad50de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felf=C3=B6ldi=20Zsolt?= Date: Wed, 21 Oct 2020 10:56:33 +0200 Subject: [PATCH] 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 # Conflicts: # les/client_handler.go # les/clientpool.go # les/clientpool_test.go # les/enr_entry.go # les/lespay/server/prioritypool.go # les/peer.go # les/protocol.go # les/server.go # les/server_handler.go # les/test_helper.go --- to-merge.txt | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/to-merge.txt b/to-merge.txt index 57aebc0ea..26c5f83f4 100644 --- a/to-merge.txt +++ b/to-merge.txt @@ -508,30 +508,3 @@ Date: Wed Oct 21 10:56:33 2020 +0200 * les: removed unused parameter, fixed tests -commit 3e82c9ef67b9948bc90ba244b9537054188ebaf8 -Author: aaronbuchwald -Date: Tue Oct 20 14:19:21 2020 -0400 - - eth/api: fix potential nil deref in AccountRange (#21710) - - * Fix potential nil pointer error when neither block number nor hash is specified to accountRange - - * Update error description - -commit 9d25f34263fa0621bd0b70a53057df7c6a5eaa41 -Author: Gary Rong -Date: Tue Oct 20 22:34:50 2020 +0800 - - core: track and improve tx indexing/unindexing (#21331) - - * core: add background indexer to waitgroup - - * core: make indexer stopable - - * core/rawdb: add unit tests - - * core/rawdb: fix lint - - * core/rawdb: fix tests - - * core/rawdb: fix linter