use new pow value formats
This commit is contained in:
parent
366295f09c
commit
fa0318802b
@ -125,7 +125,7 @@ class SubprocessPOW:
|
||||
except KeyboardInterrupt:
|
||||
break
|
||||
# Load nonce into block metadata
|
||||
metadata['pow'] = nonce
|
||||
metadata['c'] = nonce
|
||||
# Serialize metadata, combine with block data
|
||||
payload = json.dumps(metadata).encode() + b'\n' + data
|
||||
# Check sha3_256 hash of block, compare to puzzle
|
||||
|
Loading…
Reference in New Issue
Block a user