Skip to content
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

refactor!: remove all Bitcoin parsing and use concrete types #673

Merged
merged 2 commits into from
Apr 14, 2023

Conversation

gregdhill
Copy link
Member

@gregdhill gregdhill commented Jul 22, 2022

Signed-off-by: Gregory Hill gregorydhill@outlook.com

Closes #605

Open points:

  • Should we remove the hash field from BlockHeader?
  • Should we use BoundedVec for the scripts and witnesses?

@gregdhill gregdhill force-pushed the refactor/remove-parsing branch 3 times, most recently from cd81b85 to 9eb6283 Compare July 25, 2022 08:55
@gregdhill gregdhill added the needs-democracy Needs a referendum to be enacted label Aug 18, 2022
@gregdhill gregdhill added this to the Release 1.20 milestone Sep 16, 2022
@sander2 sander2 removed this from the Release 1.20 milestone Oct 13, 2022
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
@gregdhill gregdhill marked this pull request as ready for review April 3, 2023 12:29
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
nud3l
nud3l previously requested changes Apr 12, 2023
Copy link
Member

@nud3l nud3l left a comment

Choose a reason for hiding this comment

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

We need to re-run the script fetching current Bitcoin block headers and transactions to verify this change with the most recent blocks.

Also, I'd like to open a discussion if we should switch over to using https://github.com/rust-bitcoin/rust-bitcoin for our type needs.

@sander2 sander2 dismissed nud3l’s stale review April 14, 2023 16:13

will follow-up, see #1015

@sander2 sander2 merged commit 4cf80ce into interlay:master Apr 14, 2023
2 checks passed
@gregdhill gregdhill deleted the refactor/remove-parsing branch April 18, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-democracy Needs a referendum to be enacted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't parse, verify
3 participants