Commit Graph

213 Commits

Author SHA1 Message Date
3ec5d373c1 feat(engine, tree): witness invalid block hook (#10685) 2024-09-06 11:56:03 +00:00
3e2c34ac6c chore(tree): propagate on_new_head error (#10734) 2024-09-06 00:31:38 +00:00
cdd0f00079 chore(tree): make tree trace targets consistent (#10731) 2024-09-05 23:36:10 +00:00
b1ed3e65a3 feat(tree): add block validation metrics (#10728) 2024-09-05 20:08:41 +00:00
a996eea94a refactor: relax bound on NodeTypesWithDB (#10720) 2024-09-05 19:14:45 +00:00
60bc403f08 fix(tree): remove_blocks fixes, return hash and number in persistence task (#10678) 2024-09-05 16:35:16 +00:00
c267c1caf7 chore(engine): track elapsed on fork block added (#10710) 2024-09-05 15:25:38 +00:00
5ecc9d2348 feat: integrate NodeTypesWithDB (#10698)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-09-05 15:17:28 +00:00
98b214f63d feat(tree): schedule block removal on disk reorgs (#10603) 2024-09-04 22:36:14 +00:00
3289cd79bd feat(tree): make on_new_head and is_fork aware of disk (#10551) 2024-09-04 19:00:07 +00:00
d659cd36d2 refactor: move exec metrics into executor (#10426) 2024-09-04 01:30:12 +00:00
fd8ca17076 feat(tree): introduce executed_block_by_hash (#10553)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-09-03 18:11:37 +00:00
9d46b06420 feat(engine): invalid block hooks crate (#10629)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-09-03 15:02:18 +00:00
dea1e21af9 feat: add invalid block hook field to tree (#10432)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-09-03 13:59:43 +00:00
80793cfe17 feat(tree): cache trie updates for nonfinalized canonical blocks (#10579) 2024-09-03 02:15:22 +00:00
333b1a7bb7 chore: add debug log when new engine message (#10653) 2024-09-02 10:00:23 +00:00
d59854f1dc fix(tree): replace debug_assert with relaxed removal logic (#10634)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-09-02 08:25:52 +00:00
c5a1c0e131 feat(tree): make remove_before aware of the finalized hash (#10574)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-08-29 21:24:56 +00:00
71cad4a3c5 tree: bump persistence threshold and memory buffer target (#10608) 2024-08-29 14:08:54 +00:00
ca5d3b00e6 chore(tree): make on_engine_message more concise (#10605) 2024-08-29 07:50:58 +00:00
6f086d1060 chore(trie): clean up state root methods (#10598) 2024-08-28 14:41:29 +00:00
f600ff07d9 feat(debug): engine reorg util depth (#10575) 2024-08-28 09:22:51 +00:00
b1d6e27e3f chore(tree): make remove_before bound inclusive (#10559) 2024-08-27 19:13:09 +00:00
1d07ff72e9 docs(reth-engine-tree): slightly improve inline docs (#10561) 2024-08-27 10:22:57 +00:00
1c427c6c6a feat: Properly bubble up InsertBlockFatalError (#10276) 2024-08-26 22:35:39 +00:00
c4a231335a perf(engine): lazy load overlay trie state (#10541) 2024-08-26 13:11:54 +00:00
709e7b73ce clippy: add if_not_else clippy lint (#10524)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 10:58:06 +00:00
9c57c4a454 clippy: add redundant_else clippy lint (#10525)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 09:40:10 +00:00
5254f16e07 feat: add impl From BlockExecutionOutput for ExecutionOutcome (#10507) 2024-08-25 18:25:27 +00:00
70a1015fd1 chore(tree): remove BlockAttachment usage (#10453) 2024-08-22 20:21:24 +00:00
3373670723 fix: reorgs with forks including invalid blocks (#10320)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-08-20 10:14:53 +00:00
ec46fccece feat: track persistence metrics (#10250)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-08-20 09:29:07 +00:00
9bed8cf466 feat: improve connecting downloaded blocks (#10368) 2024-08-17 23:49:53 +00:00
8a802dab60 chore(engine): enable engine debug streams in new implementation (#10282) 2024-08-13 05:06:39 +00:00
e94bd244e9 chore(reth-engine-primitives): remove unused code (#10261) 2024-08-12 14:06:15 +00:00
faa38cec4d fix: TreeState::on_new_head fork and reorg handling (#10232) 2024-08-10 09:45:45 +00:00
80cf638e58 docs: add more engine design docs (#9748) 2024-08-09 20:31:08 +00:00
1527dc03f7 chore: remove WriteTransactions from PersistenceAction (#10241) 2024-08-09 18:26:15 +00:00
fe43f575f0 chore: remove reference to EngineApiTreeHandlerImpl (#10239) 2024-08-09 16:24:35 +00:00
907209e927 feat: add setting for how many blocks can be persisted (#10237)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-09 15:41:29 +00:00
3c709981da deps: rm unused deps (#10229) 2024-08-09 12:09:01 +00:00
aa278bcdef feat: inject locally built payloads into the tree (#10216) 2024-08-08 21:53:43 +00:00
0ee689f357 fix: detect invalid buffered block when insert fails (#10217) 2024-08-08 20:45:45 +00:00
c4aae6db36 feat: make EthService generic over engine types and block executor (#10212) 2024-08-08 17:22:55 +00:00
0bf35ab20f feat: add basic engine2 exec and root perf logs (#10188) 2024-08-07 20:04:40 +00:00
d62ce79535 feat(engine-util): reorg interceptor (#10173) 2024-08-07 19:50:49 +00:00
f7cb059c5f feat: add error tracing when persistence service fails (#10170)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-08-07 16:26:54 +00:00
aa533dade6 docs: add spec docs and todo for OP (#10171) 2024-08-07 16:23:34 +00:00
7ec3b92d36 feat: introduce EngineApiRequest type (#10158) 2024-08-07 14:01:42 +00:00
4107df8148 chore: lower persistence threshold (#10156) 2024-08-07 11:11:18 +00:00