- Apr 06, 2021
-
-
Zsolt Felföldi authored
* les: move client pool to les/vflux/server * les/vflux/server: un-expose NodeBalance, remove unused fn, fix bugs * tests/fuzzers/vflux: add ClientPool fuzzer * les/vflux/server: fixed balance tests * les: rebase fix * les/vflux/server: fixed more bugs * les/vflux/server: unexported NodeStateMachine fields and flags * les/vflux/server: unexport all internal components and functions * les/vflux/server: fixed priorityPool test * les/vflux/server: polish balance * les/vflux/server: fixed mutex locking error * les/vflux/server: priorityPool bug fixed * common/prque: make Prque wrap-around priority handling optional * les/vflux/server: rename funcs, small optimizations * les/vflux/server: fixed timeUntil * les/vflux/server: separated balance.posValue and negValue * les/vflux/server: polish setup * les/vflux/server: enforce capacity curve monotonicity * les/vflux/server: simplified requestCapacity * les/vflux/server: requestCapacity with target range, no iterations in SetCapacity * les/vflux/server: minor changes * les/vflux/server: moved default factors to balanceTracker * les/vflux/server: set inactiveFlag in priorityPool * les/vflux/server: moved related metrics to vfs package * les/vflux/client: make priorityPool temp state logic cleaner * les/vflux/server: changed log.Crit to log.Error * add vflux fuzzer to oss-fuzz Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
Evolution404 authored
-
Peter Simard authored
Move the cache sanity check to the SetEthConfig function to allow the config file to load.
-
Sina Mahmoodi authored
This change adds support for logging JSON records when the --log.json flag is given. The --debug and --backtrace flags are deprecated and replaced by --log.debug and --log.backtrace. While changing this, it was noticed that the --memprofilerate and --blockprofilerate were ineffective (they were always overridden even if --pprof.memprofilerate was not set). This is also fixed. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
AmitBRD authored
This adds support for EIP-2718 access list transactions in the GraphQL API. Co-authored-by:
Amit Shah <amitshah0t7@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
piersy authored
This removes the duplicated definition of eth_chainID in package eth and updates the definition in internal/ethapi to treat chain ID as a bigint. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Edgar Aroutiounian authored
-
- Mar 31, 2021
-
-
Péter Szilágyi authored
all: fix miner hashRate -> hashrate on API calls
-
Péter Szilágyi authored
-
- Mar 30, 2021
-
-
Felix Lange authored
This fixes a rare issue where the client subscription forwarding loop would attempt send on the subscription's channel after Unsubscribe has returned, leading to a panic if the subscription channel was already closed by the user. Example: sub, _ := client.Subscribe(..., channel, ...) sub.Unsubscribe() close(channel) The race occurred because Unsubscribe called quitWithServer to tell the forwarding loop to stop sending on sub.channel, but did not wait for the loop to actually come down. This is fixed by adding an additional channel to track the shutdown, on which Unsubscribe now waits. Fixes #22322
-
Péter Szilágyi authored
* core/state/snapshot, ethdb: track deletions more accurately * core/state/snapshot: don't reset the iterator, leveldb's screwy * ethdb: don't mess with the insert batches for now
-
Marius van der Wijden authored
This fixes an issue where the ethstats service could crash if geth was started and then immediately stopped due to an internal error. The cause of the crash was a nil subscription being returned by the backend, because the background goroutine creating them was scheduled after the backend had already shut down. Moving the creation of subscriptions into the Start method, which runs synchronously during startup of the node, means the returned subscriptions can never be 'nil'. Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
nebojsa94 authored
-
Martin Holst Swende authored
Adds the command "geth db dumptrie <root> <seek> <max>", to better help investigate the trie data
-
Péter Szilágyi authored
eth/protocols/snap: try to prevent requests timing out
-
- Mar 29, 2021
-
-
Marius van der Wijden authored
-
rene authored
-
Martin Holst Swende authored
-
Gary Rong authored
The main idea behind it is: the range compaction is very expensive which can take a few hours to finish. During this long procedure, a lot of exceptions can occur, e.g. - Geth is killed manually - Geth is killed because of machine crash - etc In order to minimize the effect of the exceptions, the compaction is moved out of the pruning. So that even the compaction is not finished, the pruning is regarded as done.
-
- Mar 26, 2021
-
-
Felix Lange authored
This upgrades the cloudflare client dependency to v0.14.0. The new version changes the API because all methods now require a context parameter. This change also reduces the log level of the 'Skipping...' message to debug, following a similar change in the AWS deployer.
-
Péter Szilágyi authored
eth/protocols/snap: add peer id and req id to the timeout logs
-
Péter Szilágyi authored
-
Péter Szilágyi authored
metrics/influxdb: don't push empty histograms, no measurement != 0
-
Péter Szilágyi authored
-
Felix Lange authored
The PR implements the --miner.notify.full flag that enables full pending block notifications. When this flag is used, the block notifications sent to mining endpoints contain the complete block header JSON instead of a work package array. Co-authored-by:
AlexSSD7 <alexandersadovskyi7@protonmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Zou Guangxian authored
This avoids synchronisation failures when the local header is ahead of the local full block.
-
Péter Szilágyi authored
eth/protocols, metrics: use resetting histograms for rare packets
-
Péter Szilágyi authored
-
Péter Szilágyi authored
eth/protocols, metrics, p2p: add handler performance metrics
-
Péter Szilágyi authored
-
- Mar 25, 2021
-
-
Marius van der Wijden authored
-
Péter Szilágyi authored
core: fix condition on header verification
-
Felix Lange authored
* cmd/devp2p: fix comparison of TXT record value The AWS API returns quoted DNS strings, so we must encode the new value before comparing it against the existing record content. * cmd/devp2p: add test * cmd/devp2p: fix typo and rename val -> newValue
-
Martin Holst Swende authored
-
Martin Holst Swende authored
Fixes the CaptureStart api to include the EVM, thus being able to set the statedb early on. This pr also exposes the struct we used internally in the interpreter to encapsulate the contract, mem, stack, rstack, so we pass it as a single struct to the tracer, and removes the error returns on the capture methods.
-
- Mar 24, 2021
-
-
Gary Rong authored
* eth/protocols/snap: fix snap sync * eth/protocols/snap: fix tests * eth: fix tiny * eth: update tests * eth: update tests * core/state/snapshot: testcase for #22534 * eth/protocols/snap: fix boundary loss on full-but-proven range * core/state/snapshot: lintfix * eth: address comment * eth: fix handler Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
Felix Lange authored
This makes the rate limit apply regardless of whether the node is already cached.
-
Chen Quan authored
-
Felix Lange authored
In Geth v1.10, we changed the structure of the "les" ENR entry. As a result, the DHT crawler that creates the DNS lists no longer recognizes the les nodes, which is fixed in this commit. * cmd/devp2p: skip ENR field tails properly in nodeset filter * cmd/devp2p: fix tail decoder for snap as well * les: fix tail decoding in "eth" ENR entry
-
- Mar 23, 2021
-
-
meowsbits authored
* internal/web3ext,node: migrate node admin API (Start|Stop)RPC->HTTP Corresponding CLI flags --rpc have been moved to --http. This moves the admin module HTTP RPC start/stop methods to an equivalent namespace. Rel https://github.com/ethereum/go-ethereum/pull/22263 Date: 2021-03-08 08:00:11-06:00 Signed-off-by:
meows <b5c6@protonmail.com> * internal/web3ext: fix startRPC/HTTP param count (4->5) Date: 2021-03-16 06:13:23-05:00 Signed-off-by:
meows <b5c6@protonmail.com>
-