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

Function verify_memory

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

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

Calls

no outgoing calls