You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@arminsabouri correct me if I'm wrong but I think SessionEvent::Closed with a failure outcome could essentially replace SessionEvent::SessionInvalid for the sender?
@arminsabouri correct me if I'm wrong but I think SessionEvent::Closed with a failure outcome could essentially replace SessionEvent::SessionInvalid for the sender?
Yes. I agree. both SessionInvalid and ProposalReceived indicate a session is closed and we can reconcile them into one explicit "closed" event.
For maximum consistency with the Receiver events, ultimately I'd like to see:
pubenumSessionEvent{/// Sender was created with a HPKE key pairCreated(WithReplyKey),/// Sender POSTed the Original PSBT, and is waiting to receive a Proposal PSBTPostedOriginalPsbt(),/// Sender received a Proposal PSBTRetrievedProposalPsbt(bitcoin::Psbt),/// Closed sessionClosed(SessionOutcome),}
Activity
arminsabouri commentedon Sep 29, 2025
@zealsham will start by renaming the sender session events
arminsabouri commentedon Sep 29, 2025
@benalleng Will pick up adding a closed variant for the sender
arminsabouri commentedon Sep 29, 2025
@arminsabouri Will take audit the sender session events for primary info
benalleng commentedon Sep 30, 2025
What sender state transition would it be appropriate to actually present this
SessionEvent::Closedforarminsabouri commentedon Oct 1, 2025
Any case where we have to fatally or successfully close the session
spacebear21 commentedon Oct 1, 2025
@arminsabouri correct me if I'm wrong but I think
SessionEvent::Closedwith a failure outcome could essentially replaceSessionEvent::SessionInvalidfor the sender?arminsabouri commentedon Oct 1, 2025
Yes. I agree. both SessionInvalid and ProposalReceived indicate a session is closed and we can reconcile them into one explicit "closed" event.
spacebear21 commentedon Oct 1, 2025
Cross posting from #1125 :
For maximum consistency with the Receiver events, ultimately I'd like to see:
spacebear21 commentedon Oct 3, 2025
closed by #1125