Commit Graph

14411 Commits

Author SHA1 Message Date
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
alex.sharov
42f60e727b fix test 2021-07-03 13:00:57 +07:00
alex.sharov
2421ff0378 better peers logging 2021-07-03 11:01:05 +07:00
alex.sharov
bf06a2ce4b better peers logging 2021-07-03 10:35:11 +07:00
ledgerwatch
ba55611f29
rpctest for eth_getTransactionReceipt (#2271)
* rpctest bench for eth_getTransationReceipt

* Add blockHash to re-generated receipts

* Modify scanReceipts

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-02 14:34:20 +01:00
Alex Sharov
110e14e6d0
don't crush on streamable ws (#2268) 2021-07-02 11:11:17 +01:00
Alex Sharov
c12ef4478b
don't call http handler after ws handler (#2267) 2021-07-02 11:10:54 +01:00
Alex Sharov
8e00da2035
Sokol v0: preparations for contracts run, proofs support (#2270) 2021-07-02 15:00:41 +07:00
ledgerwatch
a05d1be531
Pull grpc bindings into erigon-lib (#2265)
* Pull grpc bindings into erigon-lib

* Remove mdbx dist

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-01 22:31:14 +01:00
Alex Sharov
ea81761991
enable private rpc by default in Erigon, better logs in the beginning (#2262) 2021-07-01 22:30:55 +01:00
ledgerwatch
87f0594660
Update skip_analysis.go (#2263) 2021-07-01 21:59:56 +07:00
Igor Mandrigin
d8f2392748 begin 2021.07.02 release cycle 2021-07-01 14:08:26 +03:00
Igor Mandrigin
3001a15705 update version to 2021.07.01 2021-07-01 11:18:38 +03:00
Zhengyan Gao
f4ef314e50
add GasPrice for the DynamicFeeTransaction. (#2261) 2021-07-01 11:29:32 +07:00