del debug output
This commit is contained in:
parent
cd5d046396
commit
77ef176e8a
@ -904,8 +904,6 @@ class BlockTemplate():
|
|||||||
merkle_root = merkleroot_from_branches(self.merkle_branches, cbh)
|
merkle_root = merkleroot_from_branches(self.merkle_branches, cbh)
|
||||||
print("merkle_root ", hexlify(merkle_root))
|
print("merkle_root ", hexlify(merkle_root))
|
||||||
print("branches ", self.merkle_branches)
|
print("branches ", self.merkle_branches)
|
||||||
print(self.transactions)
|
|
||||||
print(cb)
|
|
||||||
header = version + prev_hash + merkle_root + time + bits + nonce
|
header = version + prev_hash + merkle_root + time + bits + nonce
|
||||||
block = hexlify(header).decode()
|
block = hexlify(header).decode()
|
||||||
block += hexlify(to_var_int(len (self.transactions)+1)).decode()
|
block += hexlify(to_var_int(len (self.transactions)+1)).decode()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user