Commit Graph

394 Commits

Author SHA1 Message Date
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
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
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
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
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
0bf35ab20f feat: add basic engine2 exec and root perf logs (#10188) 2024-08-07 20:04:40 +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
27d21b0374 test: engine tree live sync, FCU extends canon chain with existing blocks (#10154) 2024-08-07 10:58:28 +00:00
a77ce062fe feat: execute downloaded blocks in batches (#10155) 2024-08-07 10:58:17 +00:00
e7214afe51 test: live sync test to check make canonical (#10131) 2024-08-07 09:55:39 +00:00
f8104cc93f feat: make EngineApiRequestHandler generic over request (#10147) 2024-08-06 21:27:38 +00:00
b0ded038ba feat: keep sender in tree task (#10148) 2024-08-06 19:19:49 +00:00
c4b5f5e9c9 feat: ensure consistent forkchoice state always (#10144) 2024-08-06 15:52:01 +00:00
35532e7c83 chore: ensure persistence receiver is dropped (#10133) 2024-08-06 15:10:26 +00:00
eb731762ec chore: rename EngineApiTreeHandler (#10140) 2024-08-06 15:00:29 +00:00
365012b9ca chore: remove trait EngineApiTreeHandler (#10136) 2024-08-06 13:55:15 +00:00
3bfffc6251 docs: misc engine docs (#10135) 2024-08-06 13:13:39 +00:00
2e45697d64 feat: add EngineApiKind enum (#10128) 2024-08-06 12:47:57 +00:00
06e7afbd2d feat: add EngineApi metrics (#10125) 2024-08-06 10:46:22 +00:00
e20d94fe31 chore(engine): enable clippy checks (#10120) 2024-08-06 10:11:38 +00:00
08158e4449 fix: validate header against parent in engine2 (#10114)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-06 02:01:51 +00:00
6008deb360 chore: rm redundant ( (#10112) 2024-08-05 22:43:52 +00:00
447e3cab32 test: live sync transition, tree requests required blocks (#10082) 2024-08-05 16:50:24 +00:00
2d0c10e577 fix: use recv timeout if persistence task is active (#10087) 2024-08-05 14:59:52 +00:00