mirror of
https://github.com/monero-project/monero.git
synced 2025-05-10 22:15:00 -04:00
Stagenet
This commit is contained in:
parent
cc9a0bee04
commit
af773211cb
58 changed files with 566 additions and 357 deletions
|
@ -218,7 +218,7 @@ namespace cryptonote
|
|||
command_line::add_arg(desc, arg_bg_mining_miner_target_percentage);
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
bool miner::init(const boost::program_options::variables_map& vm, bool testnet)
|
||||
bool miner::init(const boost::program_options::variables_map& vm, network_type nettype)
|
||||
{
|
||||
if(command_line::has_arg(vm, arg_extra_messages))
|
||||
{
|
||||
|
@ -246,7 +246,7 @@ namespace cryptonote
|
|||
if(command_line::has_arg(vm, arg_start_mining))
|
||||
{
|
||||
address_parse_info info;
|
||||
if(!cryptonote::get_account_address_from_str(info, testnet, command_line::get_arg(vm, arg_start_mining)) || info.is_subaddress)
|
||||
if(!cryptonote::get_account_address_from_str(info, nettype, command_line::get_arg(vm, arg_start_mining)) || info.is_subaddress)
|
||||
{
|
||||
LOG_ERROR("Target account address " << command_line::get_arg(vm, arg_start_mining) << " has wrong format, starting daemon canceled");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue