Skip to content

Commit 5efeaa6

Browse files
committed
update crate links
1 parent 733dab5 commit 5efeaa6

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

rust/catalyst-voting/src/crypto/group/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Group definitions used in voting protocol.
2-
//! For more information, see: <https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#a-group-definition>
2+
//! For more information, see: <https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#a-group-definition>
33
44
mod ristretto255;
55

rust/catalyst-voting/src/crypto/zk_unit_vector/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! Zhang, Oliynykov and Balogum in
33
//! [`A Treasury System for Cryptocurrencies: Enabling Better Collaborative Intelligence`](https://www.ndss-symposium.org/wp-content/uploads/2019/02/ndss2019_02A-2_Zhang_paper.pdf).
44
//!
5-
//! This implementation follows this [specification](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#d-non-interactive-zk-vote-proof)
5+
//! This implementation follows this [specification](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#d-non-interactive-zk-vote-proof)
66
77
// cspell: words Zhang, Oliynykov, Balogum
88

rust/catalyst-voting/src/crypto/zk_unit_vector/polynomial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl Polynomial {
3939
}
4040
}
4141

42-
/// Generate the polynomial according to the step 7 of this [spec](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#prover)
42+
/// Generate the polynomial according to the step 7 of this [spec](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#prover)
4343
pub(crate) fn generate_polynomial(
4444
i: usize, j: usize, randomness: &[BlindingRandomness],
4545
) -> Polynomial {

rust/catalyst-voting/src/txs/v1/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! A Jörmungandr transaction object structured following this [spec](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/transaction/#v1-jormungandr)
1+
//! A Jörmungandr transaction object structured following this [spec](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/transaction/#v1-jormungandr)
22
//!
33
//! ```rust
44
//! use catalyst_voting::{

rust/catalyst-voting/src/vote_protocol/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! An implementation of the voting protocol described in this [spec](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/)
1+
//! An implementation of the voting protocol described in this [spec](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/)
22
//!
33
//! ```rust
44
//! use catalyst_voting::vote_protocol::{

rust/catalyst-voting/src/vote_protocol/tally/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl DecryptionTallySetup {
4747
}
4848

4949
/// Tally function.
50-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#homomorphic-tally)
50+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#homomorphic-tally)
5151
///
5252
/// # Errors
5353
/// - Votes and voting power length mismatch.
@@ -86,7 +86,7 @@ pub fn tally(
8686
}
8787

8888
/// Decrypts the encrypted tally result.
89-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#tally-decryption)
89+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#tally-decryption)
9090
///
9191
/// # Errors
9292
/// - Cannot decrypt tally result. Provided an invalid secret key or invalid encrypted

rust/catalyst-voting/src/vote_protocol/tally/proof.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::{
2121
pub struct TallyProof(DleqProof);
2222

2323
/// Generates a tally proof.
24-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#tally-proof)
24+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#tally-proof)
2525
#[allow(clippy::module_name_repetitions)]
2626
pub fn generate_tally_proof<R: CryptoRngCore>(
2727
encrypted_tally: &EncryptedTally, secret_key: &ElectionSecretKey, rng: &mut R,
@@ -43,7 +43,7 @@ pub fn generate_tally_proof<R: CryptoRngCore>(
4343
}
4444

4545
/// Generates a tally proof with `crypto::default_rng`.
46-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#tally-proof)
46+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#tally-proof)
4747
#[allow(clippy::module_name_repetitions)]
4848
pub fn generate_tally_proof_with_default_rng(
4949
encrypted_tally: &EncryptedTally, secret_key: &ElectionSecretKey,
@@ -52,7 +52,7 @@ pub fn generate_tally_proof_with_default_rng(
5252
}
5353

5454
/// Verifies a tally proof.
55-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#tally-proof)
55+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#tally-proof)
5656
#[must_use]
5757
#[allow(clippy::module_name_repetitions)]
5858
pub fn verify_tally_proof(

rust/catalyst-voting/src/vote_protocol/voter/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl EncryptedVote {
5050

5151
impl Vote {
5252
/// Generate a vote.
53-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#voting-choice)
53+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#voting-choice)
5454
///
5555
/// # Errors
5656
/// - Invalid voting choice, the value of `choice`, should be less than the number
@@ -85,7 +85,7 @@ impl Vote {
8585
}
8686

8787
/// Create a new encrypted vote from the given vote and public key with with the
88-
/// `crypto::default_rng`. More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#vote-encryption)
88+
/// `crypto::default_rng`. More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#vote-encryption)
8989
///
9090
/// # Errors
9191
/// - `EncryptedVoteError`
@@ -106,7 +106,7 @@ pub fn encrypt_vote<R: CryptoRngCore>(
106106
}
107107

108108
/// Create a new encrypted vote from the given vote and public key.
109-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#vote-encryption)
109+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#vote-encryption)
110110
#[must_use]
111111
pub fn encrypt_vote_with_default_rng(
112112
vote: &Vote, public_key: &ElectionPublicKey,

rust/catalyst-voting/src/vote_protocol/voter/proof.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl VoterProofCommitment {
4646
}
4747

4848
/// Generates a voter proof.
49-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#voters-proof)
49+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#voters-proof)
5050
///
5151
/// # Errors
5252
/// - Provided arguments mismatch. Size of the provided `vote`, `encrypted_vote` and
@@ -77,7 +77,7 @@ pub fn generate_voter_proof<R: CryptoRngCore>(
7777
}
7878

7979
/// Generates a voter proof with `crypto::default_rng`.
80-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#voters-proof)
80+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#voters-proof)
8181
///
8282
/// # Errors
8383
/// - Provided arguments mismatch. Size of the provided `vote`, `encrypted_vote` and
@@ -98,7 +98,7 @@ pub fn generate_voter_proof_with_default_rng(
9898
}
9999

100100
/// Verifies a voter proof.
101-
/// More detailed described [here](https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/voting_transaction/crypto/#voters-proof)
101+
/// More detailed described [here](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/crypto/#voters-proof)
102102
#[must_use]
103103
#[allow(clippy::module_name_repetitions)]
104104
pub fn verify_voter_proof(

0 commit comments

Comments
 (0)