Commit Graph

1462 Commits

Author SHA1 Message Date
awskii
0a4e293b4f
e4 speedup collate/prune (#944)
Continuing experiments on reducing time consumption of each aggregate
step.
2023-03-21 23:33:06 +00:00
Giulio rebuffo
325f5be536
Added ban method to sentinel (#942) 2023-03-18 16:21:33 +00:00
Alex Sharov
a5ebd0c5ff
torrent: suppress some warning (#941) 2023-03-17 03:53:30 +00:00
Alex Sharov
f7d31f2f6f
Grpc middleware up (#940) 2023-03-17 03:33:56 +00:00
awskii
08c5e41ea6
E4 metrics update (#939) 2023-03-16 23:59:24 +00:00
alex.sharov
b3d75ec0c1 clean 2023-03-16 10:38:08 +07:00
Temirlan
8234bab3de
TxPool sendersBatch optimizations (#927)
Reduce memory allocations and using inverted index (instead of
brute-force).
Use common.Address type instead of []byte

[Related issue](https://github.com/ledgerwatch/erigon/issues/7002)
2023-03-16 03:32:58 +00:00
alex.sharov
0a69d98d25 Revert "don't loose nil value"
This reverts commit dc740cdf9d.
2023-03-16 10:24:07 +07:00
alex.sharov
dc740cdf9d don't loose nil value 2023-03-16 10:22:53 +07:00
Alex Sharov
e143f7756f
e3: history no auto-increment (#935) 2023-03-15 06:47:48 +00:00
alex.sharov
59238cf44d e3: less merge logs 2023-03-15 13:34:13 +07:00
alex.sharov
fd7db34c82 save 2023-03-15 11:26:04 +07:00
alex.sharov
70433e79d9 up goprotobuf 2023-03-15 10:26:07 +07:00
Jason Yellick
820840bbbb
Fix broken doc link (#934)
The [KV
Readme.md](https://github.com/ledgerwatch/erigon-lib/tree/main/kv#ethdbabstractkv-design)
currently references `dupsort.md` which is in the original Erigon repo,
so the link is broken. This simply fixes the reference to point back to
the main repo.

Co-authored-by: Jason Yellick <jason@enya.ai>
2023-03-14 15:43:07 +07:00
Alex Sharov
335efa7d12
torrent: don't cancel storage, because lib can't handle such error and can graceful-shutdown anyway (#938) 2023-03-14 08:41:43 +00:00
Alex Sharov
474982ecaf
torrent: don't cancel storage, because lib can't handle such error and can graceful-shutdown anyway (#937) 2023-03-14 08:40:30 +00:00
Alex Sharov
b7f18a5de1
move more parts to lru2 (#936) 2023-03-14 07:37:21 +00:00
hexoscott
4493b598b9
read config yaml file to check for metrics being enabled (#909)
created to help with https://github.com/ledgerwatch/erigon/issues/6530
2023-03-14 00:07:27 +00:00
alex.sharov
ac75ffcda0 save 2023-03-13 19:07:50 +07:00
alex.sharov
f5faade958 save 2023-03-13 15:44:19 +07:00
Alex Sharov
b968398cbd
e3: split "changed keys" iterator to simplify (#933) 2023-03-13 08:06:37 +00:00
Alex Sharov
6f17999b1f
e3: simplify wal (#932) 2023-03-13 02:35:14 +00:00
Alex Sharov
460699ca6b
Downloader main loop wait on close (#931) 2023-03-13 02:12:26 +00:00
awskii
9f522be0bb
E4 integrate state (#930)
minor refactoring of state/aggregator.
added simple aggregator metrics.
2023-03-10 19:20:47 +00:00
Andrew Ashikhmin
310654c7f1
Remove archaic DAOForkSupport & eip150Hash (#929)
No needed anymore after https://github.com/ledgerwatch/erigon/pull/7074
& https://github.com/ledgerwatch/erigon/pull/7075
2023-03-10 13:06:39 +00:00
alex.sharov
c3c270fdf5 rawdb: txnums.Last 2023-03-10 15:14:03 +07:00
Alex Sharov
7caf4f38ce
up moq version (#928) 2023-03-10 04:03:12 +00:00
alex.sharov
219e7ef87d etl: to preserve log level 2023-03-09 15:02:19 +07:00
alex.sharov
c48bbde775 save 2023-03-09 14:56:13 +07:00
alex.sharov
25d913c676 better iter dup 2023-03-09 09:57:16 +07:00
alex.sharov
b57d2ee9ce grpc up 2023-03-09 09:48:16 +07:00
alex.sharov
3f4fdb9e20 remove NextBatch method 2023-03-09 09:37:55 +07:00
Alex Sharov
05d0018864
e3: use iterators composition in invIndex.Range( (#926) 2023-03-09 02:26:29 +00:00
Alex Sharov
fd8122be5b
mdbx: RangeDupSort iterator (#925) 2023-03-08 10:16:04 +00:00
Alex Sharov
f985e94553
--torrent.staticpeers (#923) 2023-03-08 08:29:42 +00:00
alex.sharov
51698bfc97 more history tests 2023-03-08 10:18:58 +07:00
alex.sharov
565ab562a4 more history tests 2023-03-08 10:09:43 +07:00
Alex Sharov
f29fa9bc08
up grpc version (#921) 2023-03-07 09:00:04 +00:00
Alex Sharov
6dbae5c587
attempt to fix TestGolangBindings (#920) 2023-03-07 06:14:43 +00:00
Alex Sharov
44f8a908db
etl: distinct empty values from nil (#919)
Reverts ledgerwatch/erigon-lib#918
2023-03-07 04:19:08 +00:00
Alex Sharov
f0a051c44c
Revert "etl: distinct empty values from nil" (#918)
Reverts ledgerwatch/erigon-lib#902
2023-03-07 03:22:20 +00:00
Alex Sharov
f4a02864a9
etl: distinct empty values from nil (#902) 2023-03-07 02:30:45 +00:00
awskii
f645d8daf8
moved state tests to benchmarks/fuzz, speedup test run (#917) 2023-03-06 18:40:04 +00:00
hexoscott
e950a676aa
remove PeersUseless calls (#916)
update to makefile to ensure the sentry mocks file is also handled
2023-03-06 12:55:28 +00:00
Giulio rebuffo
a790ec764a
added finalized roots table (#915) 2023-03-05 18:28:54 +00:00
awskii
32eddc9df4
E4 btree index (#914)
recreated branch from https://github.com/ledgerwatch/erigon-lib/pull/891
without fixups for windows tests
2023-03-03 18:32:03 +00:00
Andrew Ashikhmin
37a1bdc806
Add Prague fork support (#913)
Prague is the next EL fork after
[Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md)
2023-03-02 16:12:35 +00:00
Alex Sharov
5edc0612ce
e3: close files (#912) 2023-03-02 05:05:34 +00:00
Alex Sharov
18a0f2bafa
e3: less locks (#911) 2023-03-01 07:59:54 +00:00
Alex Sharov
4d6d154bec
e3: less wal locks (#908) 2023-02-27 07:02:55 +00:00