Skip to content

Conversation

@guggero
Copy link
Collaborator

@guggero guggero commented Sep 1, 2024

Adds library/API functionality for Silent Payment send support.

Implements the following BIPs (or pull requests to BIPs):

Goal is to address send support first as that's rather straightforward. Receive support is much more involved as it requires scanning the chain in a specific manner.

@coveralls
Copy link

coveralls commented Oct 20, 2024

Pull Request Test Coverage Report for Build 18942746453

Details

  • 515 of 722 (71.33%) changed or added relevant lines in 9 files are covered.
  • 28 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.2%) to 55.026%

Changes Missing Coverage Covered Lines Changed/Added Lines %
btcutil/silentpayments/output.go 52 58 89.66%
btcutil/silentpayments/secp.go 40 51 78.43%
btcutil/psbt/partial_output.go 27 39 69.23%
btcutil/psbt/partial_input.go 32 46 69.57%
btcutil/psbt/psbt.go 40 54 74.07%
btcutil/psbt/silentpayments.go 40 58 68.97%
btcutil/silentpayments/input.go 81 102 79.41%
btcutil/silentpayments/dleq.go 104 131 79.39%
btcutil/silentpayments/address.go 99 183 54.1%
Files with Coverage Reduction New Missed Lines %
btcutil/gcs/gcs.go 1 80.95%
database/ffldb/blockio.go 4 88.81%
rpcclient/infrastructure.go 23 40.84%
Totals Coverage Status
Change from base Build 18858421588: 0.2%
Covered Lines: 31635
Relevant Lines: 57491

💛 - Coveralls

@guggero guggero force-pushed the silent-payments branch 4 times, most recently from 2a9a931 to 996c4d3 Compare December 31, 2024 08:19
@saubyk saubyk added this to the v0.25 milestone Feb 13, 2025
@saubyk saubyk requested a review from kcalvinalvin February 18, 2025 00:48
@guggero guggero marked this pull request as ready for review March 28, 2025 20:37
@guggero guggero force-pushed the silent-payments branch 2 times, most recently from 88fa441 to 8a4fe70 Compare March 28, 2025 20:47
@benma
Copy link
Contributor

benma commented Aug 14, 2025

This is great work and very welcome. However, BIP-375 specifies exclusion for PSBTv0, so this will not be compatible with other PSBT libraries/wallets. Imho it would be best to focus on adding support for PSBTv2 first (#2328).

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