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

Method signing_value

atomic-canonical/src/node.rs:200–202  ·  view source on GitHub ↗

The value used for signing: everything except the `proof`. Delegates to [`crate::proof::signing_view`] so the excluded key-set is defined once, at the Value level, shared by every node type.

(&self)

Source from the content-addressed store, hash-verified

198 /// [`crate::proof::signing_view`] so the excluded key-set is defined once,
199 /// at the Value level, shared by every node type.
200 pub fn signing_value(&self) -> serde_json::Value {
201 crate::proof::signing_view(&self.to_value())
202 }
203
204 /// The value used for the content hash: excludes both `proof` and
205 /// `contentHash`. Delegates to [`crate::proof::hashing_view`].

Callers 1

signing_bytesMethod · 0.45

Calls 2

signing_viewFunction · 0.85
to_valueMethod · 0.45

Tested by

no test coverage detected