lib/api.rb
# miner_threads - Returns or sets the number of CPU threads for the miner.
# - @param [Integer] set_threads (optional) - The number of threads to allocate for mining.
Returns or sets the number of CPU threads for the miner.
@param [Integer] set_threads (optional) - The number of threads to allocate for mining.
Returns or sets the number of CPU threads for the miner . @param [ Integer ] set_threads ( optional ) - The number of threads to allocate for mining .
def miner_threads(set_threads = nil)
    if set_threads
      result = @rpc.request("minerThreads", set_threads)
    else
      result = @rpc.request("minerThreads")
    end
    return result
  end
def miner_threads ( set_threads = nil ) if set_threads result = @rpc . request ( "minerThreads" , set_threads ) else result = @rpc . request ( "minerThreads" ) end return result end
miner_threads - Returns or sets the number of CPU threads for the miner.
miner_threads - Returns or sets the number of CPU threads for the miner .
set_threads
<not_specific>