Skip to content

Move sighash module to crate root#1340

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:10-25-move-sighash
Oct 25, 2022
Merged

Move sighash module to crate root#1340
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:10-25-move-sighash

Conversation

@tcharding
Copy link
Copy Markdown
Member

Done as part of the effort to flatten the util module.

The sighash module can stand alone in the crate root, it provides a discreet set of functionality - the SighashCache and associated types.

Marking as high priority because this is part of flattening util which is a required step before we start crate smashing.

Done as part of the effort to flatten the `util` module.

The `sighash` module can stand alone in the crate root, it provides a
discreet set of functionality - the `SighashCache` and associated types.
@tcharding tcharding added the P-high High priority label Oct 24, 2022
Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK fd7f8da

I'm marking it trivial even if maybe debatable, it can be easily seen it only moves stuff around.

@Kixunil Kixunil added the trivial Obvious, easy and quick to review (few lines or doc-only...) label Oct 24, 2022
@tcharding
Copy link
Copy Markdown
Member Author

I wasn't sure if the concept of moving was trivial, the patch is definitely trivial :)

@Kixunil
Copy link
Copy Markdown
Collaborator

Kixunil commented Oct 24, 2022

It's supposed to mean "trivial to review" which it should be - only use statements/paths are affected and those can not functionally change the code. Successful compilation is a good enough check here.

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 fd7f8da

@apoelstra apoelstra merged commit 03d67dd into rust-bitcoin:master Oct 25, 2022
apoelstra added a commit to apoelstra/rust-bitcoin that referenced this pull request Oct 25, 2022
…itcoin#999

I will test merge commits more thoroughly before signing off on them in future, sorry.
@tcharding tcharding deleted the 10-25-move-sighash branch October 25, 2022 23:49
sanket1729 added a commit that referenced this pull request Oct 27, 2022
c4084b9 Fix broken build due to conflict between #1340 and #999 (Andrew Poelstra)

Pull request description:

  I will test merge commits more thoroughly before signing off on them in future, sorry.

ACKs for top commit:
  DanGould:
    tACK c4084b9
  tcharding:
    ACK c4084b9
  sanket1729:
    ACK c4084b9

Tree-SHA512: 51ece3aa43045e81138d21b8402b1ec1559a0b37bdfc4c5246ff46fd085364517449a2e20e625934cbc0c96f18eb2fc6121a6e993fd5b9535ae54c863d032a0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P-high High priority trivial Obvious, easy and quick to review (few lines or doc-only...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants