Skip to content

Commit

Permalink
pool: add constants module
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Apr 13, 2024
1 parent e3a42e9 commit e4536f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/nostr-relay-pool/src/pool/constants.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright (c) 2022-2023 Yuki Kishimoto
// Copyright (c) 2023-2024 Rust Nostr Developers
// Distributed under the MIT software license

//! Constants
pub const DEFAULT_DISCOVERY_RELAYS: [&str; 1] = ["wss://purplepag.es"];
1 change: 1 addition & 0 deletions crates/nostr-relay-pool/src/pool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use nostr::{
use nostr_database::{DynNostrDatabase, IntoNostrDatabase, MemoryDatabase};
use tokio::sync::broadcast;

mod constants;
mod error;
mod internal;
pub mod options;
Expand Down

0 comments on commit e4536f6

Please sign in to comment.