Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge/foundation master 20200727 #158

Merged
merged 20 commits into from
Jul 27, 2020
Merged

Conversation

meowsbits
Copy link
Contributor

Updates through latest ethereum/go-ethereum release 1.9.18, which fixed some bugs in 1.9.17.

This PR'd change set is on top of #157 as well, which should be merged to master before this.

holiman and others added 20 commits July 24, 2020 10:46
* 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 <[email protected]>
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
…path

Updates to work with their refactoring dir
system.

Signed-off-by: meows <[email protected]>

params/parity.json.d/sync-parity-remote.sh: !squashme - test-spec filepath rename

Signed-off-by: meows <[email protected]>
…om parity-available configs

They removed ETC configurations from their defaults.
https://github.com/openethereum/openethereum/pull/11821

Signed-off-by: meows <[email protected]>
…d/eip158_to_byzantiumat5_test.json.json,params/parity.json.d/foundation.json,params/parity.json.d/ropsten.json,params/parity.json.d/transition_test.json: sync parity configs

Signed-off-by: meows <[email protected]>
Files were renamed at openethereum/openethereum.

The generated tests will need to be regenerated as well,
since they include the filenames and shasums of the
test spec files.

Signed-off-by: meows <[email protected]>

params/parity.json.d/sync-parity-remote.sh: !squashme - fix typo in test name

Signed-off-by: meows <[email protected]>

tests: !squashme fix typo in generate config:file map

Signed-off-by: meows <[email protected]>

params/parity.json.d/eip158_to_byzantiumat5_test.json,params/parity.json.d/eip158_to_byzantiumat5_test.json.json: !squashme fix filepath for parity byzantiumat5 test"

Signed-off-by: meows <[email protected]>
Regenerated tests included the latest changes from
openethereum/openethereum. These changes were
renamings of test spec files, transition_test ->
eip158_to_byzantiumat5 and st_peters -> constantinople_fix

Signed-off-by: meows <[email protected]>
Install support for OpenEthereum data type for
EIP2537 configuration feature.

EIP2537 adds 9 precompiles for BLS12-381 curve.

Signed-off-by: meows <[email protected]>

parity: (lint) goimports -w

Signed-off-by: meows <[email protected]>

parity: !squashme fix typo

Signed-off-by: meows <[email protected]>
@meowsbits meowsbits self-assigned this Jul 27, 2020
@meowsbits meowsbits merged commit 7b753a4 into master Jul 27, 2020
@meowsbits meowsbits deleted the merge/foundation-master-20200727 branch July 27, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants