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
This commit updates the `v2::Sender` to be generic over its
typestate (e.g., `V2GetContext`, `V2PostContext`, etc.). The
motivation is outlined in
arminsabouri@c8b860d
This commit renames the original `Sender` struct to `WithReplyKey`.
This type now represents the v2::sender session once the HPKE context
has been
created. The `Sender` name is re-purposed for the new generic wrapper
over typestate.
For the UniFFI exported receiver we monomorphize the exported structs
over a
specific typestate. UniFFI doesn't support exporting generic structs, so
we expose a concrete type to the FFI.
/// Call this method with response from receiver to continue BIP-??? flow. A successful response can either be None if the relay has not response yet or Some(Psbt).
198
204
/// If the response is some valid PSBT you should sign and broadcast.
0 commit comments