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

Method decode

crates/rpc/src/server/api/sync_transactions.rs:24–26  ·  view source on GitHub ↗
(request: proto::rpc::SyncTransactionsRequest)

Source from the content-addressed store, hash-verified

22 type Output = proto::rpc::SyncTransactionsResponse;
23
24 fn decode(request: proto::rpc::SyncTransactionsRequest) -> tonic::Result<Self::Input> {
25 Ok(request)
26 }
27
28 fn encode(output: Self::Output) -> tonic::Result<proto::rpc::SyncTransactionsResponse> {
29 Ok(output)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected