Skip to content

Commit

Permalink
Update solo_miner.py blockheader
Browse files Browse the repository at this point in the history
  • Loading branch information
thearthouse authored Jan 31, 2025
1 parent 42f1262 commit 663ceab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions solo_miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ def bitcoin_miner(t, restarted=False):
#this is ck pool found block https://mempool.space/block/000000000000000000008659827d9d3e3f98cb6428ce5149464b44125be5ce19?showDetails=true&view=actual#details
#and this block header for that block https://mempool.space/api/block/000000000000000000008659827d9d3e3f98cb6428ce5149464b44125be5ce19/header

blockheader = ctx.version + ctx.prevhash + merkle_root + ctx.ntime + ctx.nbits + nonce +\
'000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000'
blockheader = ctx.version + ctx.prevhash + merkle_root + ctx.ntime + ctx.nbits + nonce

# Test
#blockheader = "00000034a701be3e9898775007c26f5f956db38ad858465828a500000000000000000000482eb3d98241ac8bb925d6419a20d67d1a79e3f217b21805776f9ca537fad3809fe96667fa970217bf573cce"
Expand Down

0 comments on commit 663ceab

Please sign in to comment.