Remove usage of api.testnet.solana.com (#5274)
This commit is contained in:
		@@ -127,12 +127,9 @@ Remote Testnets
 | 
			
		||||
 | 
			
		||||
We maintain several testnets:
 | 
			
		||||
 | 
			
		||||
* `testnet` - public stable testnet accessible via testnet.solana.com, with an https proxy for web apps at api.testnet.solana.com. Runs 24/7
 | 
			
		||||
* `testnet` - public stable testnet accessible via testnet.solana.com. Runs 24/7
 | 
			
		||||
* `testnet-beta` - public beta channel testnet accessible via beta.testnet.solana.com. Runs 24/7
 | 
			
		||||
* `testnet-edge` - public edge channel testnet accessible via edge.testnet.solana.com. Runs 24/7
 | 
			
		||||
* `testnet-perf` - permissioned stable testnet running a 24/7 soak test
 | 
			
		||||
* `testnet-beta-perf` - permissioned beta channel testnet running a multi-hour soak test weekday mornings
 | 
			
		||||
* `testnet-edge-perf` - permissioned edge channel testnet running a multi-hour soak test weekday mornings
 | 
			
		||||
 | 
			
		||||
## Deploy process
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -153,7 +153,7 @@ FLAGS:
 | 
			
		||||
 | 
			
		||||
OPTIONS:
 | 
			
		||||
    -d, --data_dir <PATH>    Directory to store install data [default: /Users/mvines/Library/Application Support/solana]
 | 
			
		||||
    -u, --url <URL>          JSON RPC URL for the solana cluster [default: https://api.testnet.solana.com/]
 | 
			
		||||
    -u, --url <URL>          JSON RPC URL for the solana cluster [default: http://testnet.solana.com:8899]
 | 
			
		||||
    -p, --pubkey <PUBKEY>    Public key of the update manifest [default: 9XX329sPuskWhH4DQh6k16c87dHKhXLBZTL3Gxmve8Gp]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
pub const JSON_RPC_URL: &str = "https://api.testnet.solana.com/";
 | 
			
		||||
pub const JSON_RPC_URL: &str = "http://testnet.solana.com:8899";
 | 
			
		||||
 | 
			
		||||
lazy_static! {
 | 
			
		||||
    pub static ref CONFIG_FILE: Option<String> = {
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,7 @@ use std::process::exit;
 | 
			
		||||
pub const MAX_SHORT_FIELD_LENGTH: usize = 70;
 | 
			
		||||
pub const MAX_LONG_FIELD_LENGTH: usize = 300;
 | 
			
		||||
pub const MAX_VALIDATOR_INFO: u64 = 576;
 | 
			
		||||
pub const JSON_RPC_URL: &str = "https://api.testnet.solana.com:8899";
 | 
			
		||||
pub const JSON_RPC_URL: &str = "http://testnet.solana.com:8899";
 | 
			
		||||
 | 
			
		||||
// Config account key: Va1idator1nfo111111111111111111111111111111
 | 
			
		||||
pub const REGISTER_CONFIG_KEY: [u8; 32] = [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user