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

Update to Latest Go-Ethereum Upstream #17

Merged
merged 351 commits into from
Apr 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
351 commits
Select commit Hold shift + click to select a range
3944976
Merge pull request #22177 from karalabe/snapshot-storage-logs
karalabe Jan 15, 2021
8d62ee6
les: don't drop sentTo for normal cases (#22048)
rjl493456442 Jan 15, 2021
c76573a
eth/protocols/eth: fix slice resize flaw (#22181)
dadeg Jan 16, 2021
034ecc3
les: remove useless protocol defines (#22115)
rjl493456442 Jan 16, 2021
3981822
tests/fuzzers/abi: better test generation (#22158)
MariusVanDerWijden Jan 18, 2021
10555d4
cmd/geth: dump config for metrics (#22083)
MariusVanDerWijden Jan 18, 2021
5e9f5ca
core/state/snapshot: write snapshot generator in batch (#22163)
rjl493456442 Jan 18, 2021
24c1e30
cmd/geth: graceful shutdown if disk is full (#22103)
alex347 Jan 19, 2021
45cb1a5
eth, les: add new config field SyncFromCheckpoint (#22123)
rjl493456442 Jan 19, 2021
d1301eb
oss-fuzz: fix abi fuzzer (#22199)
MariusVanDerWijden Jan 20, 2021
7da8f75
go.mod: upgrade golang-lru (#22134)
ucwong Jan 20, 2021
81bf9f9
downloader: extract findAncestor search functions (#21744)
meowsbits Jan 20, 2021
1e1865b
core: implement background trie prefetcher
holiman Feb 5, 2020
42f9f1f
core/state: convert prefetcher to concurrent per-trie loader
karalabe Jan 8, 2021
ddadc3d
Merge pull request #21047 from holiman/improve_updates_2
karalabe Jan 20, 2021
c4307a9
eth/filters: fix potential deadlock in filter timeout loop (#22178)
s1na Jan 21, 2021
231040c
event: add ResubscribeErr (#22191)
lukasz-zimnoch Jan 21, 2021
9e1bd0f
trie: fix range prover (#22210)
rjl493456442 Jan 22, 2021
f26c19c
common/mclock: remove dependency on github.com/aristanetworks/goarist…
fjl Jan 22, 2021
db35d77
cmd, geth: CLI help fixes (#22220)
ligi Jan 24, 2021
3708454
cmd, geth: CLI help fixes (#22220)
ligi Jan 24, 2021
797b081
eth/protocols/snap: snap sync testing (#22179)
holiman Jan 25, 2021
1770fe7
go.mod: update dependencies (#22216)
MariusVanDerWijden Jan 25, 2021
c0862f4
graphql: change receipt status to decimal instead of hex (#22187)
renaynay Jan 25, 2021
59a7913
go.mod: upgrade github.com/huin/goupnp (#22227)
ucwong Jan 25, 2021
04a7226
snapshot: merge loops for better performance (#22160)
ehnuje Jan 25, 2021
49cdcf5
core: reset to genesis when middle block is missing (#22135)
rjl493456442 Jan 25, 2021
adf130d
eth/tracers: move tracing APIs into eth/tracers (#22161)
rjl493456442 Jan 25, 2021
d2779ed
eth, p2p: reserve half peer slots for snap peers during snap sync (#2…
holiman Jan 25, 2021
7202b41
tests/fuzzers/abi: fixed one-off panic with int.Min64 value (#22233)
MariusVanDerWijden Jan 25, 2021
573f373
internal/ethapi: print tx details when submitting (#22170)
karalabe Jan 26, 2021
14d4954
core/state: fix panic in state dumping (#22225)
holiman Jan 26, 2021
6816182
core: speed up header import (#21967)
holiman Jan 26, 2021
ad038b6
accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212)
fjl Jan 26, 2021
9c57293
accounts/scwallet: update documentation (#22242)
gballet Jan 26, 2021
a72fa88
les: switch to new discv5 (#21940)
zsfelfoldi Jan 26, 2021
2e5d141
rpc: deprecate Client.ShhSubscribe (#22239)
gballet Jan 27, 2021
eb21c65
cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213)
s1na Jan 28, 2021
7a800f9
les/utils: UDP rate limiter (#21930)
zsfelfoldi Jan 28, 2021
f25b437
cmd/clef: don't check file permissions on windows (#22251)
holiman Jan 29, 2021
3c728fb
eth/tracers: fix unigram tracer (#22248)
s1na Feb 1, 2021
e3430ac
eth: check snap satelliteness, delegate drop to eth (#22235)
karalabe Feb 2, 2021
4eae0c6
cmd/geth, node: allow configuring JSON-RPC on custom path prefix (#22…
renaynay Feb 2, 2021
ef84da8
all: remove unneeded parentheses (#21921)
alexprut Feb 2, 2021
83e4c49
trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)
ucwong Feb 2, 2021
3512b41
core: reset txpool state on sethead (#22247)
MariusVanDerWijden Feb 3, 2021
54735a6
fuzzers: added consensys/gurvy library to bn256 differential fuzzer (…
MariusVanDerWijden Feb 3, 2021
2812132
internal/ethapi: comment nitpick (#22270)
MariusVanDerWijden Feb 5, 2021
098a2b6
eth: move eth.Config to a common package (#22205)
rjl493456442 Feb 5, 2021
fba5a63
internal/ethapi: fix typo in comment (#22271)
MariusVanDerWijden Feb 5, 2021
7ed860d
eth: don't wait for snap registration if we're not running snap (#22272)
holiman Feb 5, 2021
e74bd58
consensus: remove seal verification from the consensus engine interfa…
gballet Feb 5, 2021
994cdc6
cmd/utils: enable snapshots by default
karalabe Feb 7, 2021
477fd42
metrics: fix cast omission in cpu_syscall.go (#22262)
isdyaufh8o7cq Feb 8, 2021
bbe694f
Merge pull request #22280 from karalabe/snapshot-default
karalabe Feb 8, 2021
d86906f
params: just to make snapshots a bit more official
karalabe Feb 8, 2021
f566dd3
all: bloom-filter based pruning mechanism (#21724)
rjl493456442 Feb 8, 2021
123e934
Merge pull request #22288 from karalabe/1.10.unstable
karalabe Feb 8, 2021
2728672
core/state/pruner: fix compaction after pruning
karalabe Feb 8, 2021
944d901
Merge pull request #22291 from karalabe/fix-pruner-compaction
karalabe Feb 8, 2021
74dbc20
core/state/pruner: fix compaction range error
holiman Feb 8, 2021
2fdba3a
Merge pull request #22294 from holiman/pruner_compact_fix
karalabe Feb 9, 2021
2778667
internal/debug: add switch to format logs with json (#22207)
s1na Feb 9, 2021
cb3c7e4
accounts/abi/bind: fixed unpacking error (#22230)
MariusVanDerWijden Feb 10, 2021
409b16e
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
karalabe Feb 8, 2021
1bbc8a1
Merge pull request #22293 from karalabe/txunindex-1year
karalabe Feb 10, 2021
111abdc
cmd/devp2p: fix documentation for eth-test (#22298)
renaynay Feb 11, 2021
ef227c5
core: fix temp memory blowup caused by defers holding on to state
karalabe Feb 12, 2021
2fc465a
Merge pull request #22319 from karalabe/fix-defer-leak
karalabe Feb 12, 2021
7d1b711
les: enable les/4 and add tests (#22321)
zsfelfoldi Feb 12, 2021
08c878a
cmd/utils: add workaround for FreeBSD statfs quirk (#22310)
gballet Feb 15, 2021
7778780
cmd/geth: fix js unclean shutdown (#22302)
alex347 Feb 15, 2021
e991bda
trie: fix bloom crash on fast sync restart
karalabe Feb 16, 2021
f4fcd4f
rpc: increase the number of subscriptions in storm test (#22316)
gballet Feb 16, 2021
915c614
Merge pull request #22332 from karalabe/fix-fastsync-restart-bloom-crash
karalabe Feb 16, 2021
9ec3329
core/state/snapshot: ensure Cap retains a min number of layers
karalabe Feb 16, 2021
6291fc9
Merge pull request #22331 from karalabe/enforce-min-snap-difflayers
karalabe Feb 16, 2021
bfdff4c
eth: fix snap sync cancellation
karalabe Feb 16, 2021
f9445e9
cmd/devp2p/internal/ethtest: use shared message types (#22315)
renaynay Feb 16, 2021
1489c3f
Merge pull request #22334 from karalabe/fix-snap-cancel
karalabe Feb 16, 2021
e01096f
eth/handler, broadcast: optimize tx broadcast mechanism (#22176)
holiman Feb 17, 2021
52e5c38
core/state: copy the snap when copying the state (#22340)
holiman Feb 18, 2021
9ec32a9
rlp: handle case of normal EOF in Stream.readFull (#22336)
oneeman Feb 18, 2021
b1835b3
node: always show websocket url in logs (#22307)
holiman Feb 18, 2021
6ec1561
eth: implement eth66 (#22241)
holiman Feb 18, 2021
d36276d
p2p/dnsdisc: fix hot-spin when all trees are empty (#22313)
fjl Feb 19, 2021
c027507
les: renamed lespay to vflux (#22347)
zsfelfoldi Feb 19, 2021
ca76db6
cmd/utils: disable caching preimages by default
karalabe Feb 19, 2021
c5023e1
travis, appveyor, build: bump Go to 1.16
karalabe Feb 19, 2021
8647233
les: fix balance expiration (#22343)
zsfelfoldi Feb 19, 2021
8f03e3b
tests/fuzzers/les: add fuzzer for les server handler (#22282)
zsfelfoldi Feb 20, 2021
3ecfdcc
les: clean up server handler (#22357)
rjl493456442 Feb 22, 2021
c4a2b68
cmd/geth: add db commands stats, compact, put, get, delete (#22014)
holiman Feb 23, 2021
142fbcf
internal/ethapi: reject non-replay-protected txs over RPC (#22339)
MariusVanDerWijden Feb 23, 2021
2d1a0e9
accounts/abi/bind: fix up Go mod files for Go 1.16
karalabe Feb 23, 2021
2743fb0
Dockerfile: bump to Go 1.16 base images
karalabe Feb 23, 2021
4ee8d2d
travis, appveyor, build, Dockerfile: bump Go to 1.16 (#22351)
karalabe Feb 23, 2021
cdb6a84
Merge pull request #22350 from karalabe/disable-preimage-collection
karalabe Feb 23, 2021
c9aa267
travis: bump Android NDK version
karalabe Feb 23, 2021
b502c86
Merge pull request #22368 from karalabe/ndk-bump
karalabe Feb 23, 2021
70afe15
travis: bump builders to Bionic
karalabe Feb 23, 2021
bf5b379
Merge pull request #22369 from karalabe/android-bionic-builder
karalabe Feb 23, 2021
f54dc4a
travis: manually install Android since Travis is stale (#22373)
karalabe Feb 24, 2021
8e547ee
cmd/utils: remove deprecated command line flags (#22263)
renaynay Feb 24, 2021
b2b5c82
eth/protocols/snap: lower abortion and resumption logs to debug
karalabe Feb 25, 2021
96d9306
Merge pull request #22381 from karalabe/lower-error-log
karalabe Feb 25, 2021
378e961
cmd, eth, les: enable serving light clients when non-synced (#22250)
rjl493456442 Feb 25, 2021
7a3c890
les, light: improve txstatus retrieval (#22349)
rjl493456442 Feb 25, 2021
bbfb1e4
all: add support for EIP-2718, EIP-2930 transactions (#21502)
lightclient Feb 25, 2021
de9465f
cmd/devp2p: add eth66 test suite (#22363)
renaynay Feb 25, 2021
dc109cc
les: move server pool to les/vflux/client (#22377)
zsfelfoldi Feb 25, 2021
0928562
all: define Berlin hard fork spec
karalabe Feb 25, 2021
27b3137
rpc: add separate size limit for websocket (#22385)
fjl Feb 26, 2021
744707a
Merge pull request #22380 from karalabe/berlin
karalabe Feb 26, 2021
3822b09
accounts/keystore: use github.com/google/uuid (#22217)
MariusVanDerWijden Feb 26, 2021
498458b
core/state: fix eta calculation on pruning (#22386)
holiman Feb 26, 2021
d968704
les: UDP pre-negotiation of available server capacity (#22183)
zsfelfoldi Mar 1, 2021
19d7a37
core/rawdb: fix the transaction indexer (#22395)
rjl493456442 Mar 1, 2021
7834e4a
core, eth: unship EIP 2315
karalabe Mar 2, 2021
430f69e
core/vm/runtime: more unshipping
karalabe Mar 2, 2021
0540d3c
cmd/geth: put allowUnsecureTx flag in RPC section (#22412)
MariusVanDerWijden Mar 3, 2021
c539a05
params: update chts (#22418)
rjl493456442 Mar 3, 2021
07e907c
cmd/utils: fix txlookuplimit for archive node (#22419)
rjl493456442 Mar 3, 2021
ba99910
core/forkid, params: unset Berlin fork number (#22413)
karalabe Mar 3, 2021
b24804d
les: fix nodiscover option on the client side (#22422)
zsfelfoldi Mar 3, 2021
5a81dd9
cmd: retire whisper flags (#22421)
rjl493456442 Mar 3, 2021
cd316d7
tests: update to latest tests (#22290)
MariusVanDerWijden Mar 3, 2021
56dec25
params: release geth 1.10.0 stable
fjl Mar 3, 2021
6338537
params: begin v1.10.1 release cycle
fjl Mar 3, 2021
9230ca4
Revert "core/forkid, params: unset Berlin fork number (#22413)"
karalabe Mar 4, 2021
de61da9
build: fix PPA failure due to updated debsrc
karalabe Mar 4, 2021
89026d5
Merge pull request #22431 from karalabe/builder-fix-ppa
karalabe Mar 4, 2021
5b95453
build: add support for Ubuntu Hirsute Hippo
karalabe Mar 4, 2021
dab90e4
Merge pull request #22432 from karalabe/add-hirsute
karalabe Mar 4, 2021
658cb9f
Merge pull request #22414 from karalabe/unship-2315
karalabe Mar 7, 2021
44c0bb2
Merge pull request #22426 from ethereum/revert-22413-unship-berlin
karalabe Mar 7, 2021
72b8cac
tests: update reference tests with 2315 removed from Berlin
holiman Mar 7, 2021
5aba946
Merge pull request #22452 from holiman/testupdate_berlin
karalabe Mar 7, 2021
c2d2f4e
params: release Geth v1.10.1
karalabe Mar 8, 2021
1826708
params: begin v1.10.2 release cycle
karalabe Mar 8, 2021
be87f76
core/types: reduce allocations in GasPriceCmp (#22456)
MariusVanDerWijden Mar 8, 2021
3d299b7
les: fix errors in metric namespace (#22459)
holiman Mar 9, 2021
22082f9
cmd: extend dumpgenesis to support network flags on the cmd (#22406)
rjl493456442 Mar 9, 2021
aae7660
p2p/enr: fix decoding of incomplete lists (#22484)
fjl Mar 11, 2021
6387c52
cmd/geth: add ancient datadir flag to snapshot subcommands (#22486)
michael1011 Mar 12, 2021
3f74c8e
cmd/devp2p: better testcase failure output for ethtests (#22482)
holiman Mar 13, 2021
c6d4500
eth, les: properly init statedb accesslist during tracing (#22480)
holiman Mar 14, 2021
faacc8e
cmd/geth, eth/downloader: remove copydb command (#22501)
holiman Mar 15, 2021
bc47993
tests/fuzzers: fix goroutine leak in les fuzzer (#22455)
holiman Mar 16, 2021
9983072
core/types: improve comments in new EIP-2718 code (#22402)
lightclient Mar 16, 2021
7076e8e
cmd/clef: docs - link to ethereum org repo (#22400)
ligi Mar 16, 2021
7cbf1d7
cmd/clef (docs): fix image background (#22399)
ligi Mar 16, 2021
94ab4ea
core/rawdb: fix transaction indexing/unindexing hashing error (#22457)
holiman Mar 16, 2021
62d8022
les: fix UDP connection query (#22451)
zsfelfoldi Mar 16, 2021
6d9707a
les: fix UDP connection query (#22451)
zsfelfoldi Mar 16, 2021
91726e8
les: allow either full enode strings or raw hex ids in the API (#22423)
zsfelfoldi Mar 16, 2021
410089a
eth/protocols/snap, eth/downloader: don't use bloom filter in snap sync
holiman Mar 17, 2021
117fa7d
eth/protocols/snap: fix typo (#22530)
r1cs Mar 19, 2021
6a528fc
cmd/devp2p/internal/ethtest: return request ID in BlockHeaders respon…
renaynay Mar 19, 2021
aa8b218
ethclient: fix error handling for header test (#22514)
meowsbits Mar 19, 2021
38ea7f2
accounts/abi/bind: add NoSend transact option (#22446)
reds Mar 19, 2021
a90861a
go.mod: upgrade goleveldb to commit 64b5b1c (#22436)
ucwong Mar 19, 2021
345890a
go.mod: upgrade goupnp to commit 0ca76305 (#22479)
ucwong Mar 19, 2021
d50e9d2
consensus/ethash: remove unnecessary variable definition (#22512)
jacksoom Mar 19, 2021
e3a3f7c
cmd/devp2p: use AWS-SDK v2 (#22360)
qhenkart Mar 19, 2021
5bc0343
p2p/dnsdisc: fix flaw in dns size calculation (#22533)
holiman Mar 19, 2021
c454717
core: fix potential race in chainIndexerTest (#22346)
s1na Mar 19, 2021
d3040a8
cmd/devp2p/internal/ethtest: skip eth/66 tests when v66 not supported…
renaynay Mar 19, 2021
9429ab1
cmd/devp2p: add flag for AWS region (#22537)
fjl Mar 19, 2021
5bf6612
cmd/devp2p: fix error in updating the cursor when collecting records …
holiman Mar 20, 2021
36b51b8
cmd/devp2p: add old block announcement test to eth test suite (#22474)
renaynay Mar 20, 2021
ec73ec0
cmd/utils: fix compilation issue on openbsd (#22511)
tobias-hildebrandt Mar 20, 2021
eaccdba
core: fix method comment for `txpool.requestReset` (#22543)
derekchiang Mar 22, 2021
aab3560
accounts: eip-712 signing for ledger (#22378)
MrChico Mar 22, 2021
0c70b83
all: add read-only option to database (#22407)
rjl493456442 Mar 22, 2021
8d6cc16
cmd/geth: check block range against chain head in export cmd (#22387)
s1na Mar 22, 2021
a31f6d5
core/state/snapshot: fix panic on missing parent
karalabe Mar 22, 2021
f304290
Merge pull request #22551 from karalabe/snapshot-parent-get-panic
karalabe Mar 22, 2021
477ec75
Merge pull request #22513 from holiman/no_snap_bloom
karalabe Mar 23, 2021
e862cbf
internal/web3ext, node: migrate node admin API (Start|Stop)RPC->HTTP …
meowsbits Mar 23, 2021
5129cdc
cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565)
fjl Mar 24, 2021
15e6c27
p2p: fix minor typo and remove fd parameter in checkInboundConn (#22547)
terasum Mar 24, 2021
ab8fd4d
p2p/dnsdisc: rate limit resolving before checking cache (#22566)
fjl Mar 24, 2021
c5df05b
eth/protocols/snap: fix the flaws in the snap sync (#22553)
rjl493456442 Mar 24, 2021
0fda25e
eth/tracers, core: use scopecontext in tracers, provide statedb in ca…
holiman Mar 25, 2021
497448b
core: fix condition on header verification
holiman Mar 25, 2021
bed74b3
cmd/devp2p: fix comparison of TXT record value (#22572)
fjl Mar 25, 2021
4adf0b9
Merge pull request #22573 from holiman/checkfreq
karalabe Mar 25, 2021
54c0d57
eth: dump rpc gas cap and tx fee cap (#22574)
MariusVanDerWijden Mar 25, 2021
6d7ff6a
eth/protocols, metrics, p2p: add handler performance metrics
karalabe Mar 26, 2021
efe0229
Merge pull request #22581 from karalabe/network-latency-monitoring
karalabe Mar 26, 2021
2550e46
eth/protocols, metrics: use resetting histograms for rare packets
karalabe Mar 26, 2021
6477ea6
Merge pull request #22586 from karalabe/resettting-histogram
karalabe Mar 26, 2021
9557271
eth: fix corner case in sync head determination (#21695)
zouguangxian Mar 26, 2021
cae6b55
cmd/geth, consensus/ethash: add support for --miner.notify.full flag …
fjl Mar 26, 2021
62379f0
metrics/influxdb: don't push empty histograms, no measurement != 0
karalabe Mar 26, 2021
063f78c
Merge pull request #22590 from karalabe/nil-histogram
karalabe Mar 26, 2021
099be04
eth/protocols/snap: add peer id and req id to the timeout logs
karalabe Mar 26, 2021
e7f3962
Merge pull request #22591 from karalabe/snap-detailed-timeout-logs
karalabe Mar 26, 2021
27056f6
cmd/devp2p: update to newer cloudflare API client (#22588)
fjl Mar 26, 2021
76700ac
core/state/pruner: move the compaction out of the pruning procedure (…
rjl493456442 Mar 29, 2021
7644795
eth/protocols/snap: try to prevent requests timing out
holiman Mar 29, 2021
b6912c1
core: add BlockGen.GetBalance method (#22589)
renaynay Mar 29, 2021
24588ba
cmd/puppeth: specify working directory for nodejs 15 (#22549)
MariusVanDerWijden Mar 29, 2021
43a3768
Merge pull request #22596 from holiman/snap_timelimits
karalabe Mar 30, 2021
59ac3c9
cmd/geth: add db dumptrie command (#22563)
holiman Mar 30, 2021
44fe466
core/vm: fix Byzantium address list (#22603)
nebojsa94 Mar 30, 2021
3faae5d
ethstats: avoid creating subscriptions on background goroutine (#22587)
MariusVanDerWijden Mar 30, 2021
61ff3e8
core/state/snapshot, ethdb: track deletions more accurately (#22582)
karalabe Mar 30, 2021
4a37ae5
rpc: tighter shutdown synchronization in client subscription (#22597)
fjl Mar 30, 2021
55300d4
all: fix miner hashRate -> hashrate on API calls
karalabe Mar 31, 2021
73ed689
Merge pull request #22604 from karalabe/hashrate-capitalization-fix
karalabe Mar 31, 2021
c79fc20
core/state/snapshot: fix data race in diff layer (#22540)
fxfactorial Apr 6, 2021
706683e
internal/ethapi: fix eth_chainId method (#22243)
piersy Apr 6, 2021
adf09ae
graphql: add support for tx types and tx access lists (#22491)
AmitBRD Apr 6, 2021
5338ce4
internal/debug: add JSON log format and rename logging flags (#22341)
s1na Apr 6, 2021
95219ae
cmd/utils: move cache sanity check to SetEthConfig (#22510)
petesimard Apr 6, 2021
e275b1a
consensus/ethash: replace a magic number with it's constant (#22618)
Evolution404 Apr 6, 2021
2d89fe0
les: move client pool to les/vflux/server (#22495)
zsfelfoldi Apr 6, 2021
a600dab
eth, les: fix tracers (#22473)
rjl493456442 Apr 7, 2021
9d10856
core, eth, internal/ethapi: create access list RPC API (#22550)
MariusVanDerWijden Apr 7, 2021
2a7c4b6
eth: fix tracing state retrieval if requesting the non-dirty genesis
karalabe Apr 7, 2021
264fff7
Merge pull request #22629 from karalabe/fix-chain-tracing-from-0
karalabe Apr 7, 2021
e3ff37c
params: update CHTs for v1.10.2
karalabe Apr 8, 2021
a665f5d
Merge pull request #22632 from karalabe/cht-1.10.2
karalabe Apr 8, 2021
97d11b0
params: release go-ethereum v1.10.2 stable
fjl Apr 8, 2021
04dcc93
params: begin v1.10.3 release cycle
fjl Apr 8, 2021
fe1586b
eth, les: drop support for eth/64, fix eth/66 tests
karalabe Apr 8, 2021
9c653ff
Merge pull request #22636 from karalabe/drop-eth64
karalabe Apr 9, 2021
6c27d8f
accounts: documentation fixes (#22645)
balajipachai Apr 13, 2021
271e5b7
cmd/geth: add db-command to inspect freezer index (#22633)
holiman Apr 13, 2021
72e3794
cmd/faucet: support testnet flags in the faucet (#22545)
maxsam4 Apr 13, 2021
a50251e
eth/fetcher: avoid spurious timer events at startup (#22652)
r1cs Apr 14, 2021
7088f1e
core, eth: faster snapshot generation (#22504)
rjl493456442 Apr 14, 2021
d5e5794
core/types: drop some relice data types
karalabe Apr 14, 2021
d8ff53d
Merge pull request #22666 from karalabe/remove-stale-datatype
karalabe Apr 14, 2021
1e20734
all: make logs a bit easier on the eye to digest (#22665)
karalabe Apr 15, 2021
9553c98
eth/protocols/snap: use ephemeral channels to avoid cross-sync delveries
karalabe Apr 15, 2021
3cfd0fe
core: add TestGenesisHashes and fix YoloV3 (#22559)
meowsbits Apr 15, 2021
fda93f6
log: fix formatting of big.Int (#22679)
fjl Apr 16, 2021
f8afb68
Merge pull request #22678 from karalabe/snap-ephemeral-channels
karalabe Apr 16, 2021
65689e7
les/vflux/server: fix priority cornercase causing fuzzer timeout (#22…
zsfelfoldi Apr 16, 2021
4f3ba67
trie: make stacktrie not mutate input values (#22673)
holiman Apr 16, 2021
09d44e9
core/state/snapshot: avoid copybytes for stacktrie
holiman Apr 16, 2021
f79cce5
eth/catalyst: add catalyst API prototype (#22641)
gballet Apr 16, 2021
e43ac53
Merge pull request #22686 from holiman/minor_fixes
karalabe Apr 18, 2021
4246565
cmd/devp2p: add support for -limit option in nodeset filter command (…
fjl Apr 19, 2021
653b7e9
cmd/devp2p: add dns nuke-route53 command (#22695)
fjl Apr 19, 2021
51f8505
sync
rauljordan Apr 19, 2021
643e612
builds
rauljordan Apr 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Please make sure your contributions adhere to our coding guidelines:
Before you submit a feature request, please check and make sure that it isn't
possible through some other means. The JavaScript-enabled console is a powerful
feature in the right hands. Please check our
[Wiki page](https://github.com/ethereum/go-ethereum/wiki) for more info
[Geth documentation page](https://geth.ethereum.org/docs/) for more info
and help.

## Configuration, dependencies, and tests

Please see the [Developers' Guide](https://github.com/ethereum/go-ethereum/wiki/Developers'-Guide)
Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/devguide)
for more details on configuring your environment, managing project dependencies
and testing procedures.
93 changes: 46 additions & 47 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
allow_failures:
- stage: build
os: osx
go: 1.14.x
go: 1.15.x
env:
- azure-osx
- azure-ios
Expand All @@ -15,8 +15,8 @@ jobs:
# This builder only tests code linters on latest version of Go
- stage: lint
os: linux
dist: xenial
go: 1.15.x
dist: bionic
go: 1.16.x
env:
- lint
git:
Expand All @@ -28,8 +28,8 @@ jobs:
- stage: build
if: type = push
os: linux
dist: xenial
go: 1.15.x
dist: bionic
go: 1.16.x
env:
- ubuntu-ppa
- GO111MODULE=on
Expand All @@ -52,9 +52,9 @@ jobs:
- stage: build
if: type = push
os: linux
dist: xenial
dist: bionic
sudo: required
go: 1.15.x
go: 1.16.x
env:
- azure-linux
- GO111MODULE=on
Expand All @@ -67,31 +67,31 @@ jobs:
script:
# Build for the primary platforms that Trusty can manage
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
- go run build/ci.go install -dlgo -arch 386
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# Switch over GCC to cross compilation (breaks 386, hence why do it here only)
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
- sudo ln -s /usr/include/asm-generic /usr/include/asm

- GOARM=5 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
- GOARM=6 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
- GOARM=7 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabihf-gcc
- GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
- go run build/ci.go install -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# This builder does the Linux Azure MIPS xgo uploads
- stage: build
if: type = push
os: linux
dist: xenial
dist: bionic
services:
- docker
go: 1.15.x
go: 1.16.x
env:
- azure-linux-mips
- GO111MODULE=on
Expand All @@ -100,64 +100,63 @@ jobs:
script:
- go run build/ci.go xgo --alltools -- --targets=linux/mips --ldflags '-extldflags "-static"' -v
- for bin in build/bin/*-linux-mips; do mv -f "${bin}" "${bin/-linux-mips/}"; done
- go run build/ci.go archive -arch mips -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -arch mips -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

- go run build/ci.go xgo --alltools -- --targets=linux/mipsle --ldflags '-extldflags "-static"' -v
- for bin in build/bin/*-linux-mipsle; do mv -f "${bin}" "${bin/-linux-mipsle/}"; done
- go run build/ci.go archive -arch mipsle -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -arch mipsle -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

- go run build/ci.go xgo --alltools -- --targets=linux/mips64 --ldflags '-extldflags "-static"' -v
- for bin in build/bin/*-linux-mips64; do mv -f "${bin}" "${bin/-linux-mips64/}"; done
- go run build/ci.go archive -arch mips64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -arch mips64 -type tar -signer LINUX_SIGNING_KEY signify SIGNIFY_KEY -upload gethstore/builds

- go run build/ci.go xgo --alltools -- --targets=linux/mips64le --ldflags '-extldflags "-static"' -v
- for bin in build/bin/*-linux-mips64le; do mv -f "${bin}" "${bin/-linux-mips64le/}"; done
- go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# This builder does the Android Maven and Azure uploads
- stage: build
if: type = push
os: linux
dist: xenial
dist: bionic
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
language: android
android:
components:
- platform-tools
- tools
- android-15
- android-19
- android-24
- openjdk-8-jdk
env:
- azure-android
- maven-android
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
before_install:
- curl https://dl.google.com/go/go1.15.5.linux-amd64.tar.gz | tar -xz
# Install Android and it's dependencies manually, Travis is stale
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- curl https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -o android.zip
- unzip -q android.zip -d $HOME/sdk && rm android.zip
- mv $HOME/sdk/cmdline-tools $HOME/sdk/latest && mkdir $HOME/sdk/cmdline-tools && mv $HOME/sdk/latest $HOME/sdk/cmdline-tools
- export PATH=$PATH:$HOME/sdk/cmdline-tools/latest/bin
- export ANDROID_HOME=$HOME/sdk

- yes | sdkmanager --licenses >/dev/null
- sdkmanager "platform-tools" "platforms;android-15" "platforms;android-19" "platforms;android-24" "ndk-bundle"

# Install Go to allow building with
- curl https://dl.google.com/go/go1.16.linux-amd64.tar.gz | tar -xz
- export PATH=`pwd`/go/bin:$PATH
- export GOROOT=`pwd`/go
- export GOPATH=$HOME/go
script:
# Build the Android archive and upload it to Maven Central and Azure
- curl https://dl.google.com/android/repository/android-ndk-r19b-linux-x86_64.zip -o android-ndk-r19b.zip
- unzip -q android-ndk-r19b.zip && rm android-ndk-r19b.zip
- mv android-ndk-r19b $ANDROID_HOME/ndk-bundle

- mkdir -p $GOPATH/src/github.com/ethereum
- ln -s `pwd` $GOPATH/src/github.com/ethereum/go-ethereum
- go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
- go run build/ci.go aar -signer ANDROID_SIGNING_KEY -signify SIGNIFY_KEY -deploy https://oss.sonatype.org -upload gethstore/builds

# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
- stage: build
if: type = push
os: osx
go: 1.15.x
go: 1.16.x
env:
- azure-osx
- azure-ios
Expand All @@ -167,7 +166,7 @@ jobs:
submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go install -dlgo
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds

# Build the iOS framework and upload it to CocoaPods and Azure
- gem uninstall cocoapods -a -x
Expand All @@ -182,14 +181,14 @@ jobs:

# Workaround for https://github.com/golang/go/issues/23749
- export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -signify SIGNIFY_KEY -deploy trunk -upload gethstore/builds

# These builders run the tests
- stage: build
os: linux
arch: amd64
dist: xenial
go: 1.15.x
dist: bionic
go: 1.16.x
env:
- GO111MODULE=on
script:
Expand All @@ -199,17 +198,17 @@ jobs:
if: type = pull_request
os: linux
arch: arm64
dist: xenial
go: 1.15.x
dist: bionic
go: 1.16.x
env:
- GO111MODULE=on
script:
- go run build/ci.go test -coverage $TEST_PACKAGES

- stage: build
os: linux
dist: xenial
go: 1.14.x
dist: bionic
go: 1.15.x
env:
- GO111MODULE=on
script:
Expand All @@ -219,8 +218,8 @@ jobs:
- stage: build
if: type = cron
os: linux
dist: xenial
go: 1.15.x
dist: bionic
go: 1.16.x
env:
- azure-purge
- GO111MODULE=on
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Geth in a stock Go builder container
FROM golang:1.15-alpine as builder
FROM golang:1.16-alpine as builder

RUN apk add --no-cache make gcc musl-dev linux-headers git

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.alltools
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Geth in a stock Go builder container
FROM golang:1.15-alpine as builder
FROM golang:1.16-alpine as builder

RUN apk add --no-cache make gcc musl-dev linux-headers git

Expand Down
Loading