diff options
Diffstat (limited to 'src/simtest/signatures.rs')
| -rw-r--r-- | src/simtest/signatures.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/simtest/signatures.rs b/src/simtest/signatures.rs index c6232e7..b65b3a7 100644 --- a/src/simtest/signatures.rs +++ b/src/simtest/signatures.rs @@ -1,7 +1,7 @@ -//! Signed changes end to end (`document::signatures`, `swarm::signatures`): nodes under -//! the identity layer, whose node keys sign, write through the API as a user would, -//! and every node comes to see the writes verified, by signatures that came with sync -//! messages or on their own. +//! Signed changes end to end (`document::signatures`): nodes under the identity layer, +//! whose node keys sign, write through the API as a user would, and every node comes +//! to see the writes verified, by signatures that came with the changes in sync +//! messages. use std::time::Duration; @@ -80,8 +80,8 @@ async fn a_signed_write_vouches_for_the_writes_before() { let (actor, first) = write_as_user(&b, "metrics/cpu", json!(42), false).await; sim.wait_converged(&[&a, &b, &c], SOON).await; - // Signatures go within a second: none came for it. Unless b wrote protocol data - // since (always signed), whose signature vouches for it too. + // None is made for it, nor sent. Unless b wrote protocol data since (always + // signed), whose signature vouches for it too. tokio::time::sleep(Duration::from_secs(3)).await; let latest = b .doc |
