Skip to content

Commit

Permalink
feat: celestia-appd loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-monninger committed Feb 21, 2025
1 parent c586b80 commit d5b88aa
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ impl Runner for CelestiaAppd {
}
Network::Arabica => Err(anyhow::anyhow!("Arabica not implemented")),
Network::Mocha => Err(anyhow::anyhow!("Mocha not implemented")),
Network::Mainnet => Err(anyhow::anyhow!("Mainnet not implemented")),
Network::Mainnet => {
// loop and sleep over a message that says we are using a direct connection to a trusted Celestia endpoint
loop {
println!("Using a direct connection to a trusted Celestia endpoint");
std::thread::sleep(std::time::Duration::from_secs(60));
}
}
}
}
}

0 comments on commit d5b88aa

Please sign in to comment.