diff --git a/bin/zold-stress b/bin/zold-stress index d39d4e2..d7f5f43 100755 --- a/bin/zold-stress +++ b/bin/zold-stress @@ -25,6 +25,7 @@ STDOUT.sync = true require 'slop' require 'rainbow' +require 'concurrent' require 'zold/log' require 'zold/age' require 'zold/wallet' @@ -120,6 +121,15 @@ Available options:" 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 diff --git a/zold-stress.gemspec b/zold-stress.gemspec index d2aaa10..7fc86e9 100755 --- a/zold-stress.gemspec +++ b/zold-stress.gemspec @@ -41,7 +41,7 @@ Gem::Specification.new do |s| s.extra_rdoc_files = ['README.md', 'LICENSE.txt'] s.add_runtime_dependency 'backtrace', '0.3.0' s.add_runtime_dependency 'parallelize', '0.4.1' - s.add_runtime_dependency 'zold', '0.16.22' + s.add_runtime_dependency 'zold' s.add_development_dependency 'codecov', '0.1.13' s.add_development_dependency 'minitest', '5.11.3' s.add_development_dependency 'random-port', '0.3.0'