- Jan 07, 2020
-
-
Gary Rong authored
* les: move the checkpoint oracle into its own package It's first step of refactor LES package. LES package basically can be divided into LES client and LES server. However both sides will use checkpoint package for status retrieval and verification. So this PR moves checkpoint oracle into a separate package * les: address comments
-
Kumar Anirudha authored
-
- Jan 06, 2020
-
-
Prince Sinha authored
Fixes #19024 Fixes #19332
-
Guillaume Ballet authored
-
Chris Pacia authored
This commit intents to replicate the DialHTTPWithClient function which allows creating a RPC Client using a custom dialer but for websockets. We introduce a new DialWebsocketWithDialer function which allows the caller to instantiate a new websocket client using a custom dialer.
-
Sylvain Laurent authored
-
- Dec 25, 2019
-
-
Zsolt Felföldi authored
-
- Dec 20, 2019
-
-
Gerald Nash authored
-
Ilan Gitter authored
* Add more functionality to the sim (#5) * backends: implement more of ethclient in sim * backends: add BlockByNumber to simulated backend * backends: make simulated progress function agree with syncprogress interface for client * backends: add more tests * backends: add more comments * backends: fix sim for index in tx and add tests * backends: add lock back to estimategas * backends: goimports * backends: go ci lint * Add more functionality to the sim (#5) * backends: implement more of ethclient in sim * backends: add BlockByNumber to simulated backend * backends: make simulated progress function agree with syncprogress interface for client * backends: add more tests * backends: add more comments * backends: fix sim for index in tx and add tests * backends: add lock back to estimategas * backends: goimports * backends: go ci lint * assert errs
-
- Dec 18, 2019
-
-
Jeff Wentworth authored
* fix parseTopics() and add tests * remove printf * add ParseTopicsIntoMap() tests * fix FixedBytesTy * fix int and fixed bytes * golint topics_test.go
-
Paweł Bylica authored
The --bench flag uses the testing.B to execute the EVM bytecode many times and get the average exeuction time out of it.
-
- Dec 17, 2019
-
-
Ryan Schneider authored
eth, internal/web3ext: add optional first and last arguments to the `admin_exportChain` RPC. (#20107)
-
- Dec 16, 2019
-
-
Guillaume Ballet authored
* cmd/abigen: Sanitize vyper's combined json names * Review feedback: handle full paths
-
- Dec 12, 2019
-
-
Felix Lange authored
-
Felix Lange authored
* p2p/dnsdisc: add support for enode.Iterator This changes the dnsdisc.Client API to support the enode.Iterator interface. * p2p/dnsdisc: rate-limit DNS requests * p2p/dnsdisc: preserve linked trees across root updates This improves the way links are handled when the link root changes. Previously, sync would simply remove all links from the current tree and garbage-collect all unreachable trees before syncing the new list of links. This behavior isn't great in certain cases: Consider a structure where trees A, B, and C reference each other and D links to A. If D's link root changed, the sync code would first remove trees A, B and C, only to re-sync them later when the link to A was found again. The fix for this problem is to track the current set of links in each clientTree and removing old links only AFTER all links are synced. * p2p/dnsdisc: deflake iterator test * cmd/devp2p: adapt dnsClient to new p2p/dnsdisc API * p2p/dnsdisc: tiny comment fix
-
- Dec 10, 2019
-
-
Felix Lange authored
-
Péter Szilágyi authored
core: removed old invalid comment
-
Marius van der Wijden authored
-
Martin Holst Swende authored
* fuzzers: fuzzers for keystore, rlp, trie, whisper (cred to @guidovranken) * fuzzers: move fuzzers to testdata * testdata/fuzzers: documentation * testdata/fuzzers: corpus for rlp * tests/fuzzers: fixup
-
- Dec 06, 2019
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Martin Holst Swende authored
* consensus/ethash, params: implement eip-2384: bump difficulty bomb * params: EIP 2384 compat checks * consensus, params: add Muir Glacier block number (mainnet,ropsten) + official name * core/forkid: forkid tests for muir glacier * params/config: address review concerns * params, core/forkid: review nitpicks * cmd/geth,eth,les: add override option for muir glacier * params: nit fix
-
- Dec 05, 2019
-
-
Marius van der Wijden authored
-
Péter Szilágyi authored
params: update CHTs for v1.9.9 release
-
Péter Szilágyi authored
-
- Dec 02, 2019
-
-
Péter Szilágyi authored
trie: track dirty cache metrics, track clean writes on commit
-
Péter Szilágyi authored
-
Marius van der Wijden authored
-
- Nov 29, 2019
-
-
Gary Rong authored
This change: - removes the PostChainEvents method on core.BlockChain. - sorts 'removed log' events by block number. - fire the NewChainHead event if we inject a canonical block into the chain even if the entire insertion is not successful. - guarantees correct event ordering in all cases.
-
Guillaume Ballet authored
-
xinluyin authored
-
Guillaume Ballet authored
-
Guillaume Ballet authored
-
Guillaume Ballet authored
-
- Nov 28, 2019
-
-
Gary Rong authored
-
Guillaume Ballet authored
-
Felix Lange authored
The original idea behind this change was to remove a use of the deprecated CancelRequest method. Simply removing it would've been an option, but I couldn't resist and did a bit of a refactoring instead. All remote sealing code was contained in a single giant function. Remote sealing is now extracted into its own object, remoteSealer.
-
- Nov 27, 2019
-
-
Péter Szilágyi authored
deps: update fastcache to 1.5.3
-
Péter Szilágyi authored
core/rawdb: fix reinit regression caused by the hash check PR
-