Mainnet enablement
1. Remove the exit guarding running a node in mainnet mode. 2. Set initial difficulty in genesis.
This commit is contained in:
@@ -87,12 +87,6 @@ fn real_main() -> i32 {
|
||||
global::ChainTypes::Mainnet
|
||||
};
|
||||
|
||||
// TODO remove for mainnet
|
||||
if chain_type == global::ChainTypes::Mainnet {
|
||||
println!("Mainnet not ready yet! In the meantime run 'grin --floonet ...'");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Deal with configuration file creation
|
||||
match args.subcommand() {
|
||||
("server", Some(server_args)) => {
|
||||
|
||||
Reference in New Issue
Block a user