Skip to content

Commit cdf96f4

Browse files
committed
feat: add bootnodes
1 parent f94e0d4 commit cdf96f4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

node/src/chain_spec/finney.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ pub fn finney_mainnet_config() -> Result<ChainSpec, String> {
7373
.with_protocol_id("bittensor")
7474
.with_id("bittensor")
7575
.with_chain_type(ChainType::Live)
76+
.with_boot_nodes(vec![
77+
"/dns/bootnode.finney.chain.opentensor.ai/tcp/30333/ws/p2p/12D3KooWRwbMb85RWnT8DSXSYMWQtuDwh4LJzndoRrTDotTR5gDC"
78+
.parse()
79+
.unwrap(),
80+
])
7681
.with_genesis_config_patch(finney_genesis(
7782
// Initial PoA authorities (Validators)
7883
// aura | grandpa

node/src/chain_spec/testnet.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ pub fn finney_testnet_config() -> Result<ChainSpec, String> {
7070
},
7171
)
7272
.with_name("Bittensor")
73+
.with_boot_nodes(vec![
74+
"/dns/bootnode.test.chain.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr"
75+
.parse()
76+
.unwrap(),
77+
])
7378
.with_protocol_id("bittensor")
7479
.with_id("bittensor")
7580
.with_chain_type(ChainType::Development)

0 commit comments

Comments
 (0)