Skip to content

Rename FFI bitcoin structs and specify units#1537

Merged
spacebear21 merged 2 commits into
payjoin:masterfrom
spacebear21:dart-rename-bitcoin-structs
May 8, 2026
Merged

Rename FFI bitcoin structs and specify units#1537
spacebear21 merged 2 commits into
payjoin:masterfrom
spacebear21:dart-rename-bitcoin-structs

Conversation

@spacebear21
Copy link
Copy Markdown
Collaborator

@spacebear21 spacebear21 commented May 7, 2026

Follow ups to the conversation here SatoshiPortal/bullbitcoin-mobile#2041 (comment)

Authored with Claude Opus 4.7

Pull Request Checklist

Please confirm the following before requesting review:

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented May 7, 2026

Coverage Report for CI Build 25526869649

Coverage remained the same at 85.169%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 13519
Covered Lines: 11514
Line Coverage: 85.17%
Coverage Strength: 400.0 hits per line

💛 - Coveralls

@spacebear21 spacebear21 force-pushed the dart-rename-bitcoin-structs branch from 7b5d9c6 to 0232521 Compare May 7, 2026 22:40
The "Plain" prefix is awkward and doesn't add any useful information for
downstream implementers.
@spacebear21 spacebear21 force-pushed the dart-rename-bitcoin-structs branch from 0232521 to 18c01a6 Compare May 7, 2026 22:40
@spacebear21 spacebear21 changed the title Rename FFI bitcoin structs Rename FFI bitcoin structs and specify units May 7, 2026
@spacebear21 spacebear21 requested a review from DanGould May 7, 2026 22:41
Copy link
Copy Markdown
Collaborator

@arminsabouri arminsabouri left a comment

Choose a reason for hiding this comment

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

Concept + Code Ack 55b5e01

Copy link
Copy Markdown
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

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

Why were these ever prefixed Plain?

@spacebear21 spacebear21 merged commit c528143 into payjoin:master May 8, 2026
23 checks passed
@spacebear21
Copy link
Copy Markdown
Collaborator Author

Why were these ever prefixed Plain?

The prefixes were introduced in https://github.com/payjoin/rust-payjoin/pull/1191/changes when we moved away from actual bitcoin ffi structs

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.

4 participants