Skip to content

Remove usage of blockdata from paths#2885

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:06-20-rm-blockdata-path-usage
Jun 20, 2024
Merged

Remove usage of blockdata from paths#2885
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:06-20-rm-blockdata-path-usage

Conversation

@tcharding
Copy link
Copy Markdown
Member

@tcharding tcharding commented Jun 20, 2024

the blockdata directory is code organisation thing, all the types/modules are re-exported from other places. In preparation for, and to make easier, the primitives crate smashing work - remove all explicit usage of blockdata.

Note that the few instances remain as they seem required e.g.,

pub(in crate::blockdata::script)

Refactor only, no logic changes.

Done as part of #2883

the `blockdata` directory is code organisation thing, all the
types/modules are re-exported from other places. In preparation for, and
to make easier, the `primitives` crate smashing work - remove all
explicit usage of `blockdata`.

Note that the few instances remain as they seem required e.g.,

  `pub(in crate::blockdata::script)`

Refactor only, no logic changes.
@github-actions github-actions bot added C-bitcoin PRs modifying the bitcoin crate test labels Jun 20, 2024
Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK a42bcdc lgtm! I consider this "trivial" and will one-ACK merge it

@tcharding
Copy link
Copy Markdown
Member Author

I thought we were one-ack merging everything these days?

@apoelstra apoelstra merged commit 817e54f into rust-bitcoin:master Jun 20, 2024
@Kixunil
Copy link
Copy Markdown
Collaborator

Kixunil commented Jun 21, 2024

@tcharding I've requested two working days of time for non-trivial things. This is fuzzy but I believe it's good enough for me.

@tcharding
Copy link
Copy Markdown
Member Author

Two working days a week? That is legendary news for the project if so.

@Kixunil
Copy link
Copy Markdown
Collaborator

Kixunil commented Jun 22, 2024

I mean wait for two working days for me to review important stuff. IOW, I'm not generally available on the weekends (today is an exception :D) and since I have a lot of stuff going on I can't guarantee one working day. (Neither two but I don't want to hold up development too much.)

@tcharding
Copy link
Copy Markdown
Member Author

Oh I got you now, thanks for clarifying.

@tcharding tcharding deleted the 06-20-rm-blockdata-path-usage branch June 26, 2024 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bitcoin PRs modifying the bitcoin crate test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants