diff options
Diffstat (limited to 'src/node.rs')
| -rw-r--r-- | src/node.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node.rs b/src/node.rs index 23a881d..e64db6c 100644 --- a/src/node.rs +++ b/src/node.rs @@ -64,7 +64,9 @@ pub(crate) struct NodeConfig { /// (`access::registry::first_users`); empty elsewhere, and where none were named /// (the simulations: no registry). pub(crate) first_users: crate::access::registry::FirstUsers, - /// To sign the tokens this node issues (`access::token`); none in the simulations. + /// To sign the tokens this node issues (`access::token`) and the changes it commits + /// (`document::signatures`): every node's, its node ID being its public key; none in + /// the simulations without the identity layer, whose node IDs are names. pub(crate) node_key: Option<Arc<crate::identity::NodeKey>>, /// `--token-lifetime`, `--session-lifetime`. pub(crate) token_lifetime: Duration, |
