aboutsummaryrefslogtreecommitdiffstats
path: root/src/federation/store/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/federation/store/mod.rs')
-rw-r--r--src/federation/store/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/federation/store/mod.rs b/src/federation/store/mod.rs
index ad1720d..ec3fb56 100644
--- a/src/federation/store/mod.rs
+++ b/src/federation/store/mod.rs
@@ -72,6 +72,10 @@ pub(crate) trait Fold {
/// reading need of the events' history.
type State: Clone;
+ /// Its name, by which a swarm holding a store names its fold (`docs/store.md`, On
+ /// Automerge).
+ const NAME: &'static str;
+
/// The most bytes an event may have: larger ones are none.
const LARGEST: usize;