bin/zold-stress in zold-stress-0.5.3 vs bin/zold-stress in zold-stress-0.6.0

- old
+ new

@@ -75,10 +75,11 @@ default: Dir.pwd o.string '--network', "The name of the network we work in (default: #{Zold::Wallet::MAINET}", required: true, default: Zold::Wallet::MAINET + o.bool '--skip-update', 'Don\'t update the list of remote nodes' o.bool '-h', '--help', 'Show these instructions' o.on '--verbose', 'Enable extra logging information' do log = Zold::Log::VERBOSE vlog = Zold::Log::REGULAR end @@ -125,12 +126,13 @@ log.info("Zold protocol version: #{Zold::PROTOCOL}") log.info("Network ID: #{opts['network']}") log.info("Rounds: #{opts['rounds']}, threads: #{opts['threads']}, pool: #{opts['pool']}, batch: #{opts['batch']}") start = Time.now - round.update + round.update unless opts['skip-update'] round.prepare opts['rounds'].times do |r| + round.update unless opts['skip-update'] round.send round.pull round.match log.info(summary) round.list if (r % 10).zero?