github payjoin/rust-payjoin payjoin-0.21.0

latest release: payjoin-directory-0.0.1
pre-release17 days ago

Summary

This release enables transaction cut-through by allowing the receiver to add an arbitrary number of inputs and outputs, and allowing mixed input script types in Payjoin V2. Additionally, there are several changes to the payjoin directory API and the HPKE in an attempt to stabilize the V2 protocol. This release contains many breaking changes as a result.

Changelog

  • Upgrade rustls v0.22.4
  • Depend on bitcoin-ohttp
  • Allow receiver to contribute multiple inputs and outputs
  • Remove contribute_witness_inputs and contribute_non_witness_inputs in favor of a single consolidated contribute_inputs function
  • Make InputPair public to facilitate working with inputs in coin selection and input contributions
  • Enable receiver fee contributions in apply_fee, which now requires a max_feerate parameter
  • Fix weight estimations for nested segwit inputs
  • Fix mixed input scripts receiver check in Payjoin V1 to only error if the receiver would introduce mixed types
  • Allow mixed input scripts in Payjoin V2
  • Implement client end-to-end encryption using HPKE using bitcoin-hpke
  • Make session initialization implicit
  • Make payloads uniform by removing sender auth key
  • Shorten subdirectory IDs to 64 pseudorandom bits #386
  • Clarify send and receive module documentation #407
  • Pad ohttp messages to consistent 8192 bytes #395
  • encode subdirectory IDs in bech32 and other QR optimizations #417
  • Upgrade to bitcoin v0.32.5
  • Work around '#' escaping bug in bip21 crate #373
  • Hide _danger-local-https feature behind _ prefix so it doesn't show up in docs #423

What's Changed

New Contributors

Full Changelog: payjoin-0.20.0...payjoin-0.21.0

Don't miss a new rust-payjoin release

NewReleases is sending notifications on new releases.