Skip to content

Conversation

gastonponti
Copy link
Contributor

@gastonponti gastonponti commented Jun 15, 2021

Description

Merge from upstream, go-ethereum v 1.9.18 (https://github.com/ethereum/go-ethereum/releases/tag/v1.9.18)
a bugfix release

1.9.18 notes

1059221 PR#21263
(All headers must be fetched so that the random beacon can be updated correctly.)

c374447

Tested

Unit and integration tests pass

Related issues

karalabe and others added 30 commits July 16, 2020 15:32
core/vm: use pointers to operations vs. copy by value
Fixes #21175

Co-authored-by: sammy007 <sammy007@users.noreply.github.com>
Co-authored-by: Adam Schmideg <adamschmideg@users.noreply.github.com>
cmd/utils: reuse existing genesis in persistent dev mode
…#21301)

* geth,utils: implement configurable developer account options

Prior to this change --dev (developer) mode
generated one account with an empty password,
irrespective of existing --password and --miner.etherbase
options.

This change makes --dev mode compatible with these
existing flags.

--dev mode may now be used in conjunction with
--password and --miner.etherbase flags to configure
the developer faucet using an existing keystore or
in creating a new account.

Signed-off-by: meows <b5c6@protonmail.com>

* main: remove key/pass flags from usage developer section

These flags are included already in other sections,
and it is not desired to duplicate them.

They were originally included in this section
along with added support for these flags in the
developer mode.

Signed-off-by: meows <b5c6@protonmail.com>
This fixes the iOS framework build by naming the second parameter of the
Signer interface method. The name is important because it becomes part
of the objc method signature.

Fixes #21340
* eth/downloader: refactor downloader + queue

downloader, fetcher: throttle-metrics, fetcher filter improvements, standalone resultcache

downloader: more accurate deliverytime calculation, less mem overhead in state requests

downloader/queue: increase underlying buffer of results, new throttle mechanism

eth/downloader: updates to tests

eth/downloader: fix up some review concerns

eth/downloader/queue: minor fixes

eth/downloader: minor fixes after review call

eth/downloader: testcases for queue.go

eth/downloader: minor change, don't set progress unless progress...

eth/downloader: fix flaw which prevented useless peers from being dropped

eth/downloader: try to fix tests

eth/downloader: verify non-deliveries against advertised remote head

eth/downloader: fix flaw with checking closed-status causing hang

eth/downloader: hashing avoidance

eth/downloader: review concerns + simplify resultcache and queue

eth/downloader: add back some locks, address review concerns

downloader/queue: fix remaining lock flaw

* eth/downloader: nitpick fixes

* eth/downloader: remove the *2*3/4 throttling threshold dance

* eth/downloader: print correct throttle threshold in stats

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future.

core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced

queuedTs proper naming
core: address comment
@gastonponti gastonponti requested review from hbandura, nategraf and a team as code owners June 15, 2021 21:48
@gastonponti gastonponti changed the title Gastonponti/merge upstream 1.9.18 Upstream merge up to 1.9.18 Jun 15, 2021
@codecov
Copy link

codecov bot commented Jun 17, 2021

Codecov Report

Merging #1593 (d82cde1) into master (246c144) will decrease coverage by 0.04%.
The diff coverage is 79.41%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1593      +/-   ##
==========================================
- Coverage   54.72%   54.68%   -0.05%     
==========================================
  Files         605      606       +1     
  Lines       69932    69896      -36     
==========================================
- Hits        38272    38220      -52     
- Misses      28238    28248      +10     
- Partials     3422     3428       +6     
Impacted Files Coverage Δ
cmd/utils/flags.go 2.62% <0.00%> (-0.04%) ⬇️
core/tx_pool.go 72.23% <0.00%> (-0.76%) ⬇️
core/types/block.go 34.69% <0.00%> (-0.48%) ⬇️
core/types/log.go 53.33% <ø> (ø)
les/api.go 0.00% <0.00%> (ø)
core/vm/eips.go 31.11% <40.00%> (-0.89%) ⬇️
core/vm/interpreter.go 45.21% <50.00%> (ø)
eth/downloader/statesync.go 60.86% <66.66%> (+3.60%) ⬆️
core/types/gen_log_json.go 49.12% <75.00%> (+5.05%) ⬆️
eth/downloader/queue.go 79.94% <81.81%> (-1.66%) ⬇️
... and 27 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 246c144...d82cde1. Read the comment docs.

@gastonponti gastonponti merged commit 8c1841d into master Jun 18, 2021
@gastonponti gastonponti deleted the gastonponti/merge-upstream-1.9.18 branch June 18, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge upstream 1.9.18