radicle: Add new `ash.radicle.garden` seed node
Add the new `ash` node as a preferred seed, to load balance.
This commit is contained in:
parent
24bf2826cc
commit
77076af23c
|
|
@ -73,7 +73,8 @@ mod routes {
|
|||
"config": {
|
||||
"publicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path",
|
||||
"preferredSeeds": [
|
||||
"z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7@seed.radicle.garden:8776"
|
||||
"z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7@seed.radicle.garden:8776",
|
||||
"z6Mkmqogy2qEM2ummccUthFEaaHvyYmYBYh3dbe9W4ebScxo@ash.radicle.garden:8776"
|
||||
],
|
||||
"web": { "pinned": { "repositories": [] } },
|
||||
"cli": {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,17 @@ pub mod seeds {
|
|||
.into()
|
||||
});
|
||||
|
||||
/// The radicle public `ash` seed node.
|
||||
pub static RADICLE_ASH_NODE: Lazy<ConnectAddress> = Lazy::new(|| {
|
||||
// SAFETY: `ConnectAddress` is known at compile time.
|
||||
#[allow(clippy::unwrap_used)]
|
||||
PeerAddr::from_str(
|
||||
"z6Mkmqogy2qEM2ummccUthFEaaHvyYmYBYh3dbe9W4ebScxo@ash.radicle.garden:8776",
|
||||
)
|
||||
.unwrap()
|
||||
.into()
|
||||
});
|
||||
|
||||
/// The radicle team node.
|
||||
pub static RADICLE_TEAM_NODE: Lazy<ConnectAddress> = Lazy::new(|| {
|
||||
// SAFETY: `ConnectAddress` is known at compile time.
|
||||
|
|
@ -70,7 +81,10 @@ impl Network {
|
|||
/// Public seeds for this network.
|
||||
pub fn public_seeds(&self) -> Vec<ConnectAddress> {
|
||||
match self {
|
||||
Self::Main => vec![seeds::RADICLE_COMMUNITY_NODE.clone()],
|
||||
Self::Main => vec![
|
||||
seeds::RADICLE_COMMUNITY_NODE.clone(),
|
||||
seeds::RADICLE_ASH_NODE.clone(),
|
||||
],
|
||||
Self::Test => vec![],
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue