Commit Graph

77 Commits

Author SHA1 Message Date
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
Vid Kersic
aa6f2cb061 chore: export dupsort macro (#1981) 2023-03-25 19:37:26 -07:00
rakita
c4f80b2997 feat: Store receipts (#1860)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-03-21 12:27:37 +01:00
rakita
38b0bf6d1a feat: Add transaction to block number index (#1866) 2023-03-20 11:16:28 -07:00
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Chen Kai
06db495d96 fix: use string instead of Vec<u8> for stageId. (#1495)
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2023-03-14 09:57:19 -07:00
joshieDo
5b90cbc411 fix(stages): add commit threshold to merkle stage v2 (#1656)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-13 21:47:16 -07:00
Bjerg
161de9aadf feat: persist contract analysis in db (#1640) 2023-03-08 16:25:14 +01:00
Bjerg
1ae74feeb5 chore: remove unused config table (#1611)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-03-02 17:25:06 +01:00
joshieDo
6cdf0a3ea6 fix: seek_by_key_subkey usage on HistoricalStateProvider (#1584) 2023-02-28 16:45:04 +01:00
Tom French
cea56f1e1d chore: silence unwanted clippy warning in test (#1566) 2023-02-27 02:22:11 -08:00
Matthias Seitz
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
Tomás
8547fbfaed test: walk_back and walk_range (#1407)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-16 12:25:21 -08:00
Tomás
db4c4fb8d1 chore(db): make database error codes signed (#1236)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-16 10:39:30 -08:00
Roman Krasiuk
f979c6c1fb chore: reexport bytes & bump version to 1.4 (#1395) 2023-02-16 10:33:28 -08:00
Roman Krasiuk
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
joshieDo
6da8967082 fix: use walk_range on import_table_with_range (#1364)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-15 11:22:24 -08:00
joshieDo
313bf28501 feat: add reth dump-stage command (#1328) 2023-02-14 09:23:33 -08:00
Alexey Shekhirin
3b732ad0db feat(storage): make Database::view accept FnOnce instead of FnMut (#1331) 2023-02-13 22:31:58 -08:00
Georgios Konstantopoulos
49292091dd Revert "feat: add reth dump-stage command" (#1327) 2023-02-13 19:10:58 -08:00
joshieDo
b3ff45229a feat: add reth dump-stage command (#1265) 2023-02-13 19:07:43 -08:00
Alexey Shekhirin
e93cd206fe feat(storage): accept any RangeBounds to walk_range (#1309) 2023-02-13 17:31:56 -08:00
Georgios Konstantopoulos
ea5633b3c3 feat: changed walk(), walk_dup() definitions and impls to accept Option<T::(sub)Key> #1197 (#1283)
Co-authored-by: Estéfano Bargas <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-10 21:10:31 -08:00
Roman Krasiuk
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00
rakita
b731bb9bb3 refactor: make SharableDatabase more relax (#1274) 2023-02-10 15:46:54 +01:00
Bjerg
a40745bab9 feat: add db.commit metric (#1188) 2023-02-06 12:30:49 +01:00
Tomás
fd7dc11960 feat(sync): MerkleStage (#994)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
2023-02-03 18:50:33 -08:00
Kim, JinSan
e7cc50038f test(db): cursor write operations are working properly wherever cursor is (#1161) 2023-02-03 12:02:33 -08:00
joshieDo
cc43b72835 chore(db): microbenchmarking for table serialization and db insertion (#513)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-30 20:08:51 -08:00