Skip to content

Commit

Permalink
Prepare floonet step
Browse files Browse the repository at this point in the history
  • Loading branch information
aroncds committed Oct 9, 2020
1 parent d64c5a4 commit 4cebce5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ pub const MAX_BLOCK_WEIGHT: usize = 40_000;
pub const MAINNET_FIRST_HARD_FORK: u64 = 700000;

/// Floonet first hard fork height
pub const FLOONET_FIRST_HARD_FORK: u64 = 2880;
pub const FLOONET_FIRST_HARD_FORK: u64 = 10080;

/// AutomatedTesting and UserTesting first hard fork height.
pub const TESTING_FIRST_HARD_FORK: u64 = 6;
Expand Down
15 changes: 8 additions & 7 deletions src/bin/epic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,14 @@ fn real_main() -> i32 {
.get_matches();
let node_config;

let chain_type = if args.is_present("floonet") {
global::ChainTypes::Floonet
} else if args.is_present("usernet") {
global::ChainTypes::UserTesting
} else {
global::ChainTypes::Mainnet
};
let chain_type = global::ChainTypes::Floonet;
// let chain_type = if args.is_present("floonet") {
// global::ChainTypes::Floonet
// } else if args.is_present("usernet") {
// global::ChainTypes::UserTesting
// } else {
// global::ChainTypes::Mainnet
// };
if let ("taxes", Some(taxes_args)) = args.subcommand() {
global::set_mining_mode(chain_type.clone());
let generate: u64 = taxes_args
Expand Down

0 comments on commit 4cebce5

Please sign in to comment.