Class CommitmentUpdate


  • public class CommitmentUpdate
    extends Object
    Struct used to return values from revoke_and_ack messages, containing a bunch of commitment transaction updates if they were pending.
    • Method Detail

      • set_update_add_htlcs

        public void set_update_add_htlcs​(UpdateAddHTLC[] val)
        update_add_htlc messages which should be sent
      • set_update_fulfill_htlcs

        public void set_update_fulfill_htlcs​(UpdateFulfillHTLC[] val)
        update_fulfill_htlc messages which should be sent
      • set_update_fail_htlcs

        public void set_update_fail_htlcs​(UpdateFailHTLC[] val)
        update_fail_htlc messages which should be sent
      • set_update_fail_malformed_htlcs

        public void set_update_fail_malformed_htlcs​(UpdateFailMalformedHTLC[] val)
        update_fail_malformed_htlc messages which should be sent
      • get_update_fee

        @Nullable
        public UpdateFee get_update_fee()
        An update_fee message which should be sent Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None
      • set_update_fee

        public void set_update_fee​(@Nullable
                                   UpdateFee val)
        An update_fee message which should be sent Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
      • get_commitment_signed

        public CommitmentSigned get_commitment_signed()
        Finally, the commitment_signed message which should be sent
      • set_commitment_signed

        public void set_commitment_signed​(CommitmentSigned val)
        Finally, the commitment_signed message which should be sent