upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 08:56:46 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 08:56:46 +0000
commita2e1f27b32442bcea92eeda3ac09432f6c5ec2c5 (patch)
tree8f4d829a68b11f8b9804ae0963fdc2dff5232fe5 /src/db.cpp
parent6c37f59ea136cbace8b0cfccefdad555ff3d619f (diff)
payout: record the full funding block hash and require it to agree
pool_payout_id keeps only the first sixteen hex digits of the block hash, which is the end proof-of-work fills with zeros -- so twin rounds at one height can carry the SAME id, and one twin's payment then settles the other's debt through the structured probe: the same-height collision the comment match had, one layer down. New sends record the full hash as pool_payout_block and a structured match must agree with it. A transaction without the key predates it and is matched by id as before; anything stricter would make every payment already sent look unpaid and pay it again.
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions