Skip to content

Commit

Permalink
Updated the block time
Browse files Browse the repository at this point in the history
  • Loading branch information
m-g-rathod committed May 6, 2024
1 parent 1b6c57c commit 38c66f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mine_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def gen_blk_hash(b_version, prev_b_hash, b_merkle_root, time_hex, bits, nonce):
b_version = "20800000"
prev_b_hash = "0000aeff00000000000000000000000000000000000000000000000000000000"
b_merkle_root = merkle_root(txids)
time = 1714938506
time = 1714978429
time_hex = time.to_bytes(4, byteorder='little').hex()
bits = "1f00ffff"

Expand Down
2 changes: 1 addition & 1 deletion output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
208000000000aeff0000000000000000000000000000000000000000000000000000000043767bcb8b59d2f6a37372381087b3b767bb6d9fe25867f7b2d79ba94cc405058ae237661f00ffff5aab0000
208000000000aeff0000000000000000000000000000000000000000000000000000000043767bcb8b59d2f6a37372381087b3b767bb6d9fe25867f7b2d79ba94cc405057d7e38661f00ffffe78d0000
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000245805201000000001976a914cb4f45b4ecfe54b25106a919237cf34ce193c1b988ac0000000000000000266a24aa21a9ed2a8c05a37101641b8c1b579dc23df9847f75954ce4e4329ff1d2fcffd70d995b0120000000000000000000000000000000000000000000000000000000000000000000000000
7126789d60979ff28fe141bcab6b281f50741fecf77ed8aaa0cfa04e84393f9d
4ab3cc4296fee78153d60d2884323a84260157db0b83a72309272f109ad9dd32
Expand Down

0 comments on commit 38c66f1

Please sign in to comment.