MCPcopy Create free account
hub / github.com/cakevm/kabu / executor

Method executor

crates/core/node/src/node.rs:117–130  ·  view source on GitHub ↗

Replace the executor component

(self, executor: NewE)

Source from the content-addressed store, hash-verified

115
116 /// Replace the executor component
117 pub fn executor<NewE>(self, executor: NewE) -> ComponentSetBuilder<N, NewE, S, M, B, Est, H, Mer, Mon, Sig> {
118 ComponentSetBuilder {
119 network: self.network,
120 executor,
121 strategy: self.strategy,
122 market: self.market,
123 broadcaster: self.broadcaster,
124 estimator: self.estimator,
125 health: self.health,
126 merger: self.merger,
127 monitoring: self.monitoring,
128 signer: self.signer,
129 }
130 }
131
132 /// Replace the strategy component
133 pub fn strategy<NewS>(self, strategy: NewS) -> ComponentSetBuilder<N, E, NewS, M, B, Est, H, Mer, Mon, Sig> {

Callers 2

execute_testFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected