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

Function verify_memory

atomic-canonical/src/lib.rs:99–104  ·  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

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

Calls

no outgoing calls