weft-sync 0.0.1
legitimate sync library
“weft document sync: content-addressed store, push and anti-entropy pull (sans I/O)”
AArch64 (ARM64) architecture stringBasename is uppercase README.md
SHA-256917349fcb2c314a20ee7d94ae8917321525b3bbb6dd870fa9ee51bbf2511dff1
MaleculeMd₂(InPa)
Evidence
1// SPDX-FileCopyrightText: 2026 The weft authors
2// SPDX-License-Identifier: MIT
3
4//! Document sync (weft-design docs/15 §3.2) as a state machine without I/O.
5//!
6//! - **Store**: documents are kept by SHA-2 …
9:19… Only *shared* documents are advertised, served and forwarded, so documents
10//! signed by unknown or unauthorized keys never spread (a node canno …
11:68… hared once they verify.
12//! - **Push**: the node forwards documents that have just become shared ([`Sync::promote`]).
13//! - **Anti-entropy pull**: nodes publish a [`Message::Summary`] (hash of their digest set).
14//! A neighbour with a different hash answers with its [`Message::Inventory`]; each side then
15//! fetches what it …
19:66… `weft-verifier` alone.
20
21use std::collections::{BTreeMap, BTreeSet};
22
23use weft_verifier::cbor::{self, Limits as CborLimits, Value};
24use weft_verifier::crypto::sha256;
25
26/// SHA-256 of a document's bytes.
⋯5 lines
31:42… nds is bounded.
32#[derive(Clone, Copy, Debug, PartialEq, Eq)]
33pub struct Limits {
34 /// Largest acc …
No evidence locations were recorded for this file. Raw result