change hostnames
This commit is contained in:
		@@ -55,7 +55,7 @@ impl NetworkManager {
 | 
			
		||||
                    // txt_version,min_version,max_version,nodeid,hostname,dialinfoshort*
 | 
			
		||||
                    //
 | 
			
		||||
                    // Split bootstrap node record by commas. Example:
 | 
			
		||||
                    // 0,0,0,7lxDEabK_qgjbe38RtBa3IZLrud84P6NhGP-pRTZzdQ,bootstrap-dev-alpha.veilid.net,T5150,U5150,W5150/ws
 | 
			
		||||
                    // 0,0,0,7lxDEabK_qgjbe38RtBa3IZLrud84P6NhGP-pRTZzdQ,bootstrap-1.dev.veilid.net,T5150,U5150,W5150/ws
 | 
			
		||||
                    let records: Vec<String> = bsnirecord
 | 
			
		||||
                        .trim()
 | 
			
		||||
                        .split(',')
 | 
			
		||||
 
 | 
			
		||||
@@ -49,8 +49,8 @@ Future<VeilidConfig> getDefaultVeilidConfig() async {
 | 
			
		||||
      nodeId: "",
 | 
			
		||||
      nodeIdSecret: "",
 | 
			
		||||
      bootstrap: kIsWeb
 | 
			
		||||
          ? ["ws://bootstrap-dev.veilid.net:5150/ws"]
 | 
			
		||||
          : ["bootstrap-dev.veilid.net"],
 | 
			
		||||
          ? ["ws://bootstrap.dev.veilid.net:5150/ws"]
 | 
			
		||||
          : ["bootstrap.dev.veilid.net"],
 | 
			
		||||
      bootstrapNodes: [],
 | 
			
		||||
      routingTable: VeilidConfigRoutingTable(
 | 
			
		||||
        limitOverAttached: 64,
 | 
			
		||||
 
 | 
			
		||||
@@ -67,7 +67,7 @@ core:
 | 
			
		||||
        hole_punch_receipt_time_ms: 5000 
 | 
			
		||||
        node_id: ''
 | 
			
		||||
        node_id_secret: ''
 | 
			
		||||
        bootstrap: ['bootstrap-dev.veilid.net']
 | 
			
		||||
        bootstrap: ['bootstrap.dev.veilid.net']
 | 
			
		||||
        bootstrap_nodes: []
 | 
			
		||||
        routing_table:
 | 
			
		||||
            limit_over_attached: 64
 | 
			
		||||
@@ -1472,7 +1472,7 @@ mod tests {
 | 
			
		||||
        //
 | 
			
		||||
        assert_eq!(
 | 
			
		||||
            s.core.network.bootstrap,
 | 
			
		||||
            vec!["bootstrap-dev.veilid.net".to_owned()]
 | 
			
		||||
            vec!["bootstrap.dev.veilid.net".to_owned()]
 | 
			
		||||
        );
 | 
			
		||||
        assert_eq!(s.core.network.bootstrap_nodes, vec![]);
 | 
			
		||||
        //
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user