fc20680b95
params: begin v1.9.21 release cycle
2020-08-25 16:21:41 +02:00
979fc96899
params: release Geth v1.9.20
v1.9.20
2020-08-25 16:20:37 +02:00
63a9d4b2ae
Merge pull request #21486 from karalabe/cht-1.9.20
...
params: update CHTs for v1.9.20 release
2020-08-25 13:25:23 +03:00
ce5f94920d
params: update CHTs for v1.9.20 release
2020-08-25 13:02:51 +03:00
341f451083
graphql: add support for retrieving the chain id ( #21451 )
2020-08-25 11:38:56 +03:00
d13b8e5570
Merge pull request #21483 from karalabe/freezer-truncate-silent
...
core/rawdb: only complain loudly if truncating many items
2020-08-25 09:21:44 +03:00
5655dce3b8
core/rawdb: only complain loudly if truncating many items
2020-08-25 09:03:14 +03:00
7b5107b73f
p2p/discover: avoid dropping unverified nodes when table is almost empty ( #21396 )
...
This change improves discovery behavior in small networks. Very small
networks would often fail to bootstrap because all member nodes were
dropping table content due to findnode failure. The check is now changed
to avoid dropping nodes on findnode failure when their bucket is almost
empty. It also relaxes the liveness check requirement for FINDNODE/v4
response nodes, returning unverified nodes as results when there aren't
any verified nodes yet.
The "findnode failed" log now reports whether the node was dropped
instead of the number of results. The value of the "results" was
always zero by definition.
Co-authored-by: Felix Lange <fjl@twurst.com >
2020-08-24 14:42:39 +02:00
bdde616f23
Merge pull request #21477 from karalabe/snapshotter-shallow-generator
...
core/state/snapshot: reduce disk layer depth during generation
2020-08-24 14:00:57 +03:00
3ee91b9f2e
core/state/snapshot: reduce disk layer depth during generation
2020-08-24 13:22:36 +03:00
0f4e7c9b0d
eth: utilize sync bloom for getNodeData ( #21445 )
...
* eth/downloader, eth/handler: utilize sync bloom for getNodeData
* trie: handle if bloom is nil
* trie, downloader: check bloom nilness externally
2020-08-24 11:32:12 +03:00
1b5a867eec
core: do less lookups when writing fast-sync block bodies ( #21468 )
2020-08-22 18:12:04 +02:00
87c0ba9213
core, eth, les, trie: add a prefix to contract code ( #21080 )
2020-08-21 15:10:40 +03:00
b68929caee
Merge pull request #21472 from holiman/fix_dltest_fail
...
eth/downloader: fix rollback issue on short chains
2020-08-21 14:43:14 +03:00
9f7b79af00
eth/downloader: fix rollback issue on short chains
2020-08-21 13:36:08 +02:00
4e54b1a45e
metrics: zero temp variable in updateMeter ( #21470 )
...
* metrics: zero temp variable in updateMeter
Previously the temp variable was not updated properly after summing it to count.
This meant we had astronomically high metrics, now we zero out the temp whenever we
sum it onto the snapshot count
* metrics: move temp variable to be aligned, unit tests
Moves the temp variable in MeterSnapshot to be 64-bit aligned because of the atomic bug.
Adds a unit test, that catches the previous bug.
2020-08-21 11:04:36 +03:00
a70a79b285
Merge pull request #21466 from karalabe/go1.15
...
travis, dockerfile, appveyor, build: bump to Go 1.15
2020-08-20 17:41:26 +03:00
15fdaf2005
travis, dockerfile, appveyor, build: bump to Go 1.15
2020-08-20 16:41:37 +03:00
8cbdc8638f
core: define and test chain rewind corner cases ( #21409 )
...
* core: define and test chain reparation cornercases
* core: write up a variety of set-head tests
* core, eth: unify chain rollbacks, handle all the cases
* core: make linter smile
* core: remove commented out legacy code
* core, eth/downloader: fix review comments
* core: revert a removed recovery mechanism
2020-08-20 13:01:24 +03:00
0bdd295cc0
core: more detailed metering for reorgs ( #21420 )
2020-08-20 09:49:35 +02:00
7ebc6c43ff
cmd/evm: statet8n output folder + tx hashes on trace filenames ( #21406 )
...
* t8ntool: add output basedir
* t8ntool: add txhash to trace filename
* t8ntool: don't default to '.' basedir, allow absolute paths
2020-08-19 11:31:13 +02:00
560d44479c
Merge pull request #21461 from karalabe/ppa-drop-disco
...
build: drop disco, enable groovy on Ubuntu PPAs
2020-08-19 10:29:54 +03:00
32b078d418
build: drop disco, enable groovy on Ubuntu PPAs
2020-08-19 10:28:08 +03:00
2ff464b29d
core/state: fixed some comments ( #21450 )
2020-08-19 09:54:21 +03:00
f3bafecef7
metrics: make meter updates lock-free ( #21446 )
2020-08-18 11:27:04 +02:00
54add42550
cmd/geth/tests: try to fix spurious travis failure in les tests ( #21410 )
...
* cmd/geth/tests: try to fix spurious travis failure in les tests
* cmd/geth: les_test - remove extraneous option during boot
2020-08-14 14:18:12 +02:00
04926db204
params: begin v1.9.20 release cycle
2020-08-11 14:11:16 +03:00
3e0641923d
params: release Geth v1.9.19
v1.9.19
2020-08-11 14:10:21 +03:00
74925e547f
Merge pull request #21437 from karalabe/cht-1.9.19
...
params: update CHTs for v1.9.19
2020-08-11 10:34:08 +03:00
7afdf792ab
params: update CHTs for v1.9.19
2020-08-11 10:20:03 +03:00
c28fd9c079
tests: add Berlin-definition identical to YOLOv1 ( #21435 )
2020-08-10 21:06:14 +02:00
4baa574410
Merge pull request #21434 from karalabe/ethstats-split-rwlock
...
ethstats: split read and write lock, otherwise they'll lock up
2020-08-10 15:13:31 +03:00
9f45d6efae
ethstats: split read and write lock, otherwise they'll lock up
2020-08-10 14:33:22 +03:00
cbbc54c495
Merge pull request #21433 from holiman/statsync_exiter
...
eth/downloader: allow all timers to exit
2020-08-10 12:08:46 +03:00
7cee2509c0
eth/downloader: allow all timers to exit
2020-08-10 10:42:33 +02:00
48b484c5ac
Merge pull request #21428 from holiman/ethstats_moar
...
ethstats: overwrite old errors
2020-08-07 19:40:28 +03:00
06125bff89
Merge pull request #21429 from holiman/timerfix
...
eth/downloader: set deliverytime on drops and timeouts too
2020-08-07 16:36:33 +03:00
9fea1a5cf5
eth/downloader: set deliverytime on drops and timeouts too
2020-08-07 15:34:58 +02:00
e401f5ff10
les: close all connected les-server when shutdown ( #21426 )
...
* les: close all connected les-server when shutdown
* les: linter nitpick
Co-authored-by: Martin Holst Swende <martin@swende.se >
2020-08-07 15:33:00 +02:00
6a53ce29a4
ethstats: overwrite old errors
2020-08-07 14:44:44 +02:00
8f24097836
Merge pull request #21427 from karalabe/fix-statesync-delivery-time
...
eth/downloader: save the correct delivery time for state sync
2020-08-07 15:27:00 +03:00
4b9c0ea76d
eth/downloader: save the correct delivery time for state sync
2020-08-07 15:17:13 +03:00
3bb8a4ed3f
Merge pull request #21425 from holiman/leslock
...
les: update checktime even if check fails
2020-08-07 12:32:01 +03:00
983cb25a07
les: update checktime even if check fails
2020-08-07 10:57:02 +02:00
68754f3931
cmd/utils: grant snapshot cache to trie if disabled ( #21416 )
...
* cmd/utils: grant snapshot cache to trie if disabled
* eth: fix up default non-mainnet cache distribution
2020-08-06 15:28:31 +03:00
5d4512b113
eth: use maxQueuedTxAnns for to limit the number of transactions announced ( #21419 )
2020-08-06 15:19:00 +03:00
d21303f9dd
cmd/geth: fixes db unavailability for chain commands ( #21415 )
...
* chaincmd should make config nodes instead of full nodes
* add documentation for using makeConfigNode instead of makeFullNode;
* add documentation to functions
* code style
2020-08-06 10:24:36 +03:00
4fde0cabc1
Merge pull request #21411 from holiman/fix_codelookup
...
core/vm: avoid map lookups for accessing jumpdest analysis
2020-08-06 08:09:15 +03:00
4a04127ce3
cmd/geth: fix import / export issues related to DB unavailability ( #21414 )
...
* should fix import / export issues related to DB unavailability
* document reason for makeConfigNode
* fix comment
* comment consistency
* remove comments
* lint
2020-08-06 08:02:05 +03:00
2de37f28e0
downloader: add eth65 tests ( #21383 )
...
* eth65 tests
linted
* remove non-latest eth light tests
2020-08-05 12:22:29 +03:00