radicle: Explorer and preferred seed configuration

Allows users to configure the default node explorer to use.
Allows users to configure their preferred seeds.
This commit is contained in:
cloudhead
2023-11-30 10:46:32 +01:00
parent 43586b8a61
commit c197bc8763
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ pub fn announce_refs(mut node: Node, rid: Id) -> Result<(), Error> {
match node.announce_refs(rid) {
Ok(_) => Ok(()),
Err(e) if e.is_connection_err() => Ok(()),
Err(e) => return Err(e.into()),
Err(e) => Err(e.into()),
}
}
+1 -5
View File
@@ -11,7 +11,6 @@ use serde_json::Value;
use time::OffsetDateTime;
use tower::ServiceExt;
use radicle::cli;
use radicle::cob::issue::Issues;
use radicle::cob::patch::{MergeTarget, Patches};
use radicle::crypto::ssh::keystore::MemorySigner;
@@ -69,10 +68,7 @@ pub fn profile(home: &Path, seed: [u8; 32]) -> radicle::Profile {
storage,
keystore,
public_key: keypair.pk.into(),
config: profile::Config {
node: node::Config::new(alias),
cli: cli::Config::default(),
},
config: profile::Config::new(alias),
}
}