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

Function verify_memory

atomic-canonical/src/lib.rs:98–103  ·  view source on GitHub ↗

Verify an attested memory's content hash and signature against a public key.

(
    node: &MemoryNode,
    public_key: &atomic_identity::keypair::PublicKey,
)

Source from the content-addressed store, hash-verified

96
97/// Verify an attested memory's content hash and signature against a public key.
98pub fn verify_memory(
99 node: &MemoryNode,
100 public_key: &atomic_identity::keypair::PublicKey,
101) -> Result<()> {
102 proof::verify_memory(node, public_key)
103}

Calls

no outgoing calls