bin/zold-stress in zold-stress-0.4.0 vs bin/zold-stress in zold-stress-0.5.0

- old
+ new

@@ -23,10 +23,11 @@ STDOUT.sync = true require 'slop' require 'rainbow' +require 'concurrent' require 'zold/log' require 'zold/age' require 'zold/wallet' require 'zold/wallets' require 'zold/sync_wallets' @@ -117,9 +118,18 @@ round = Zold::Stress::Round.new( pvt: Zold::Key.new(file: opts['private-key']), wallets: wallets, remotes: remotes, copies: copies, stats: stats, air: air, log: log, vlog: vlog, opts: opts ) + + log.info("Zold version: #{Zold::VERSION}") + log.info("Time: #{Time.now.utc.iso8601}; CPUs: #{Concurrent.processor_count}") + log.info("Home directory: #{home}") + log.info("Ruby version: #{RUBY_VERSION}/#{RUBY_PLATFORM}") + log.info("Zold gem version: #{Zold::VERSION}") + 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.prepare opts['rounds'].times do |r|