Class HTLCUpdate


  • public class HTLCUpdate
    extends Object
    Simple structure sent back by `chain::Watch` when an HTLC from a forward channel is detected on chain. Used to update the corresponding HTLC in the backward channel. Failing to pass the preimage claim backward will lead to loss of funds.
    • Method Detail

      • write

        public byte[] write()
        Serialize the HTLCUpdate object into a byte array which can be read by HTLCUpdate_read