Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Update to v1.9.5 #12

Merged
merged 463 commits into from
Sep 29, 2019
Merged

Update to v1.9.5 #12

merged 463 commits into from
Sep 29, 2019

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Sep 29, 2019

Updates our fork to v1.9.5 of geth

karalabe and others added 30 commits June 5, 2019 16:52
account/usbwallet: abort usb enumeration after failures
This makes the test work if NetworkId is changed in forks of go-ethereum.
vendor: pull fixed usb library for nocgo builds
Github has started supporting SECURITY.md to contain a project's security policy. Adding this information to the repository makes it easier to determine how to disclosure a vulnerability as SECURITY.md becomes a standard.

The pgp fingerprint and key is taken from bounty.ethereum.org.
vendor: pull in USB fix for docker (alpine/musl)
* p2p/discover: export Ping and RequestENR

These two are useful for checking the status of a node.

* cmd/devp2p: add devp2p debug tool

This is a new tool for debugging p2p issues. It supports a few
basic tasks for now, but many more things can and will be added
in the near future.

   devp2p enrdump            -- prints ENRs readably
   devp2p discv4 ping        -- checks if a node is up
   devp2p discv4 requestenr  -- gets a node's record
   devp2p discv4 resolve     -- finds a node through the DHT
* p2p/enr: add entries for for IPv4/IPv6 separation

This adds entry types for "ip6", "udp6", "tcp6" keys. The IP type stays
around because removing it would break a lot of code and force everyone
to care about the distinction.

* p2p/enode: track IPv4 and IPv6 address separately

LocalNode predicts the local node's UDP endpoint and updates the record.
This change makes it predict IPv4 and IPv6 endpoints separately since
they can now be in the record at the same time.

* p2p/enode: implement base64 text format
* all: switch to enode.Parse(...)

This allows passing base64-encoded node records to all the places that
previously accepted enode:// URLs. The URL format is still supported.

* cmd/bootnode, p2p: log node URL instead of ENR

...and return the base64 record in NodeInfo.
* vendor: remove unused dependencies

These were used by swarm code, which has now migrated to its own repository.

* travis.yml: remove sudo requirement for test builders

These needed sudo to run FUSE tests for swarm.
* Fix file system access for Windows

* Encapsulate file accesses

* Style fixes
core, ethdb, metrics, p2p: expose various counter metrics for grafana
* eth, les: reject stale request

* les: reuse local head number
The dialer limits itself to one attempt every 30s. Apply the same limit
in Server and reject peers which try to connect too eagerly. The check
against the limit happens right after accepting the connection.

Further changes in this commit ensure we pass the Server logger
down to Peer instances, discovery and dialState. Unit test logging now
works in all Server tests.
…9694)

EIP-695 was written in 2017. Parity and Infura have support for this
method and we should, too.
eth: enforce stricter known limits on idle peers
les/handler: avoid lookup missing state
renamed NewKeyStoreFromTransactor to NewKeystoreTransactor
fixed godoc
* 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
* appveyor: bump to Go 1.12.6

* vendor/vendor.json: govendor fetch github.com/karalabe/usb/^
karalabe and others added 24 commits September 16, 2019 11:05
core/state: accumulate writes and only update tries when must
This change adds tests for the virtual clock and aligns the interface
with the time package by renaming Cancel to Stop. It also removes the
binary search from Stop because it complicates the code unnecessarily.
cmd/evm: make evm default to all ethash protocol changes
* txpool: smaller lock portion

* core/tx_pool: fix data race
core: dedup known transactions without global lock, track metrics
* les: detailed relative cost metrics

* les: filter txpool relative request statistic

* les: initialize price factors

* les: increased connected bias to lower churn rate

* les: fixed clientPool.setLimits

* core: do not use mutex in GetAncestor

* les: bump factor db version again

* les: add metrics

* les, light: minor fixes
core: fix tx dedup return error count
params: bump CHTs for the 1.9.4 release
params: activate Istanbul on Ropsten, Rinkeby and Görli
deepCopy didn't copy pending storage updates, leading to the
creation of blocks with invalid state root.
@CLAassistant
Copy link

CLAassistant commented Sep 29, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 11 committers have signed the CLA.

✅ SjonHortensius
✅ nisdas
❌ karalabe
❌ holiman
❌ trung
❌ FlashSheridan
❌ soc1c
❌ rmulhol
❌ rjl493456442
❌ zsfelfoldi
❌ fjl
You have signed the CLA already but the status is still pending? Let us recheck it.

@nisdas nisdas merged commit 5c58ffb into master Sep 29, 2019
@delete-merged-branch delete-merged-branch bot deleted the updateTo1.9.5 branch September 29, 2019 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet