mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
consensus: fix doc links
This commit is contained in:
parent
ac33665918
commit
6dbb8398fc
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue