lib/zold/node/front.rb
# The minimum score required in order to recognize a requester
# as a valuable node and add it to the list of remotes.
The minimum score required in order to recognize a requester
as a valuable node and add it to the list of remotes.
The minimum score required in order to recognize a requester as a valuable node and add it to the list of remotes .
def score
      settings.zache.get(:score, lifetime: settings.opts['no-cache'] ? 0 : 60) do
        b = settings.farm.best
        raise 'Score is empty, there is something wrong with the Farm!' if b.empty?
        b[0]
      end
    end
def score settings . zache . get ( :score , lifetime : settings . opts [ 'no-cache' ] ? 0 : 60 ) do b = settings . farm . best raise 'Score is empty, there is something wrong with the Farm!' if b . empty? b [ 0 ] end end
The minimum score required in order to recognize a requester
as a valuable node and add it to the list of remotes.
The minimum score required in order to recognize a requester as a valuable node and add it to the list of remotes .