pub struct SignLocalHtlcTx2 {
pub tx: WithSize<Transaction>,
pub input: u32,
pub per_commitment_number: u64,
pub feerate_per_kw: u32,
pub offered: bool,
pub cltv_expiry: u32,
pub htlc_amount_msat: u64,
pub payment_hash: Sha256,
}
Expand description
LDK message to sign a local HTLC transaction.
Fields§
§tx: WithSize<Transaction>
§input: u32
§per_commitment_number: u64
§feerate_per_kw: u32
§offered: bool
§cltv_expiry: u32
§htlc_amount_msat: u64
§payment_hash: Sha256
Trait Implementations§
Source§impl DeBolt for SignLocalHtlcTx2
impl DeBolt for SignLocalHtlcTx2
Source§impl Debug for SignLocalHtlcTx2
impl Debug for SignLocalHtlcTx2
Source§impl Decodable for SignLocalHtlcTx2
impl Decodable for SignLocalHtlcTx2
Source§impl Encodable for SignLocalHtlcTx2
impl Encodable for SignLocalHtlcTx2
Auto Trait Implementations§
impl Freeze for SignLocalHtlcTx2
impl RefUnwindSafe for SignLocalHtlcTx2
impl Send for SignLocalHtlcTx2
impl Sync for SignLocalHtlcTx2
impl Unpin for SignLocalHtlcTx2
impl UnwindSafe for SignLocalHtlcTx2
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> Downcast for T
impl<T> Downcast for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more