ethereum / ethereum/devp2p

LES: change the GetHelperTrieProofs message in the les4

Open
#171 0 comments 0 reactions 1 assignee Claimed by @zsfelfoldi View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
297
Avg merge
5h 50m
Merged PRs (30d)
1

Description

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:
- `auxReq = 1`: in this case, the trie root of the specific helper trie is returned
- `auxReq = 2`: in this case, the requested block header is returned.

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.