Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docknetwork/crypto
/ add
Method
add
proof_system/src/statement/mod.rs:153–156 ·
view source on GitHub ↗
(&mut self, item: Statement<E>)
Source
from the content-addressed store, hash-verified
151
}
152
153
pub fn add(&mut self, item: Statement<E>) -> usize {
154
self.0.push(item);
155
self.0.len() - 1
156
}
157
158
pub fn is_empty(&self) -> bool {
159
self.0.is_empty()
Callers
2
statement_serialization_deserialization
Function · 0.45
init_schnorr_protocols
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
1
statement_serialization_deserialization
Function · 0.36