upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/selftest.cpp
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 08:59:21 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 08:59:40 +0000
commitd8eb3aeec198e9e6753b89a53d25f4f91f8ab3d6 (patch)
tree602a3399828d2dc542a3cab7e7f85f92a6ca3518 /src/selftest.cpp
parenta2e1f27b32442bcea92eeda3ac09432f6c5ec2c5 (diff)
payout: refuse comment-only evidence for a round that has a proof
A pre-upgrade payout comment names only the height, so when a height is won, orphaned, and won again, the old transaction matches the new round's (height, address, amount) exactly and the miner is never paid. Round proofs decide the ambiguity where it is decidable: a proof is written when a round is created, and structured payout metadata (upstream 0b01d6c) predates round proofs (upstream b1eb8b6), so a round with a proof was created by a build whose every payment names its round -- a comment-only match can only be another round's money. Skipping the fallback cannot double-pay: any real payment for such a round is already found by the structured probe. Proofless rounds keep the documented bias.
Diffstat (limited to 'src/selftest.cpp')
0 files changed, 0 insertions, 0 deletions