+
Skip to content

feat: add BIP30 check #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025

Conversation

luisschwab
Copy link
Contributor

@luisschwab luisschwab commented May 13, 2025

What is the purpose of this pull request?

  • Bug fix
  • Documentation update
  • New feature
  • Test
  • Other:

Which crates are being modified?

  • floresta-chain
  • floresta-cli
  • floresta-common
  • floresta-compact-filters
  • floresta-electrum
  • floresta-watch-only
  • floresta-wire
  • floresta
  • florestad
  • Other:

Description

This is almost a carbon copy of the stale #120 minus comment modifications.

Coinbase transactions from blocks 91_722 and 91_812 have identical TXIDs to previous transactions. This PR marks them
as unspendable by checking if any of del_hashes matches one of these UTXOs.

Author Checklist

  • I've followed the contribution guidelines
  • I've verified one of the following:
    • Ran just pcc (recommended but slower)
    • Ran just lint-features '-- -D warnings' && cargo test --release
    • Confirmed CI passed on my fork
  • I've linked any related issue(s) in the sections above

Copy link
Contributor

@jaoleal jaoleal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, just one nit

@Davidson-Souza Davidson-Souza added the consensus This changes something inside our consensus implementation label May 13, 2025
@luisschwab luisschwab force-pushed the feat/add-bip30-check branch from 2c103f9 to 9dc28dd Compare May 13, 2025 19:23
Copy link
Member

@Davidson-Souza Davidson-Souza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 9dc28dd

@jaoleal
Copy link
Contributor

jaoleal commented May 13, 2025

ACK 9dc28dd

Copy link
Contributor

@JoseSK999 JoseSK999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 78970f9

Copy link
Member

@Davidson-Souza Davidson-Souza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-ACK 78970f9

@Davidson-Souza Davidson-Souza merged commit f43d7ee into vinteumorg:master May 14, 2025
10 checks passed
lucad70 pushed a commit to lucad70/Floresta that referenced this pull request May 15, 2025
This is almost a carbon copy of the stale vinteumorg#120 minus comment modifications.

Coinbase transactions from blocks 91_722 and 91_812 have identical TXIDs to previous transactions. This PR marks them
as unspendable by checking if any of del_hashes matches one of these UTXOs.
@luisschwab luisschwab deleted the feat/add-bip30-check branch June 25, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus This changes something inside our consensus implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载