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

Function verify_memory

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

103
104/// Verify an attested memory's content hash and signature against a public key.
105pub fn verify_memory(
106 node: &MemoryNode,
107 public_key: &atomic_identity::keypair::PublicKey,
108) -> Result<()> {
109 proof::verify_memory(node, public_key)
110}
111pub mod publication_review;

Calls

no outgoing calls