lib/api.rb
# pool - Returns or sets the mining pool.
# When no parameter is given, it returns the current mining pool. When a value is given as parameter, it sets the mining pool to that value.
# - @param [String/Boolean] pool_address (optional) - The mining pool connection string (url:port) or boolean to enable/disable pool mining.
Returns or sets the mining pool.
When no parameter is given, it returns the current mining pool. When a value is given as parameter, it sets the mining pool to that value.
@param [String/Boolean] pool_address (optional) - The mining pool connection string (url:port) or boolean to enable/disable pool mining.
Returns or sets the mining pool . When no parameter is given it returns the current mining pool . When a value is given as parameter it sets the mining pool to that value . @param [ String / Boolean ] pool_address ( optional ) - The mining pool connection string ( url : port ) or boolean to enable / disable pool mining .
def pool(pool_address = nil)
    if pool_address
      result = @rpc.request("pool", pool_address)
    else
      result = @rpc.request("pool")
    end
    return result
  end
def pool ( pool_address = nil ) if pool_address result = @rpc . request ( "pool" , pool_address ) else result = @rpc . request ( "pool" ) end return result end
pool - Returns or sets the mining pool.
pool - Returns or sets the mining pool .
pool_address
<not_specific>