upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorBitflash <btf01@proton.me>2026-07-30 18:31:27 -0300
committerGitHub <noreply@github.com>2026-07-30 18:31:27 -0300
commit50b0a91b5dddd38f3094b9e97db77773d8299442 (patch)
tree3909dbdf7e083a6b385483a1aad893a7e2715132 /src/main_gui.cpp
parent86f080cc6deb0464edf3913daa2e1131b5eed7c7 (diff)
pool: put the height in the job builder's coinbase too (#60)
#59 changed BitcoinMiner and stopped there. RebuildJob in rpc.cpp builds its own coinbase for the pool operator's job template, and that template is mined and submitted like any other block, so it had the same hole: nothing in the transaction belonged to the block, and a repeated combination of difficulty, counter and key produces a byte-identical coinbase. The claim in #59 that two coinbases at different heights can no longer be identical only becomes true with this.
Diffstat (limited to 'src/main_gui.cpp')
0 files changed, 0 insertions, 0 deletions