consensus: fix doc links

This commit is contained in:
hinto.janai 2024-06-28 16:25:30 -04:00
parent ac33665918
commit 6dbb8398fc
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ pub fn check_block_pow(hash: &[u8; 32], difficulty: u128) -> Result<(), BlockErr
/// Returns the penalty free zone
///
/// <https://cuprate.github.io/monero-book/consensus_rules/blocks/weight_limit.html#penalty-free-zone>
/// <https://monero-book.cuprate.org/consensus_rules/blocks/weights.html#penalty-free-zone>
pub fn penalty_free_zone(hf: &HardFork) -> usize {
if hf == &HardFork::V1 {
PENALTY_FREE_ZONE_1

View file

@ -81,7 +81,7 @@ pub struct TxRingMembersInfo {
/// - The input amounts are *ALL* 0 (RCT)
/// - The top block hash is the same as when this data was retrieved (the blockchain state is unchanged).
///
/// <https://cuprate.github.io/monero-book/consensus_rules/transactions/decoys.html>
/// <https://cuprate.github.io/monero-book/consensus_rules/transactions/inputs.html>
#[derive(Debug, Copy, Clone)]
pub struct DecoyInfo {
/// The number of inputs that have enough outputs on the chain to mix with.