Promote Rpc to a node component #10769
Labels
A-rpc
Related to the RPC implementation
A-sdk
Related to reth's use as a library
S-needs-design
This issue requires design work to think about how it would best be accomplished
this part is slightly confusing:
reth/crates/node/api/src/node.rs
Lines 94 to 110 in e7defb2
this is more like a helper trait to create the ethapi component.
atm the rpc is not stateful:
reth/crates/ethereum/node/src/node.rs
Lines 76 to 82 in e7defb2
we should make this stateful similar to a
trait RpcBuilder
, like we do with:reth/crates/ethereum/node/src/node.rs
Lines 89 to 96 in e7defb2
this way the rpc setup can be customized entirely, not only the ethapi part.
this also allows us to separate engine server setup from regular rpc.
First we can make the Addons stateful
The text was updated successfully, but these errors were encountered: