diff --git a/.config/lychee.toml b/.config/lychee.toml index 200521ac41eeb739228d202ac0fb2d80be305464..733b77ec0cff9e616ecc0f851d9a3ed5e8574636 100644 --- a/.config/lychee.toml +++ b/.config/lychee.toml @@ -2,9 +2,9 @@ # Run with `lychee -c .config/lychee.toml ./**/*.rs ./**/*.prdoc` cache = true -max_cache_age = "1d" +max_cache_age = "10d" max_redirects = 10 -max_retries = 6 +max_retries = 3 # Exclude localhost et.al. exclude_all_private = true @@ -51,4 +51,7 @@ exclude = [ # Behind a captcha (code 403): "https://iohk.io/en/blog/posts/2023/11/03/partner-chains-are-coming-to-cardano/", "https://www.reddit.com/r/rust/comments/3spfh1/does_collect_allocate_more_than_once_while/", + # 403 rate limited: + "https://etherscan.io/block/11090290", + "https://substrate.stackexchange.com/.*", ] diff --git a/substrate/client/network/types/src/peer_id.rs b/substrate/client/network/types/src/peer_id.rs index 44d4fa99252be17325ea8c2010da0518943815c9..14ac4a1e9aae8028e6197327a9fe7eec633e40b4 100644 --- a/substrate/client/network/types/src/peer_id.rs +++ b/substrate/client/network/types/src/peer_id.rs @@ -97,7 +97,7 @@ impl PeerId { /// Convert `PeerId` into ed25519 public key bytes. pub fn into_ed25519(&self) -> Option<[u8; 32]> { let hash = &self.multihash; - // https://www.ietf.org/id/draft-multiformats-multihash-07.html#name-the-multihash-identifier-re + // https://www.ietf.org/archive/id/draft-multiformats-multihash-07.html#name-the-multihash-identifier-re if hash.code() != 0 { // Hash is not identity return None