MCPcopy Create free account
hub / github.com/0xMiden/node / encode

Method encode

crates/rpc/src/server/api/submit_auth_tx_batch.rs:43–45  ·  view source on GitHub ↗
(output: Self::Output)

Source from the content-addressed store, hash-verified

41 }
42
43 fn encode(output: Self::Output) -> tonic::Result<proto::blockchain::BlockNumber> {
44 Ok(output)
45 }
46
47 async fn handle(&self, (batch, inputs): Self::Input) -> tonic::Result<Self::Output> {
48 self.block_producer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected