module Ethereum::EthashRuby

Constants

ACCESSES
CACHE_BYTES_GROWTH
CACHE_BYTES_INIT
CACHE_ROUNDS
DATASET_BYTES_GROWTH
DATASET_BYTES_INIT
DATASET_PARENTS
EPOCH_LENGTH
FNV_PRIME
HASH_BYTES
MIX_BYTES
WORD_BYTES

Public Class Methods

get_cache(*args) click to toggle source
# File lib/ethereum/ethash_ruby.rb, line 31
def get_cache(*args)
  ::Ethereum::Ethash::Cache.get(*args)
end
hashimoto_light(*args) click to toggle source
# File lib/ethereum/ethash_ruby.rb, line 27
def hashimoto_light(*args)
  ::Ethereum::Ethash::Hashimoto.new.light(*args)
end