From 96c0eb609dfd9db59f4e1671bf01be0280f06089 Mon Sep 17 00:00:00 2001 From: DanGould Date: Mon, 21 Oct 2024 13:45:03 -0400 Subject: [PATCH] Adjust send documentation to use Sender --- payjoin/src/send/mod.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/payjoin/src/send/mod.rs b/payjoin/src/send/mod.rs index d52d0a04..f9db3547 100644 --- a/payjoin/src/send/mod.rs +++ b/payjoin/src/send/mod.rs @@ -9,11 +9,10 @@ //! 2. Construct URI request parameters, a finalized “Original PSBT” paying .amount to .address //! 3. (optional) Spawn a thread or async task that will broadcast the original PSBT fallback after //! delay (e.g. 1 minute) unless canceled -//! 4. Construct the request using [`RequestBuilder`] with the PSBT and payjoin uri -//! 5. Send the request and receive response -//! 6. Process the response with [`ContextV1::process_response`] -//! 7. Sign and finalize the Payjoin Proposal PSBT -//! 8. Broadcast the Payjoin Transaction (and cancel the optional fallback broadcast) +//! 4. Construct the [`Sender`] using [`SenderBuilder`] with the PSBT and payjoin uri +//! 5. Send the request(s) and receive response(s) by following on the extracted [`Context`] +//! 6. Sign and finalize the Payjoin Proposal PSBT +//! 7. Broadcast the Payjoin Transaction (and cancel the optional fallback broadcast) //! //! This crate is runtime-agnostic. Data persistence, chain interactions, and networking may be //! provided by custom implementations or copy the reference