Skip to content

Commit fc857e5

Browse files
authored
Merge pull request #762 from subspace/bootstrap-node
networking: Introduce bootstrap-node app.
2 parents 63b8af6 + 1cbdc23 commit fc857e5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crates/subspace-networking/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ include = [
1616
]
1717

1818
[dependencies]
19+
anyhow = "1.0.61"
1920
async-trait = "0.1.57"
2021
bytes = "1.2.1"
2122
chrono = {version = "0.4.21", features = ["clock", "serde", "std",]}
23+
clap = { version = "3.2.16", features = ["color", "derive"] }
2224
derive_more = "0.99.17"
2325
event-listener-primitives = "2.0.1"
2426
futures = "0.3.21"
@@ -37,6 +39,7 @@ subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primiti
3739
thiserror = "1.0.32"
3840
tokio = { version = "1.20.1", features = ["macros", "parking_lot", "rt-multi-thread", "time"] }
3941
tracing = "0.1.36"
42+
tracing-subscriber = "0.3.15"
4043
typenum = "1.15.0"
4144
unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] }
4245

@@ -61,7 +64,4 @@ features = [
6164
]
6265

6366
[dev-dependencies]
64-
anyhow = "1.0.61"
65-
clap = { version = "3.2.16", features = ["color", "derive"] }
6667
rand = "0.8.5"
67-
tracing-subscriber = "0.3.15"

crates/subspace-networking/examples/bootstrap-node.rs renamed to crates/subspace-networking/src/bin/bootstrap-node/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ enum Command {
3030
async fn main() -> anyhow::Result<()> {
3131
tracing_subscriber::fmt::init();
3232

33+
info!("Bootstrap Node started",);
34+
3335
let command: Command = Command::parse();
3436

3537
match command {

0 commit comments

Comments
 (0)