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

Function verify_memory

atomic-canonical/src/proof.rs:183–185  ·  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

181
182/// Verify an attested Memory node — thin wrapper over [`verify_value`].
183pub fn verify_memory(node: &MemoryNode, public_key: &PublicKey) -> Result<()> {
184 verify_value(&node.to_value(), public_key)
185}
186
187fn encode_proof_value(signature: &Signature) -> String {
188 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