diff --git a/src/dynamic_honey_badger/batch.rs b/src/dynamic_honey_badger/batch.rs index 836bfde..74cbb69 100644 --- a/src/dynamic_honey_badger/batch.rs +++ b/src/dynamic_honey_badger/batch.rs @@ -125,8 +125,11 @@ impl Batch { && self.encryption_schedule == other.encryption_schedule } - /// Returns the signature that can be used as a pseudorandom value: None of the validators knew - /// its value before the other of the batch were decided. + /// Returns the signature that can be used as a pseudorandom value. + /// + /// This value was only revealed to the validators after the set of contributions had been + /// decided. None of the validators knew it when they could still influence the contents of the + /// batch. /// /// If the `random_value` option is `false` (default), this is `None`. pub fn random_value(&self) -> Option<&Signature> { diff --git a/src/honey_badger/batch.rs b/src/honey_badger/batch.rs index 4c42645..bb29769 100644 --- a/src/honey_badger/batch.rs +++ b/src/honey_badger/batch.rs @@ -10,8 +10,11 @@ pub struct Batch { pub epoch: u64, /// The set of agreed contributions, by the contributor's node ID. pub contributions: BTreeMap, - /// The signature that can be used as a pseudorandom value: None of the validators knew - /// its value before the other of the batch were decided. + /// The signature that can be used as a pseudorandom value. + /// + /// This value was only revealed to the validators after the set of contributions had been + /// decided. None of the validators knew it when they could still influence the contents of the + /// batch. /// /// If the `random_value` option is `false` (default), this is `None`. pub random_value: Option,