aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/replica.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/document/replica.rs')
-rw-r--r--src/document/replica.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document/replica.rs b/src/document/replica.rs
index 03325eb..ead42f6 100644
--- a/src/document/replica.rs
+++ b/src/document/replica.rs
@@ -124,6 +124,8 @@ pub(crate) struct Replica {
/// What local writes and sync changed since the change publisher last looked
/// (`changed_since`), so it needn't diff the document for it.
log: std::sync::Mutex<Log>,
+ /// The signatures of the document's changes this node has (`document::signatures`).
+ pub(crate) signatures: super::signatures::Signatures,
}
/// The patches of the changes from `from` to `to` (sorted heads) of the document of
@@ -180,6 +182,7 @@ impl Replica {
heads: Vec::new(),
stamp,
log,
+ signatures: Default::default(),
};
replica.refresh_heads();
replica