Struct lightning::ln::msgs::CommitmentUpdate [−][src]
pub struct CommitmentUpdate { pub update_add_htlcs: Vec<UpdateAddHTLC>, pub update_fulfill_htlcs: Vec<UpdateFulfillHTLC>, pub update_fail_htlcs: Vec<UpdateFailHTLC>, pub update_fail_malformed_htlcs: Vec<UpdateFailMalformedHTLC>, pub update_fee: Option<UpdateFee>, pub commitment_signed: CommitmentSigned, }
Expand description
Struct used to return values from revoke_and_ack messages, containing a bunch of commitment transaction updates if they were pending.
Fields
update_add_htlcs: Vec<UpdateAddHTLC>
update_add_htlc messages which should be sent
update_fulfill_htlcs: Vec<UpdateFulfillHTLC>
update_fulfill_htlc messages which should be sent
update_fail_htlcs: Vec<UpdateFailHTLC>
update_fail_htlc messages which should be sent
update_fail_malformed_htlcs: Vec<UpdateFailMalformedHTLC>
update_fail_malformed_htlc messages which should be sent
update_fee: Option<UpdateFee>
An update_fee message which should be sent
commitment_signed: CommitmentSigned
Finally, the commitment_signed message which should be sent
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CommitmentUpdate
impl Send for CommitmentUpdate
impl Sync for CommitmentUpdate
impl Unpin for CommitmentUpdate
impl UnwindSafe for CommitmentUpdate
Blanket Implementations
Mutably borrows from an owned value. Read more