From 959e786f9c7d46dfc2b082b6d09ad7479f5402f1 Mon Sep 17 00:00:00 2001 From: nazeh Date: Fri, 1 Nov 2024 14:23:26 +0300 Subject: [PATCH] feat: add pkarr.pubky.org as a default Resolver/Relay --- CHANGELOG.md | 1 + pkarr/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a891c12..aedc078 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to pkarr client and server will be documented in this file. - Add `SignedPacket::serialize` and `SignedPacket::deserialize`. - Derive `serde::Serialize` and `serde::Deserialize` for `SignedPacket`. - Add `pkarr::LmdbCache` for persistent cache using lmdb. +- Add `pkarr.pubky.org` as an extra default Relay and Resolver. ### Changed diff --git a/pkarr/src/lib.rs b/pkarr/src/lib.rs index 14917ff..ed77111 100644 --- a/pkarr/src/lib.rs +++ b/pkarr/src/lib.rs @@ -20,9 +20,9 @@ pub const DEFAULT_MAXIMUM_TTL: u32 = 24 * 60 * 60; /// Default cache size: 1000 pub const DEFAULT_CACHE_SIZE: usize = 1000; /// Default [relay](https://pkarr.org/relays)s -pub const DEFAULT_RELAYS: [&str; 2] = ["https://relay.pkarr.org", "https://pkarr.pubky.app"]; +pub const DEFAULT_RELAYS: [&str; 2] = ["https://relay.pkarr.org", "https://pkarr.pubky.org"]; /// Default [resolver](https://pkarr.org/resolvers)s -pub const DEFAULT_RESOLVERS: [&str; 2] = ["resolver.pkarr.org:6881", "pkarr.pubky.app:6881"]; +pub const DEFAULT_RESOLVERS: [&str; 2] = ["resolver.pkarr.org:6881", "pkarr.pubky.org:6881"]; #[cfg(any(target_arch = "wasm32", feature = "dht"))] pub use client::Client;