- Feb 12, 2021
-
-
Zsolt Felföldi authored
-
- Jan 16, 2021
-
-
Gary Rong authored
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).
-
- Dec 14, 2020
-
-
Péter Szilágyi authored
This commit splits the eth package, separating the handling of eth and snap protocols. It also includes the capability to run snap sync (https://github.com/ethereum/devp2p/blob/master/caps/snap.md ) , but does not enable it by default. Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- Feb 26, 2020
-
-
Gary Rong authored
* les: separate peer into clientPeer and serverPeer * les: address comments
-
- Aug 21, 2019
-
-
Gary Rong authored
les: handler separation
-
- Jul 22, 2019
-
-
Gary Rong authored
-
- Jul 09, 2019
-
-
Péter Szilágyi authored
-
- Jun 28, 2019
-
-
Gary Rong authored
* all: implement simple checkpoint syncing cmd, les, node: remove callback mechanism cmd, node: remove callback definition les: simplify the registrar les: expose checkpoint rpc services in the light client les, light: don't store untrusted receipt cmd, contracts, les: discard stale checkpoint cmd, contracts/registrar: loose restriction of registeration cmd, contracts: add replay-protection all: off-chain multi-signature contract params: deploy checkpoint contract for rinkeby cmd/registrar: add raw signing mode for registrar cmd/registrar, contracts/registrar, les: fixed messages * cmd/registrar, contracts/registrar: fix lints * accounts/abi/bind, les: address comments * cmd, contracts, les, light, params: minor checkpoint sync cleanups * cmd, eth, les, light: move checkpoint config to config file * cmd, eth, les, params: address comments * eth, les, params: address comments * cmd: polish up the checkpoint admin CLI * cmd, contracts, params: deploy new version contract * cmd/checkpoint-admin: add another flag for clef mode signing * cmd, contracts, les: rename and regen checkpoint oracle with abigen
-
- Jun 27, 2019
-
-
Matthew Halpern authored
-
- Jun 12, 2019
-
-
Gary Rong authored
* les: reject client connection if it makes too much invalid req * les: address comments * les: use uint32 * les: fix variable name * les: add invalid counter for duplicate invalid req
-
- Jun 11, 2019
-
-
Gary Rong authored
* eth, les: reject stale request * les: reuse local head number
-
- May 30, 2019
-
-
Zsolt Felföldi authored
les, les/flowcontrol: implement LES/3
-
- May 13, 2019
-
-
Zsolt Felföldi authored
* les, light: implement ODR transaction lookup by hash * les: delete useless file * internal/ethapi: always use backend to find transaction * les, eth, internal/ethapi: renamed GetCanonicalTransaction to GetTransaction * light: add canonical header verification to GetTransaction
-
- Apr 15, 2019
-
-
Matthew Halpern authored
-
- Apr 08, 2019
-
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
- Mar 06, 2019
-
-
Péter Szilágyi authored
-
- Feb 21, 2019
-
-
Gary Rong authored
* core: remove unnecessary fields in log * core: bump blockchain database version * core, les: remove unnecessary fields in txlookup * eth: print db version explicitly * core/rawdb: drop txlookup entry struct wrapper
-
- Jan 24, 2019
-
-
b00ris authored
For more information about this light client mode, read https://hackmd.io/s/HJy7jjZpm
-
- Aug 28, 2018
-
-
Gary Rong authored
-
- May 09, 2018
-
-
Gary Rong authored
* all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
-
- May 07, 2018
-
-
Péter Szilágyi authored
-
- Feb 11, 2018
-
-
Péter Szilágyi authored
* les, light: fix CHT trie retrievals * les, light: minor polishes, test remote CHT retrievals * les, light: deterministic nodeset rlp, bloombits test skeleton * les: add an event emission to the les bloombits test * les: drop dead tester code
-
- Feb 05, 2018
-
-
Péter Szilágyi authored
This commit reduces database I/O by not writing every state trie to disk.
-
- Jan 26, 2018
-
-
Zsolt Felföldi authored
-
- Jan 03, 2018
-
-
Péter Szilágyi authored
-
- Dec 22, 2017
-
-
Gary Rong authored
* accounts, consensus, core, eth: make chain maker consensus agnostic * consensus, core: move CalcDifficulty to Engine interface * consensus: add docs for calcDifficulty function * consensus, core: minor comment fixups
-
- Nov 21, 2017
-
-
Gary Rong authored
-
- Oct 25, 2017
-
-
Péter Szilágyi authored
* core, eth, les: fix messy code * les: fixed tx status test and rlp encoding * core: add a workaround for light sync
-
- Oct 24, 2017
-
-
Zsolt Felföldi authored
This PR implements the new LES protocol version extensions: * new and more efficient Merkle proofs reply format (when replying to a multiple Merkle proofs request, we just send a single set of trie nodes containing all necessary nodes) * BBT (BloomBitsTrie) works similarly to the existing CHT and contains the bloombits search data to speed up log searches * GetTxStatusMsg returns the inclusion position or the pending/queued/unknown state of a transaction referenced by hash * an optional signature of new block data (number/hash/td) can be included in AnnounceMsg to provide an option for "very light clients" (mobile/embedded devices) to skip expensive Ethash check and accept multiple signatures of somewhat trusted servers (still a lot better than trusting a single server completely and retrieving everything through RPC). The new client mode is not implemented in this PR, just the protocol extension.
-
- Aug 08, 2017
-
-
Zsolt Felföldi authored
* les: fix megacheck warnings * les: fixed testGetProofs
-
- Jun 21, 2017
-
-
Zsolt Felföldi authored
This commit does various code refactorings: - generalizes and moves the request retrieval/timeout/resend logic out of LesOdr (will be used by a subsequent PR) - reworks the peer management logic so that all services can register with peerSet to get notified about added/dropped peers (also gets rid of the ugly getAllPeers callback in requestDistributor) - moves peerSet, LesOdr, requestDistributor and retrieveManager initialization out of ProtocolManager because I believe they do not really belong there and the whole init process was ugly and ad-hoc
-
- Jan 06, 2017
-
-
Felix Lange authored
-
- Nov 09, 2016
-
-
Felix Lange authored
-
Zsolt Felföldi authored
-