les: remove useless protocol defines (#22115)

This PR has two changes in the les protocol:

- the auxRoot is not supported. See ethereum/devp2p#171 for more information
- the empty response will be returned in GetHelperTrieProofsMsg request if the merkle
   proving is failed. note, for backward compatibility, the empty merkle proof as well as
   the request auxiliary data will still be returned in  les2/3 protocol no matter the proving
   is successful or not. the proving failure can happen e.g. request the proving for a
   non-included entry in helper trie (unstable header).
# Conflicts:
#	les/benchmark.go
#	les/handler_test.go
#	les/odr_requests.go
#	les/server_handler.go
This commit is contained in:
gary rong 2021-01-17 02:06:18 +08:00 committed by Igor Mandrigin
parent a3d76f177b
commit 6d9c22a5a0

View File

@ -1531,15 +1531,3 @@ Date: Sun Jan 17 02:06:18 2021 +0800
is successful or not. the proving failure can happen e.g. request the proving for a
non-included entry in helper trie (unstable header).
commit c76573a97b15e28c0d5c783cab3a62e9203db1c9
Author: Dan DeGreef <dan.degreef@gmail.com>
Date: Sat Jan 16 11:15:18 2021 -0600
eth/protocols/eth: fix slice resize flaw (#22181)
commit 8d62ee65b2d3100da0292232f8169282237f5487
Author: Gary Rong <garyrong0905@gmail.com>
Date: Sat Jan 16 06:04:38 2021 +0800
les: don't drop sentTo for normal cases (#22048)