Skip to content

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

Merged
sander2 merged 2 commits intointerlay:masterfrom
gregdhill:refactor/remove-parsing
Apr 14, 2023
Merged

refactor!: remove all Bitcoin parsing and use concrete types#673
sander2 merged 2 commits intointerlay:masterfrom
gregdhill:refactor/remove-parsing

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 force-pushed the refactor/remove-parsing branch from 9eb6283 to 7e7e260 Compare April 3, 2023 12:29
@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
@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