We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import pyethash
with open("cache","rb") as fcache: cache = fcache.read()
data_size = pyethash.get_full_size(0)
print("Generating dataset (DAG) of size %d." % data_size) dataset = pyethash.calc_dataset_bytes(data_size, cache)
with open("dataset","w+b") as fcache: fcache.write(dataset)
getting below error: AttributeError: 'module' object has no attribute 'get_full_size'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
import pyethash
with open("cache","rb") as fcache:
cache = fcache.read()
Using same block 0 from benchmark code
data_size = pyethash.get_full_size(0)
print("Generating dataset (DAG) of size %d." % data_size)
dataset = pyethash.calc_dataset_bytes(data_size, cache)
with open("dataset","w+b") as fcache:
fcache.write(dataset)
getting below error:
AttributeError: 'module' object has no attribute 'get_full_size'
The text was updated successfully, but these errors were encountered: