Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add US seed node hosted by duggavo #29

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions xelis_daemon/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub fn get_genesis_block_hash(network: &Network) -> &'static Hash {
}

// Mainnet seed nodes
const MAINNET_SEED_NODES: [&str; 5] = [
const MAINNET_SEED_NODES: [&str; 6] = [
// France
"51.210.117.23:2125",
// US
Expand All @@ -184,9 +184,10 @@ const MAINNET_SEED_NODES: [&str; 5] = [
// Singapore
"139.99.89.27:2125",
// Poland
"51.68.142.141:2125"
"51.68.142.141:2125",
// US (duggavo)
"66.78.40.76:2125"
];

// Testnet seed nodes
const TESTNET_SEED_NODES: [&str; 1] = [
// US
Expand All @@ -210,4 +211,4 @@ pub const fn get_minimum_difficulty(network: &Network) -> Difficulty {
Network::Mainnet => MINIMUM_DIFFICULTY,
_ => GENESIS_BLOCK_DIFFICULTY,
}
}
}