Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

not able to collect dag #124

Open
manwapri opened this issue Mar 25, 2020 · 0 comments
Open

not able to collect dag #124

manwapri opened this issue Mar 25, 2020 · 0 comments

Comments

@manwapri
Copy link

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant