[0.20.0]
APIs Added
-
Send Module (V1 & V2):
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
.
-
Receive Module (V1):
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_witness_input
,try_preserving_privacy
,finalize_proposal
.PayjoinProposal
exposesis_output_substitution_disabled
,owned_vouts
,psbt
,utxos_to_be_locked
.
-
Receive Module (V2):
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_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
.
-
Other APIs:
- Exposed
PjUriBuilder
andPjUri
. - Exposed
pjUrl_builder()
inActiveSession
. - Exposed
check_pj_supported()
inPjUri
. - Exposed
fetch_ohttp_keys()
to fetch theohttp
keys from the specifiedpayjoin
directory. - Make backwards-compatible
v2
tov1
sends possible.
- Exposed
APIs Changed
-
Send Module (V1 & V2):
- Removed
contribute_non_witness_input
fromv1
&v2
. - Refactor output substitution with new fallible
try_substitute_outputs
.
- Removed
-
Receive Module (V2):
-
Other Changes:
- Replaced
Enroller
withSessionInitializer
. - Replaced
Enrolled
withActiveSession
. - Replaced
fallback_target()
withpj_url
.
- Replaced