Give the bootstrap leader one million tokens as a #2355 workaround
This commit is contained in:
		| @@ -15,7 +15,10 @@ use std::path::Path; | |||||||
|  * - one token for the transaction fee |  * - one token for the transaction fee | ||||||
|  * - one second token to keep the node identity public key valid |  * - one second token to keep the node identity public key valid | ||||||
|  */ |  */ | ||||||
| pub const BOOTSTRAP_LEADER_TOKENS: u64 = 3; | //pub const BOOTSTRAP_LEADER_TOKENS: u64 = 3; | ||||||
|  | // TODO: Until https://github.com/solana-labs/solana/issues/2355 is resolved the bootstrap leader | ||||||
|  | // needs N tokens as its vote account gets re-created on every node restart, costing it tokens | ||||||
|  | pub const BOOTSTRAP_LEADER_TOKENS: u64 = 1_000_000; | ||||||
|  |  | ||||||
| fn main() -> Result<(), Box<dyn error::Error>> { | fn main() -> Result<(), Box<dyn error::Error>> { | ||||||
|     let matches = App::new("solana-genesis") |     let matches = App::new("solana-genesis") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user