Commit Graph

105 Commits

Author SHA1 Message Date
Dan Cline
1ac2f15f1d feat: reth db diff (#3917) 2023-07-31 13:40:50 +00:00
Alexey Shekhirin
1ca7f3ae40 feat(pruner, storage): prune receipts & save checkpoints to database (#3733)
Co-authored-by: joshieDo <ranriver@protonmail.com>
2023-07-24 16:39:02 +00:00
Alexey Shekhirin
94129631cb feat(primitives, storage): save prune checkpoints in database (#3628) 2023-07-11 15:12:20 +00:00
Matthias Seitz
5d904eba1e test: use concrete type for arbitrary strategy (#3632) 2023-07-06 18:21:25 +00:00
Alexey Shekhirin
770652a787 feat(bin, storage): configurable MDBX log level (#3524)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-07-03 12:45:32 +00:00
joshieDo
c3ea430e4a refactor: move mdbx::test-utils to reth_db::test-utils and add DatabaseEnvRO (#3466) 2023-06-29 23:52:26 +00:00
Alexey Shekhirin
d3465e2e32 feat(stages, storage): pruning configuration (#3341)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-29 15:04:43 +00:00
Matthias Seitz
ee322769c9 feat: add default max readers 32000 (#3465) 2023-06-29 15:01:47 +00:00
joshieDo
a53af3a0f2 refactor: move init_db to reth_db and add DatabaseEnv (#3450) 2023-06-28 21:03:00 +00:00
Léo Vincent
0096739dbb doc: add reth logo to docs (#3317)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-06-26 15:41:11 +00:00
Roman Krasiuk
2b1a34116d chore(provider): simplify history unwind (#3355) 2023-06-23 15:47:55 +00:00
Roman Krasiuk
f4d7a6a369 chore: ShardedKey::last helper methods (#3352) 2023-06-23 11:15:50 +00:00
Mateusz
6810cd1295 feat(db): add helper enum for table name (#2935)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-22 18:04:01 +00:00
Alexey Shekhirin
79aa9cb2c2 feat(bin): db version CLI (#3243) 2023-06-19 17:53:26 +00:00
Alexey Shekhirin
2b6a0468fc feat(bin, storage): db versioning (#3130) 2023-06-19 16:43:17 +00:00
joshieDo
f55d88b8c4 refactor: remove Transaction and add DatabaseProvider to stages (#3034)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-12 22:37:58 +00:00
Roman Krasiuk
a2004f06ae chore(db): fix dupsort typo (#3014) 2023-06-06 10:16:47 +00:00
rakita
3bd26b0441 feat: Increment history shard size (#2844) 2023-06-05 13:00:31 -07:00
Georgios Konstantopoulos
08900740bc feat: Better progress reporting for stage checkpoints (#2982)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-06-05 16:10:46 +00:00
Matthias Seitz
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
Roman Krasiuk
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
Matthias Seitz
3347da091f feat(cli): add stage unwind command (#2913) 2023-05-30 11:26:24 +00:00
Roman Krasiuk
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
Mateusz
d05ba97858 feat: add db get subcommand (#2772)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-25 15:57:41 +02:00
Alexey Shekhirin
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +02:00
Matthias Seitz
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
joshieDo
4056b15882 fix: remove Account length from compact on AccountBeforeTx (#2622) 2023-05-12 10:29:56 -07:00
Bjerg
32b9a5b05e chore: use 4gb growth step (#2616) 2023-05-09 16:42:08 +02:00
Roman Krasiuk
6a79b16737 test(walker): walk range on dup table (#2561) 2023-05-04 12:27:03 -07:00
Andy Thomson
7914d1cf76 feat: A basic json dump extension to reth db list. (#2232)
Co-authored-by: andy-thomason <andy@atomicinrement.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-04 15:55:08 +02:00
Roman Krasiuk
f9f9683d2a test(cursor): dup insert & delete current (#2411) 2023-04-26 09:53:35 -07:00
rakita
370c39525a feat(stages): Simplify TD stage (#2344) 2023-04-21 20:56:13 +02:00
Matthias Seitz
1169d75d1d fix: track exact number of transactions (#2343) 2023-04-21 20:14:39 +02:00
Roman Krasiuk
ec418d924d feat(trie): read-only root calculation (#2233) 2023-04-21 02:36:48 -07:00
joshieDo
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
Bjerg
68d8506d8e feat: block level indexing (#2275)
Co-authored-by: rakita <dragan0rakita@gmail.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-20 15:03:48 -04:00
joshieDo
019ddd1edc perf(db): reduce different repeated allocations (#2103) 2023-04-13 11:33:53 -04:00
Roman Krasiuk
d851054dff chore(db): clarify upsert (#2216)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 15:31:49 -04:00
Roman Krasiuk
0759b30404 feat(trie): state root (#2206)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 09:48:33 -07:00
Matthias Seitz
a8665309fc chore: more error context for failed to open (#2215) 2023-04-12 12:10:52 -04:00
Roman Krasiuk
42a98a7194 feat(trie): stored nibbles (#2182) 2023-04-11 14:23:19 -07:00
rakita
7c18ba8ed3 perf(db): RawTable, decode/encode only if needed (#2081) 2023-04-05 14:46:10 +02:00
rakita
633d84ded0 feat: Refactor TransitionId tables, BlockBodyIndices table. (#2039) 2023-04-05 13:10:18 +02:00
rakita
ee99987e9e test: next key for seek_by_key_subkey (#2112) 2023-04-04 07:40:58 -07:00
joshieDo
5900a7e1be perf(db): decode and decompress directly from borrowed data instead (#2050) 2023-03-31 10:18:20 -07:00
rakita
3956e306f2 bug(cursor_walk): handle empty range (#2057) 2023-03-31 15:08:59 +02:00
rakita
efbaf6474c feat(BlockchainTree): ShareableBlockchainTree and pending state (#2007) 2023-03-29 20:59:24 +02:00
Matthias Seitz
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
Dan Cline
bb3f9b6d57 fix: db doc links (#2020) 2023-03-28 16:22:54 -07:00
Bjerg
44f5f7d269 docs: add more docs to reth-db (#2002) 2023-03-28 10:40:58 -07:00