@@ -21,10 +21,10 @@ pub const DEFAULT_DATA_DIR: &str = ".";
21
21
pub const DEFAULT_SIM_FILE : & str = "sim.json" ;
22
22
23
23
/// The default expected payment amount for the simulation, around ~$10 at the time of writing.
24
- pub const EXPECTED_PAYMENT_AMOUNT : u64 = 3_800_000 ;
24
+ pub const DEFAULT_EXPECTED_PAYMENT_AMOUNT : u64 = 3_800_000 ;
25
25
26
26
/// The number of times over each node in the network sends its total deployed capacity in a calendar month.
27
- pub const ACTIVITY_MULTIPLIER : f64 = 2.0 ;
27
+ pub const DEFAULT_ACTIVITY_MULTIPLIER : f64 = 2.0 ;
28
28
29
29
/// Default batch size to flush result data to disk
30
30
const DEFAULT_PRINT_BATCH_SIZE : u32 = 500 ;
@@ -66,10 +66,10 @@ struct Cli {
66
66
#[ clap( long, short, verbatim_doc_comment, default_value = "info" ) ]
67
67
log_level : LevelFilter ,
68
68
/// Expected payment amount for the random activity generator
69
- #[ clap( long, short, default_value_t = EXPECTED_PAYMENT_AMOUNT , value_parser = clap:: builder:: RangedU64ValueParser :: <u64 >:: new( ) . range( 1 ..u64 :: MAX ) ) ]
69
+ #[ clap( long, short, default_value_t = DEFAULT_EXPECTED_PAYMENT_AMOUNT , value_parser = clap:: builder:: RangedU64ValueParser :: <u64 >:: new( ) . range( 1 ..u64 :: MAX ) ) ]
70
70
expected_pmt_amt : u64 ,
71
71
/// Multiplier of the overall network capacity used by the random activity generator
72
- #[ clap( long, short, default_value_t = ACTIVITY_MULTIPLIER , value_parser = clap:: builder:: StringValueParser :: new( ) . try_map( deserialize_f64_greater_than_zero) ) ]
72
+ #[ clap( long, short, default_value_t = DEFAULT_ACTIVITY_MULTIPLIER , value_parser = clap:: builder:: StringValueParser :: new( ) . try_map( deserialize_f64_greater_than_zero) ) ]
73
73
capacity_multiplier : f64 ,
74
74
/// Do not create an output file containing the simulations results
75
75
#[ clap( long, default_value_t = false ) ]
0 commit comments