MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / verify_memory

Function verify_memory

atomic-canonical/src/proof.rs:234–236  ·  view source on GitHub ↗

Verify an attested Memory node — thin wrapper over [`verify_value`].

(node: &MemoryNode, public_key: &PublicKey)

Source from the content-addressed store, hash-verified

232
233/// Verify an attested Memory node — thin wrapper over [`verify_value`].
234pub fn verify_memory(node: &MemoryNode, public_key: &PublicKey) -> Result<()> {
235 verify_value(&node.to_value(), public_key)
236}
237
238fn encode_proof_value(signature: &Signature) -> String {
239 let mut s = String::new();

Callers

nothing calls this directly

Calls 2

verify_valueFunction · 0.85
to_valueMethod · 0.45

Tested by

no test coverage detected