diff options
| author | Bitflash <btf01@proton.me> | 2026-07-30 18:31:27 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-30 18:31:27 -0300 |
| commit | 50b0a91b5dddd38f3094b9e97db77773d8299442 (patch) | |
| tree | 3909dbdf7e083a6b385483a1aad893a7e2715132 /src/main.cpp | |
| parent | 86f080cc6deb0464edf3913daa2e1131b5eed7c7 (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.cpp')
0 files changed, 0 insertions, 0 deletions