Commit Graph

1238 Commits

Author SHA1 Message Date
Alex Sharov
aaafab8fc0
e3: storageRangeAt (#833) 2023-01-17 14:16:33 +07:00
Alex Sharov
0f85e27a4d
e3: increase some defaults (#836) 2023-01-17 09:14:15 +07:00
hexoscott
8969b9c58f
txpool changes for eip-3860 (#820)
shanghai changes to txpool.

intrinsic gas updated to match the new version in Erigon.

unsure if the `isShanghai` check is robust enough or there would be a
better way to approach this.
2023-01-16 22:15:42 +00:00
hexoscott
61706714c3
bringing hash, address, and chain config into lib (#826) 2023-01-13 15:52:38 +00:00
alex.sharov
7c475cb52e save 2023-01-13 11:35:30 +07: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
63f3770aad save 2023-01-12 09:13:15 +07:00
Alex Sharov
27c56f2de8
Torrent: reduce network chunk, some routers are unhappy (#829) 2023-01-11 13:30:13 +07:00
alex.sharov
922b5754da STOP_AFTER_RECONSTITUTE=true 2023-01-11 10:14:59 +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
hexoscott
3c7c00677d
use set in mining yield (#819)
based on the suggestion to use a set rather than a slice for tracking
yielded transactions
2023-01-02 12:24:55 +00:00
Alex Sharov
ef2da9e625
e3: force merge snapshots before reconst (#818) 2023-01-02 10:10:37 +07:00
Alex Sharov
5b7297fbe2
make clang happy (#817) 2023-01-01 11:43:12 +07:00
Giulio rebuffo
2884b71cb5
Update go.sum (#816) 2023-01-01 00:25:55 +01:00
Alex Sharov
f82abf9f10
a bit rename 22 to v3 (#815) 2022-12-30 21:53:44 +07:00
Alex Sharov
dcfbce2f57
up log version (#814) 2022-12-30 20:31:19 +07:00
Alex Sharov
745aacef74
coherent state cache: change btree type (#813) 2022-12-30 19:47:21 +07:00
Alex Sharov
d0af20cb8a
etl: remove custom comparators support (#810) 2022-12-30 11:37:17 +07:00
Alex Sharov
f36515a420
e3: agg cancel background jobs (#808) 2022-12-29 15:04:04 +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
f6d2125cc1
torrent lib version up (#805) 2022-12-27 12:53:44 +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
1371990bed
e3: BuildMissedIndices errgroup (#802) 2022-12-24 17:30:21 +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
Alex Sharov
d2603c5730
use in-mem db in tests (#800) 2022-12-23 14:34:14 +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
f239b04a72
e3: reconst MakeSteps - to check that files are indexed (#789) 2022-12-19 10:26:43 +07:00
Alex Sharov
2cabdd37fc
e3: prune all keys by DeleteCurrentDuplicates (#788) 2022-12-19 10:09:29 +07:00