c# pow implementation work
This commit is contained in:
parent
60c1ec07e9
commit
499981ed52
5 changed files with 34 additions and 8 deletions
|
@ -113,7 +113,7 @@ class SubprocessPOW:
|
|||
nonce = 0
|
||||
data = self.data
|
||||
metadata = self.metadata
|
||||
metadata['nonce'] = secrets.randbits(16)
|
||||
metadata['n'] = secrets.randbits(16)
|
||||
puzzle = self.puzzle
|
||||
difficulty = self.difficulty
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue