pub struct UnconfirmedRound { /* private fields */ }Expand description
Track any round for which we signed forfeit txs
Any round for which we signed forfeit txs will be tracked in an object like this. Both when the round finished successfully or not. The funding tx in this object can thus be unsigned.
Implementations§
Source§impl UnconfirmedRound
impl UnconfirmedRound
Sourcepub fn new(funding_tx: Transaction, new_vtxos: Vec<Vtxo>) -> Self
pub fn new(funding_tx: Transaction, new_vtxos: Vec<Vtxo>) -> Self
Create a new instance of the [AwaitingConfirmation] state for a round that was synced from the server, but we have lost context for.
pub fn funding_txid(&self) -> Txid
Trait Implementations§
Source§impl Debug for UnconfirmedRound
impl Debug for UnconfirmedRound
Source§impl<'a> From<&'a UnconfirmedRound> for SerdeUnconfirmedRound<'a>
impl<'a> From<&'a UnconfirmedRound> for SerdeUnconfirmedRound<'a>
Source§fn from(v: &'a UnconfirmedRound) -> Self
fn from(v: &'a UnconfirmedRound) -> Self
Converts to this type from the input type.
Source§impl<'a> From<SerdeUnconfirmedRound<'a>> for UnconfirmedRound
impl<'a> From<SerdeUnconfirmedRound<'a>> for UnconfirmedRound
Source§fn from(v: SerdeUnconfirmedRound<'a>) -> Self
fn from(v: SerdeUnconfirmedRound<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnconfirmedRound
impl RefUnwindSafe for UnconfirmedRound
impl Send for UnconfirmedRound
impl Sync for UnconfirmedRound
impl Unpin for UnconfirmedRound
impl UnwindSafe for UnconfirmedRound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request