Commit Graph

15 Commits

Author SHA1 Message Date
Alex Sharov
fdd39828c3
log file unmap/close errors (#1036) 2023-08-12 20:14:40 +00:00
Alex Sharov
797e6dda5f
fsync: don't skip error, ability to disable in tests (#1043) 2023-07-11 06:09:05 +00:00
Andrew Ashikhmin
f87b4cd9de
Introduce BitLenToByteLen (#1022) 2023-06-14 12:22:13 +00:00
Alex Sharov
4344efa765
e3: more mergeFiles tests, refcnt for LocalityIndex (#878) 2023-02-03 19:14:34 +07:00
Alex Sharov
775989d068
move math big constants to erigon-lib (#858) 2023-01-27 11:39:38 +07:00
Alex Sharov
559e60f1a3
e3: simplify history reader (#846) 2023-01-22 16:42:13 +07:00
Alex Sharov
a705195fa0
e3: reverse/limited iterators, stream tooling (#840) 2023-01-20 18:08:22 +07:00
ledgerwatch
ab20c39019
Fix eth_getLogs (#839)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-18 23:20:12 +00:00
Alex Sharov
120c4a20f4
e3: stream.ToBitamp() (#831) 2023-01-12 09:58:17 +07:00
Alex Sharov
16f4e2609b
e3: invalid txnum table (#828) 2023-01-12 09:31:29 +07:00
alex.sharov
a886ba0192 save 2023-01-11 09:54:16 +07:00
alex.sharov
6a8b53c105 save 2023-01-11 09:53:48 +07:00
alex.sharov
c82e38551a save 2023-01-11 09:53:22 +07:00
Alex Sharov
ac40ca5269
e3: locality index (#823)
Mainnet:
```
447M	accounts.0-544.l
45M	accounts.0-544.li
133M	code.0-544.l
14M	code.0-544.li
2.0G	storage.0-544.l
197M	storage.0-544.li
```

Decided no to use Roaring - because it can only keep full bitmap in RAM
(no way to stream into file). But it's more compact 2Gb -> 1.4Gb. Maybe
can shard large bitmap - or do other trick (storage has 1B keys -
sharding probably is cheap). Maybe in the future.
2023-01-07 12:30:57 +07:00
Alex Sharov
725cd95865
E3: parallel exec, apply on roTx (#707) 2022-10-27 16:47:04 +07:00