Commit Graph

14374 Commits

Author SHA1 Message Date
Andrea Lanfranchi
f909be7157
Update kv_interface.go (#2338)
Amend comment
2021-07-10 18:15:31 +07:00
Alex Sharov
43af5d42b8
simplify staged sync world (#2336)
* simplify world

* simplify world

* simplify world
2021-07-10 16:43:58 +07:00
Alex Sharov
7cbe6e9f28
add swap metrics (#2333) 2021-07-10 12:19:29 +07:00
Alex Sharov
e340fa0deb
remove azure deps (#2334) 2021-07-10 12:00:58 +07:00
Marin Ivanov
c89ec2047e
Add parameter for minimum time between sync loop iterations (#2332)
* Add parameter for minimum time between sync loop iterations

* Rename cli parameter --throttle.minLoopTime => --sync.loop.throttle
2021-07-10 09:19:44 +07:00
alex.sharov
5d4c7237dc 1559_rpc_call_and_tracing 2021-07-09 17:54:27 +07:00
Alex Sharov
858fb3f503
mainnet london block and port some go-ethereum fixes related to baseFee (#2323) 2021-07-09 16:54:06 +07:00
Juuso Haavisto
e81b3f7638
Docker: explicitly declare base image source (#2322)
Some container engines such as podman have started to prompt the user to explicitly state (thus sometimes causing service scripts on systemd) to fail for lack of mentioning what container image hub is used. This change declares the hub to be docker.io, thus removing the prompt on systems that use podman.
2021-07-09 16:45:18 +07:00
Alex Sharov
3fcb6187f2
DockerHub support (#2325) 2021-07-09 16:40:11 +07:00
Alex Sharov
3347068dc5
mainnet london block and port some go-ethereum fixes related to baseFee (#2324) 2021-07-09 16:16:34 +07:00
Alex Sharov
fbf2a6bf98
Docker (breaking changes): use thorax/erigon image (#2277) 2021-07-09 15:37:36 +07:00
Alex Sharov
e5ea85005e
eth_call base_fee (#2319) 2021-07-09 00:04:31 +07:00
Alex Sharov
e98340d806
Simplify stagedsync.Prepare (#2317) 2021-07-08 20:52:22 +07:00
Alex Sharov
5ceaac53f6
batch cancel (#2314) 2021-07-08 19:40:49 +07:00
Alex Sharov
76bc954283
Sokol v0: can process 1-st block (#2310) 2021-07-08 19:40:43 +07:00
ledgerwatch
95ab8506bc
Update skip_analysis.go (#2315) 2021-07-08 11:54:43 +01:00
Alex Sharov
7c60cc0fee
step towards kv interface (#2313) 2021-07-08 09:56:09 +07:00
Alex Sharov
a78cb54132
step towards kv interface (#2311) 2021-07-07 23:15:49 +07:00
Alex Sharov
360735318b
rpc: add --rpc.batch.concurrency flag (#2308) 2021-07-07 10:48:21 +07:00
b00ris
57473175ff
Body snapshot (#2100)
* fix test

* get rid of ObjectDatabase

* sn_builder_prototype2

* save state

* save state

* integration step1

* fix lint

* fix

* fix test

* integrate migrator.finish

* fix lint

* fix build

* fix typo

* save state

* body snapshot test

* unique tx

* body snapshot generation using walk

* move methods out of test

* block data verification added

* fix lint

* test with remove works correctly

* fix lint

* remove experiment test

* fix test

* add comment

* add second layer of remove test

* rename test

* fix typos

* fix lint

* revert testdata

* body snapshot migration save state

* fix body snapshot migration

* fix after merge

* remove debug test

* debug windows build

* fix build

* fix

* fix lint

* debug

* fix

* fix windows build

* simplify snapshot management&&get rid of lazy tx

* fix lint

* fix windows path

* debug

* debug

* debug

* debug

* remove geometry experiments

* skip windows tests

* clean

* fix

* fix ;int
2021-07-06 23:33:26 +01:00
Alex Sharov
ea5abbe0b5
mdbx: add trace info to open error (#2305)
* add stack info to open error

* add stack info to open error
2021-07-05 19:53:11 +01:00
Alex Sharov
a68b5ba361
Replace ChainConfig.WithEIPsFlags by go-ethereum's ChainConfig.Rules (#2304)
* use chainRules

* use chainRules

* use chainRules

* use chainRules

* use chainRules
2021-07-05 19:52:50 +01:00
ledgerwatch
9023f2a29c
Investigate slow receipt repair (#2306)
* Collect data about broken receipts

* Actually collect data

* Fix CBOR problem more efficiently

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-05 19:14:58 +01:00
ledgerwatch
954304e43a
Turn off receipt repair migration for investigation (#2303)
* receipt repair migration - check for r storage mode

* Turn off migration

* Fix lint

* Better way to disable migration

* Better way to disable migration

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-07-05 11:25:18 +01:00
Alex Sharov
9683b26483
remove ctx from state writer interface (#2302) 2021-07-05 15:42:44 +07:00
ledgerwatch
afadde628c
receipt repair migration - check for r storage mode (#2301)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-07-05 08:53:46 +01:00
dependabot[bot]
7cca5abfea
Bump github.com/google/btree from 1.0.0 to 1.0.1 (#2299) 2021-07-05 14:05:09 +07:00
dependabot[bot]
feb67c773a
Bump github.com/rs/cors from 1.7.0 to 1.8.0 (#2298) 2021-07-05 14:05:00 +07:00
ledgerwatch
7c8d85d829
Update skip_analysis.go (#2295) 2021-07-05 07:32:42 +01:00
ledgerwatch
63ccabc72f
Receipt repair migration (#2291)
* Fixes in rpctest and rpcdaemon for debug_traceTransaction

* Fix for opcode tracer

* Tool to fix receipts

* Better mechanism for detecting broken receipts

* Fixes

* Introduce receipt_repair migration

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-04 14:48:13 +01:00
Alex Sharov
afd8674c4b
Peer log (#2294)
* Revert "Revert "better handshake""

This reverts commit 4141c54c95.

* better peers logs

* better peers logs
2021-07-04 08:51:08 +01:00
Alex Sharov
ba902f7ef3
separate_config_from_node_and_eth (#2289) 2021-07-04 08:50:32 +01:00
Alex Sharov
3db7e85994
Simplify GetAsOf (#2285)
* no reason to copy if we work with ethdb.Tx (user of ethdb.Tx expecting that all data valid until end of tx)

* less objects
2021-07-04 08:49:31 +01:00
ledgerwatch
3f74cbf3a7
Update snapshot_builder_test.go (#2290) 2021-07-04 08:49:18 +01:00
Alex Sharov
4baad9f4b9
Sentry: better handshake (#2293) 2021-07-04 11:30:31 +07:00
alex.sharov
4141c54c95 Revert "better handshake"
This reverts commit 1db9d2ca95.
2021-07-04 10:55:34 +07:00
alex.sharov
1db9d2ca95 better handshake 2021-07-04 10:55:15 +07:00
Alex Sharov
c029bbe7fa
fix metrics (#2292) 2021-07-04 10:25:07 +07:00
alex.sharov
9cfcc6fd7f less objects 2021-07-04 01:04:35 +07:00
ledgerwatch
f5e42b1e7a
Fixes in rpctest and rpcdaemon for debug_traceTransaction, and opcode tracer, tool for repairing broken receipts (#2284)
* Fixes in rpctest and rpcdaemon for debug_traceTransaction

* Fix for opcode tracer

* Tool to fix receipts

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-03 14:34:23 +01:00
Alex Sharov
95756c8857
less objects (#2287) 2021-07-03 13:55:23 +01:00
Alex Sharov
aa70f3c5a8
speedup tracing by not recalculating senders (#2286) 2021-07-03 13:55:14 +01:00
alex.sharov
4be66ee9cb Revert "save"
This reverts commit 6eed73566d.
2021-07-03 17:38:58 +07:00
alex.sharov
6eed73566d save 2021-07-03 17:01:23 +07:00
dependabot[bot]
337ac7a633
Bump github.com/pelletier/go-toml from 1.9.0 to 1.9.3 (#2280) 2021-07-03 16:12:44 +07:00
dependabot[bot]
d4752cf1e2
Bump github.com/shirou/gopsutil/v3 from 3.21.4 to 3.21.6 (#2279) 2021-07-03 16:12:36 +07:00
Alex Sharov
9e98d5a1e9
add db label (#2283) 2021-07-03 15:00:31 +07:00
Alex Sharov
2f79fa7968
Create dependabot.yml (#2276) 2021-07-03 14:44:38 +07:00
Alex Sharov
6a5f86423c
Remove "numgc" from logs (#2275) 2021-07-03 14:44:23 +07:00
Alex Sharov
b9be0cadad
don't stop iterate over peers on error (#2274) 2021-07-03 08:03:27 +01:00