WIP commit with rustbitcoin-rpc, which is deeply unpleasant and unfinished

This commit is contained in:
Dave Hrycyszyn
2024-06-21 16:26:43 +01:00
parent c5a6aeb067
commit 14f24c6d34
5 changed files with 102 additions and 13 deletions

View File

@@ -22,6 +22,7 @@ pub(crate) fn side_paths(prefix: PathBuf) -> (PathBuf, PathBuf, PathBuf) {
(bft_crdt_key_path, bitcoin_key_path, config_path)
}
/// Returns the path to the home directory for this host OS and the given node name
pub(crate) fn home(name: &String) -> std::path::PathBuf {
let mut path = dirs::home_dir().unwrap();
path.push(".side");