Felix Lange
5883afb3ef
rpc: fix issue with null JSON-RPC messages ( #21497 )
4 years ago
libotony
05280a7ae3
eth/tracers: revert reason in call_tracer + error for failed internal calls ( #21387 )
...
* tests: add testdata of call tracer
* eth/tracers: return revert reason in call_tracer
* eth/tracers: regenerate assets
* eth/tracers: add error message even if no exec occurrs, fixes #21438
Co-authored-by: Martin Holst Swende <martin@swende.se>
4 years ago
Péter Szilágyi
d97e0063d5
Merge pull request #21491 from karalabe/state-sync-leak-fix
...
core/state, eth, trie: stabilize memory use, fix memory leak
4 years ago
ucwong
856307d8bb
go.mod | goleveldb latest update ( #21448 )
...
* go.mod | goleveldb latest update
* go.mod update
* leveldb options
* go.mod: double check
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
4 years ago
Marius van der Wijden
16d7eae1c8
eth: updated comments ( #21490 )
4 years ago
Péter Szilágyi
d8da0b3d81
core/state, eth, trie: stabilize memory use, fix memory leak
4 years ago
Marius van der Wijden
92b12ee6c6
accounts/abi/bind/backends: Disallow AdjustTime for non-empty blocks ( #21334 )
...
* accounts/abi/bind/backends: Disallow timeshift for non-empty blocks
* accounts/abi/bind/backends: added tests for adjust time
* accounts/abi/bind/simulated: added comments, fixed test for AdjustTime
* accounts/abi/bind/backends: updated comment
4 years ago
Felix Lange
fc20680b95
params: begin v1.9.21 release cycle
4 years ago
Felix Lange
979fc96899
params: release Geth v1.9.20
4 years ago
Péter Szilágyi
63a9d4b2ae
Merge pull request #21486 from karalabe/cht-1.9.20
...
params: update CHTs for v1.9.20 release
4 years ago
Péter Szilágyi
ce5f94920d
params: update CHTs for v1.9.20 release
4 years ago
Shude Li
341f451083
graphql: add support for retrieving the chain id ( #21451 )
4 years ago
Péter Szilágyi
d13b8e5570
Merge pull request #21483 from karalabe/freezer-truncate-silent
...
core/rawdb: only complain loudly if truncating many items
4 years ago
Péter Szilágyi
5655dce3b8
core/rawdb: only complain loudly if truncating many items
4 years ago
timcooijmans
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>
4 years ago
Péter Szilágyi
bdde616f23
Merge pull request #21477 from karalabe/snapshotter-shallow-generator
...
core/state/snapshot: reduce disk layer depth during generation
4 years ago
Péter Szilágyi
3ee91b9f2e
core/state/snapshot: reduce disk layer depth during generation
4 years ago
Martin Holst Swende
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
4 years ago
Martin Holst Swende
1b5a867eec
core: do less lookups when writing fast-sync block bodies ( #21468 )
4 years ago
gary rong
87c0ba9213
core, eth, les, trie: add a prefix to contract code ( #21080 )
4 years ago
Martin Holst Swende
493100ba4d
consensus/ethash: less lookups of block data
4 years ago
Péter Szilágyi
b68929caee
Merge pull request #21472 from holiman/fix_dltest_fail
...
eth/downloader: fix rollback issue on short chains
4 years ago
Martin Holst Swende
9f7b79af00
eth/downloader: fix rollback issue on short chains
4 years ago
Marius van der Wijden
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.
4 years ago
Péter Szilágyi
a70a79b285
Merge pull request #21466 from karalabe/go1.15
...
travis, dockerfile, appveyor, build: bump to Go 1.15
4 years ago
Péter Szilágyi
15fdaf2005
travis, dockerfile, appveyor, build: bump to Go 1.15
4 years ago
Péter Szilágyi
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
4 years ago
Marius van der Wijden
0bdd295cc0
core: more detailed metering for reorgs ( #21420 )
4 years ago
Martin Holst Swende
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
4 years ago
Péter Szilágyi
560d44479c
Merge pull request #21461 from karalabe/ppa-drop-disco
...
build: drop disco, enable groovy on Ubuntu PPAs
4 years ago
Péter Szilágyi
32b078d418
build: drop disco, enable groovy on Ubuntu PPAs
4 years ago
Giuseppe Bertone
2ff464b29d
core/state: fixed some comments ( #21450 )
4 years ago
Marius van der Wijden
f3bafecef7
metrics: make meter updates lock-free ( #21446 )
4 years ago
Martin Holst Swende
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
4 years ago
Péter Szilágyi
04926db204
params: begin v1.9.20 release cycle
4 years ago
Péter Szilágyi
3e0641923d
params: release Geth v1.9.19
4 years ago
Péter Szilágyi
74925e547f
Merge pull request #21437 from karalabe/cht-1.9.19
...
params: update CHTs for v1.9.19
4 years ago
Péter Szilágyi
7afdf792ab
params: update CHTs for v1.9.19
4 years ago
Martin Holst Swende
c28fd9c079
tests: add Berlin-definition identical to YOLOv1 ( #21435 )
4 years ago
Péter Szilágyi
4baa574410
Merge pull request #21434 from karalabe/ethstats-split-rwlock
...
ethstats: split read and write lock, otherwise they'll lock up
4 years ago
Péter Szilágyi
9f45d6efae
ethstats: split read and write lock, otherwise they'll lock up
4 years ago
Péter Szilágyi
cbbc54c495
Merge pull request #21433 from holiman/statsync_exiter
...
eth/downloader: allow all timers to exit
4 years ago
Martin Holst Swende
7cee2509c0
eth/downloader: allow all timers to exit
4 years ago
Péter Szilágyi
48b484c5ac
Merge pull request #21428 from holiman/ethstats_moar
...
ethstats: overwrite old errors
4 years ago
Péter Szilágyi
06125bff89
Merge pull request #21429 from holiman/timerfix
...
eth/downloader: set deliverytime on drops and timeouts too
4 years ago
Martin Holst Swende
9fea1a5cf5
eth/downloader: set deliverytime on drops and timeouts too
4 years ago
gary rong
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>
4 years ago
Martin Holst Swende
6a53ce29a4
ethstats: overwrite old errors
4 years ago
Péter Szilágyi
8f24097836
Merge pull request #21427 from karalabe/fix-statesync-delivery-time
...
eth/downloader: save the correct delivery time for state sync
4 years ago
Péter Szilágyi
4b9c0ea76d
eth/downloader: save the correct delivery time for state sync
4 years ago