ethereum / devp2p

Ethereum peer-to-peer networking specifications
979 stars 275 forks source link

LES: change the GetHelperTrieProofs message in the les4 #171

Open rjl493456442 opened 3 years ago

rjl493456442 commented 3 years ago

Currently, the GetHelperTrieProofs is supported by LES protocol so that the client can retrieve the helper tries and some auxiliary data with proof.

However, the auxiliary data definition is a little bit confusing. There are two auxiliary data supported:

This issue will purpose to remove the support for auxReq = 1. I can't imagine any useful scenario that only the trie root is returned(with no proof) for this kind of request.