- Update
payjoin
to0.22.0
. (Serialize reply_key with Sender #41)
- Add
pj_endpoint
method toPjUri
types. (#40)
- Add
to_json
andfrom_json
methods toSender
andReceiver
UniFFI types. (#39)
This release updates the bindings libraries to payjoin
version 0.21.0
.
- Major overhaul to attempt a stable BIP 77 protocol implementation.
- v1 support is now only available through the V2 backwards-compatible APIs.
- see payjoin-0.21.0 changelog for more details.
- Separate
payjoin_ffi
andpayjoin_ffi::uni
UniFFI types into two layers.
- Make backwards-compatible
v2
tov1
sends possible.
- Removed
contribute_non_nitness_input
fromv1
&v2
. - Allow receivers to make
payjoins
out of sweep transactions (#259). - Encode &ohttp= and &exp= parameters in the &pj= URL as a fragment instead of as URI params (#298)
This release updates the bindings libraries to payjoin
version 0.18.0
.
- Upgrade
receive/v2
type state machine to resume multiplepayjoins
simultaneously (#283) - Refactor output substitution with new fallable
try_substitute_outputs
(#277) - Replaced
Enroller
withSessionInitializer
. - Replaced
Enrolled
withActiveSession
. - Replaced
fallback_target()
withpj_url
.
- Exposed
PjUriBuilder
andPjUri
. - Exposed
pjUrl_builder()
inActiveSession
. - Exposed
check_pj_supported()
inPjUri
. - Exposed
fetch_ohttp_keys()
to fetch theohttp
keys from the specifiedpayjoin
directory.
-
RequestBuilder
exposesfrom_psbt_and_uri
,build_with_additional_fee
,build_recommended
,build_non_incentivizing
,always_disable_output_substitution
.RequestContext
exposesextract_contextV1
&extract_contextV2
.ContextV1
exposesprocess_response
.
-
ContextV2
exposesprocess_response
.
-
UncheckedProposal
exposesfrom_request
,extract_tx_to_schedule_broadcast
,check_broadcast_suitability
,build_non_incentivizing
,assume_interactive_receiver
&always_disable_output_substitution
.MaybeInputsOwned
exposescheck_inputs_not_owned
.MaybeMixedInputScripts
exposescheck_no_mixed_input_scripts
.MaybeInputsSeen
exposescheck_no_inputs_seen_before
.OutputsUnknown
exposesidentify_receiver_outputs
.ProvisionalProposal
exposessubstitute_output_address
,contribute_non_witness_input
,contribute_witness_input
,try_preserving_privacy
&finalize_proposal
.PayjoinProposal
exposesis_output_substitution_disabled
,owned_vouts
,psbt
&utxos_to_be_locked
.
-
Enroller
exposesfrom_directory_config
,process_response
&extract_request
.Enrolled
exposesextract_request
,process_response
&fall_back_target
.V2UncheckedProposal
exposesextract_tx_to_schedule_broadcast
,check_broadcast_suitability
&assume_interactive_receiver
.V2MaybeInputsOwned
exposescheck_inputs_not_owned
.V2MaybeMixedInputScripts
exposescheck_no_mixed_input_scripts
.V2MaybeInputsSeen
exposescheck_no_inputs_seen_before
.V2OutputsUnknown
exposesidentify_receiver_outputs
.V2ProvisionalProposal
exposessubstitute_output_address
,contribute_non_witness_input
,contribute_witness_input
,try_preserving_privacy
&finalize_proposal
.V2PayjoinProposal
exposesdeserialize_res
,extract_v1_req
,extract_v2_req
,is_output_substitution_disabled
,owned_vouts
,psbt
&utxos_to_be_locked
.