update define

This commit is contained in:
wood
2025-07-07 01:19:12 +08:00
parent 38a8e2dae4
commit 7f8f240da1
2 changed files with 45 additions and 13 deletions
+39 -12
View File
@@ -1,25 +1,52 @@
pub const SWQOS_ENDPOINTS_JITO: [&str; 3] = [
"https://ny.mainnet.block-engine.jito.wtf/api/v1/bundles",
"https://frankfurt.mainnet.block-engine.jito.wtf/api/v1/bundles",
"https://ams.block-engine.jito.wtf/api/v1/bundles",
// NewYork,
// Frankfurt,
// Amsterdam,
// SLC,
// Tokyo,
// London,
// LosAngeles,
// Default,
pub const SWQOS_ENDPOINTS_JITO: [&str; 8] = [
"https://ny.mainnet.block-engine.jito.wtf",
"https://frankfurt.mainnet.block-engine.jito.wtf",
"https://ams.block-engine.jito.wtf",
"https://slc.mainnet.block-engine.jito.wtf",
"https://tokyo.mainnet.block-engine.jito.wtf",
"https://london.mainnet.block-engine.jito.wtf",
"https://ny.mainnet.block-engine.jito.wtf",
"https://mainnet.block-engine.jito.wtf",
];
pub const SWQOS_ENDPOINTS_NEXTBLOCK: [&str; 5] = [
pub const SWQOS_ENDPOINTS_NEXTBLOCK: [&str; 8] = [
"http://ny.nextblock.io",
"http://fra.nextblock.io",
"http://slc.nextblock.io",
"http://tokyo.nextblock.io",
"http://london.nextblock.io",
"http://slc.nextblock.io",
"http://tokyo.nextblock.io",
"http://london.nextblock.io",
"http://ny.nextblock.io",
"http://fra.nextblock.io",
];
pub const SWQOS_ENDPOINTS_ZERO_SLOT: [&str; 3] = [
"http://ny1.0slot.trade",
"http://de1.0slot.trade",
"http://ams1.0slot.trade",
pub const SWQOS_ENDPOINTS_ZERO_SLOT: [&str; 8] = [
"http://ny.0slot.trade",
"http://de.0slot.trade",
"http://ams.0slot.trade",
"http://ams.0slot.trade",
"http://jp.0slot.trade",
"http://jp.0slot.trade",
"http://la.0slot.trade",
"http://de.0slot.trade",
];
pub const SWQOS_ENDPOINTS_TEMPORAL: [&str; 3] = [
pub const SWQOS_ENDPOINTS_TEMPORAL: [&str; 8] = [
"http://ewr1.nozomi.temporal.xyz",
"http://fra2.nozomi.temporal.xyz",
"http://ams1.nozomi.temporal.xyz",
"http://ams1.nozomi.temporal.xyz",
"http://ams1.nozomi.temporal.xyz",
"http://ams1.nozomi.temporal.xyz",
"http://ams1.nozomi.temporal.xyz",
"http://fra2.nozomi.temporal.xyz",
];
+6 -1
View File
@@ -60,8 +60,13 @@ pub trait SwqosClientTrait {
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum SwqosRegion {
NewYork,
Amsterdam,
Frankfurt,
Amsterdam,
SLC,
Tokyo,
London,
LosAngeles,
Default,
}
#[derive(Debug, Clone)]