Commit Graph

216 Commits

Author SHA1 Message Date
Matthias Seitz
02a07f6480 chore: apply same impl order (#5639) 2023-11-30 15:11:03 +00:00
Roman Krasiuk
afebbe64b7 fix: bench builds (#5635) 2023-11-30 10:41:58 +00:00
Matthias Seitz
43d1f5a499 perf: remove redundant collect (#5600) 2023-11-28 10:56:35 +00:00
Roman Krasiuk
608f100605 perf(provider): compute hashes and trie updates before opening write tx (#5505) 2023-11-28 08:54:09 +00:00
Nil Medvedev
563a683a62 Feat/improve fee history performance (#5182)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-27 10:59:27 +00:00
Roman Krasiuk
5e378b13ca test(provider): instantiate provider with util function (#5534) 2023-11-22 15:29:19 +00:00
Supernovahs.eth
3c7989c541 block_with_senders in ethstatecache (#5302)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-20 14:56:08 +00:00
Matthias Seitz
aea11405ad feat: get rid of lifetime GATs (#5478) 2023-11-19 15:21:50 +00:00
Roman Krasiuk
14dd9e8150 feat(provider): StateRootProvider::state_root_with_updates (#5485) 2023-11-19 14:33:11 +00:00
DaniPopes
6ae86d5a96 chore: shrink ProviderError size (#5482) 2023-11-17 23:55:30 +00:00
Bjerg
db5d01e328 refactor: split async/sync work in stages (#4636)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-11-17 21:12:12 +00:00
Roman Krasiuk
30dfc070e1 chore(provider): migrate providers to ProviderError (#5473) 2023-11-17 14:07:28 +00:00
Roman Krasiuk
eadbe5dce9 feat(provider): HeaderProvider::sealed_headers_while (#5470) 2023-11-17 10:21:35 +00:00
joshieDo
a389a2b42d feat: search for a snapshot that fulfills a queried BlockHash or TxHash (#5373)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-15 16:53:28 +00:00
joshieDo
7b781eb602 feat: add directory paths to Snapshotter and SnapshotProvider (#5283)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-14 20:54:13 +00:00
joshieDo
d21e346c04 feat: share SnapshotProvider through ProviderFactory (#5249)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-11-14 17:50:12 +00:00
Supernovahs.eth
475c42eb0a feat:Support BlockHashOrNumber with block_with_senders (#5356) 2023-11-09 16:39:45 +00:00
Alexey Shekhirin
47669c5886 feat(rpc): record call metrics per method (#5338) 2023-11-07 19:01:39 +00:00
DaniPopes
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
Alexey Shekhirin
4fcd20c890 feat(tree): measure different parts of canonicalization (#5266) 2023-11-03 16:53:59 +00:00
joshieDo
3ab1afc9aa feat: implement providers for SnapshotJarProvider (#5231) 2023-11-03 14:30:57 +00:00
joshieDo
e73ece945d feat: remove const generics from cursors and add segment masks (#5181)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-30 12:24:49 +00:00
joshieDo
74a2bf38dd feat: add SnapshotCursor wrapper and impl HeaderProvider (#5170)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-30 11:58:03 +00:00
joshieDo
a2323c90c2 feat: share mmap handle inbetween snapshot providers & cursors (#5162)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-27 10:27:36 +00:00
joshieDo
006259b4f6 feat: move ZstdDictionary inside NippyJar and create a snapshot manager (#5139)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-27 10:06:31 +00:00
Matthias Seitz
fbdf744b8f perf: introduce BlockValidationKind (#5195) 2023-10-27 08:01:57 +00:00
joshieDo
0116b80414 feat: add reth db snapshot transactions | receipts commands (#5007)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-26 12:01:29 +00:00
Thomas Coratger
93e837e28a feat(storage): add an option to return hashed transactions in block_with_senders (#5095)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-19 22:56:01 +00:00
Thomas Coratger
5d217a2867 feat(primitives): move revm-primitives to reth-primitives (#5088) 2023-10-19 22:35:46 +00:00
Matthias Seitz
ffe0e89003 chore: return None if block does not exist (#5091) 2023-10-19 11:54:47 +00:00
Roman Krasiuk
3adc627a35 feat(rpc): enable eth_getProof (#5071) 2023-10-18 16:05:26 +00:00
Roman Krasiuk
d116de7410 Revert "feat(storage): make BlockReaderIdExt safe" (#5059) 2023-10-17 19:29:59 +00:00
robinsdan
ede8278916 remove lifetime param in storage trait (#5046) 2023-10-17 13:30:50 +00:00
Thomas Coratger
30ebd2f8bb feat(storage): make BlockReaderIdExt safe (#5022) 2023-10-16 11:15:52 +00:00
Alexey Shekhirin
e86b80a019 feat(bin, snapshot): SnapshotSegment, headers segment & refactors (#4979) 2023-10-12 18:51:57 +00:00
Matthias Seitz
e04292247f fix: use pending block tag for actual pending block (#4966) 2023-10-11 03:06:53 +00:00
Alexey Shekhirin
9ca0cdcf1e feat(prune): headers segment triggered by snapshots (#4936) 2023-10-09 14:25:48 +00:00
joshieDo
9c8eca6a49 feat: add reth db snapshot <TYPE> command (#4889) 2023-10-06 16:33:56 +00:00
Alexey Shekhirin
1e7d028d53 refactor(prune): segment trait, receipts impl (#4887) 2023-10-05 11:56:47 +00:00
Alexey Shekhirin
af8e3c9ee9 feat(pruner): shared deletion limit (#4880) 2023-10-04 18:12:58 +00:00
christn
fd697d9d3f Changes to enable validation api extension (#4783)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-09-30 13:10:30 +00:00
DaniPopes
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
Thomas Coratger
2138a8b587 feat(primitives): add Receipts to encapsulate Vec<Vec<Option<Receipt>> (#4626)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-09-27 18:11:19 +00:00
joshieDo
0cdd30251b feat: create a NippyJar snapshot from multiple Table (#4716) 2023-09-27 14:13:18 +00:00
Roman Krasiuk
5b2c03a483 feat(provider): query block range using cursors (#4821) 2023-09-27 12:50:35 +00:00
Matthias Seitz
66fc1964d7 feat: add block_range provider function (#4819) 2023-09-27 10:33:01 +00:00
Roman Krasiuk
dae31fa2a7 chore: timestamp fork activation semantics (#4785) 2023-09-26 11:29:38 +00:00
DaniPopes
8f9d2908ca chore: add and fix more lints, improve docs (#4765) 2023-09-25 15:46:46 +00:00
Roman Krasiuk
0f9def08c0 perf: remove unnecessary state clone (#4763) 2023-09-25 13:48:48 +00:00
Alexey Shekhirin
0874767cd9 refactor(interfaces): Result -> RethResult, Error -> RethError (#4695) 2023-09-20 21:13:16 +00:00