Document and clean clsag

This commit is contained in:
Luke Parker
2024-06-14 16:17:51 -04:00
parent 9c217913e6
commit 865dee80e5
7 changed files with 209 additions and 161 deletions

View File

@@ -151,4 +151,9 @@ impl Decoys {
pub fn ring(&self) -> &[[EdwardsPoint; 2]] {
&self.ring
}
// The [key, commitment] pair of the signer.
pub fn signer_ring_members(&self) -> [EdwardsPoint; 2] {
self.ring[usize::from(self.signer_index)]
}
}