Commit Graph

222 Commits

Author SHA1 Message Date
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
63f3770aad save 2023-01-12 09:13:15 +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
8f3178f2f2 Revert "mdbx: proper atomic close (#827)"
This reverts commit 493ae8b083.
2023-01-10 13:20:01 +07:00
Alex Sharov
493ae8b083
mdbx: proper atomic close (#827) 2023-01-10 12:02:23 +07:00
Alex Sharov
d2d03d140b
mdbx: v0.12.3 (#824) 2023-01-10 09:15:04 +07:00
Alex Sharov
db2a25b1ae
kv_temporal: 2nd key for domain (#825) 2023-01-09 15:16:05 +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
d2f5682ee8
kv_temporal: DomainGet (#822) 2023-01-06 14:27:50 +07:00
Alex Sharov
745aacef74
coherent state cache: change btree type (#813) 2022-12-30 19:47:21 +07:00
Giulio rebuffo
3105d7ba29
Added beacon indexing (#807) 2022-12-28 17:43:51 +01:00
Alex Sharov
7da5281947
kv: db.ReadOnly() method (#806) 2022-12-28 12:48:54 +07:00
alex.sharov
ee6b511615 save 2022-12-26 21:31:53 +07:00
Alex Sharov
9a6ae5bf5a
kv: tx.Prefix method (#804) 2022-12-26 17:58:17 +07:00
alex.sharov
d0ccc19cb9 mdbx: set max bg sync bytes limit 2022-12-25 22:00:20 +07:00
alex.sharov
b023e06483 save 2022-12-25 21:54:07 +07:00
alex.sharov
2110fb06d5 kv: more docs 2022-12-25 18:27:21 +07:00
Alex Sharov
0aeae327e1
KV: tx.Range() with stream api (#803) 2022-12-25 17:40:04 +07:00
Alex Sharov
3170bf0a57
kv_remote: server to support thread-safe multi-streams per 1 tx (#798) 2022-12-24 13:11:09 +07:00
alex.sharov
c8cd6f567f save 2022-12-24 11:18:49 +07:00
Alex Sharov
5c2433d8cf
in mem test - don't use writemap (#801) 2022-12-23 14:37:55 +07:00
Giulio rebuffo
afe3703d28
Added Attestestation tables (#797) 2022-12-22 19:11:57 +01:00
Alex Sharov
48bd0311d5
kv_remote: c.Count() (#799) 2022-12-22 12:44:06 +07:00
Alex Sharov
491423b6fe
e3: kv/temporal prototype 3 (#796) 2022-12-22 09:37:29 +07:00
Alex Sharov
f5db7c9bef
e3: kv/temporal prototype 2 (#792) 2022-12-20 09:28:09 +07:00
Alex Sharov
0d5c9f0fed
e3: kv/temporal prototype (#791) 2022-12-19 15:38:57 +07:00
Alex Sharov
d89b77ccb3
better memdb use in tesets (#790) 2022-12-19 10:58:15 +07:00
Alex Sharov
2cabdd37fc
e3: prune all keys by DeleteCurrentDuplicates (#788) 2022-12-19 10:09:29 +07:00
Alex Sharov
3b68fec09a
mdbx: relax a bit merge limit (still leave it stronger than default) (#786) 2022-12-17 20:06:19 +07:00
Alex Sharov
67815f5faa
e3: handle "kill -9" during merge, auto-hide history .ef file if not corresponding .v file (#781) 2022-12-15 13:49:03 +07:00
Max Revitt
c9c1b15547
Revert "Withdrawals - Database (#758)" (#778)
This reverts commit 183856e788.

We will store the withdrawals in the body until we have a reason not to.
2022-12-12 12:23:21 +00:00
ledgerwatch
dfd0e6cbfa
[erigon3] Add iterators and tables for incremental reconstitution (#742)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-10 08:38:02 +00:00
Alex Sharov
3cf9b451e1
mdbx: runtime options are changeable in Ascedee mode (#771) 2022-12-07 17:10:32 +07:00
Alex Sharov
263a9e3583
mdbx: dirtySpace option expose (#770) 2022-12-07 16:35:55 +07:00
Alex Sharov
0c5a850177
mdbx bindings: remove txn.RawRead field (#769) 2022-12-07 13:08:51 +07:00
Alex Sharov
2dcec83222
mdbx: add BeginRwAsync method (#767) 2022-12-07 11:19:08 +07:00
alex.sharov
bf912d4eaa save 2022-12-07 10:31:14 +07:00
Max Revitt
183856e788
Withdrawals - Database (#758)
Adds withdrawals bucket to db.
2022-12-05 17:44:07 +00:00
Alex Sharov
bee082f614
log experiment enabling (#759) 2022-12-03 12:56:12 +07:00
Alex Sharov
8a6090bcb7
e3: optimize incremental hashstate (#756) 2022-12-03 12:22:38 +07:00
Alex Sharov
0613545530
mdbx: reproducibility of benchmarks (#757) 2022-12-02 18:42:35 +07:00
Giulio rebuffo
f776665b21
added BeaconBlocks table (#746) 2022-11-26 23:05:59 +01:00
Andrew Ashikhmin
f2e3c2eea3
sync.Mutex instead of RWMutex in kvcache (#743)
Follow-up to PR #730
2022-11-22 14:08:32 +01:00
Giulio rebuffo
b0cda9f301
Added light client database tables (#736) 2022-11-15 19:59:55 +01:00
Andrew Ashikhmin
b810bb6ee0
Update interfaces (#733)
Pick up https://github.com/ledgerwatch/interfaces/pull/131
2022-11-11 16:36:22 +01:00
hexoscott
875b19b2b4
switch to standard lock to help cache perf (#730) 2022-11-08 16:20:47 +00:00
hexoscott
4b0ff0ae5e
cache validation check (#700)
draft for now to get early feedback
2022-11-05 14:25:41 +00:00