From 09b4f7daac52b5aa6cebaa9c147a9086b105aac9 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 01:59:38 +0100 Subject: access first users --- src/state/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state/mod.rs') diff --git a/src/state/mod.rs b/src/state/mod.rs index 3dfc6b1..c420361 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -143,6 +143,8 @@ pub(crate) struct AppState { /// HTTP API users who may write protocol data through the store API /// (`--protocol-writers`). pub(crate) protocol_writers: Arc>, + /// The swarm's first users, recorded by a genesis node (`NodeConfig::first_users`). + pub(crate) first_users: Arc, /// This node's own files, and how much it read and wrote them. pub(crate) files: Arc, /// This node's document on disk (`--document-file`), if configured. -- cgit v1.3.1