Skip to content

Make psbt mod public and add required docs#782

Merged
notmandatory merged 1 commit intobitcoindevkit:masterfrom
notmandatory:pub_psbt
Oct 21, 2022
Merged

Make psbt mod public and add required docs#782
notmandatory merged 1 commit intobitcoindevkit:masterfrom
notmandatory:pub_psbt

Conversation

@notmandatory
Copy link
Copy Markdown
Member

@notmandatory notmandatory commented Oct 18, 2022

Description

Make psbt mod public and add required docs. The module needs to be public so bdk-ffi can expose the new PSBT fee_amount() and fee_rate() functions.

Notes to the reviewers

I should have done this as part of #728.

Changelog notice

Make psbt module public to expose PsbtUtils trait to downstream projects.

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

Copy link
Copy Markdown
Contributor

@rajarshimaitra rajarshimaitra left a comment

Choose a reason for hiding this comment

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

Concept + tACK 34987d5

@notmandatory notmandatory merged commit f2181f5 into bitcoindevkit:master Oct 21, 2022
@notmandatory notmandatory deleted the pub_psbt branch October 21, 2022 22:59
@notmandatory notmandatory mentioned this pull request Oct 27, 2022
24 tasks
notmandatory added a commit to bitcoindevkit/bdk-ffi that referenced this pull request Nov 7, 2022
…ions

ae1ea99 Add FeeRate struct and fee_amount() and fee_rate() functions on PartiallySignedTransaction (Steve Myers)
9a381f6 Rename PartiallySignedBitcoinTransaction to PartiallySignedTransaction (Steve Myers)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  Add FeeRate struct and fee_amount() and fee_rate() functions on PartiallySignedTransaction.

  ### Notes to the reviewers

  This PR is dependent on bitcoindevkit/bdk#782.

  ### Changelog notice

  - Breaking Changes
    - Renamed PartiallySignedBitcoinTransaction to PartiallySignedTransaction to be consistent with `rust-bitcoin`
  - APIs Added
    - Add FeeRate struct
    - Add fee_amount() and fee_rate() functions on PartiallySignedTransaction

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature

ACKs for top commit:
  thunderbiscuit:
    Re-ACK [ae1ea99](ae1ea99).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants