Class ChannelUpdate


  • public class ChannelUpdate
    extends Object
    A channel_update message to be sent or received from a peer
    • Method Detail

      • get_signature

        public byte[] get_signature()
        A signature of the channel update
      • set_signature

        public void set_signature​(byte[] val)
        A signature of the channel update
      • eq

        public boolean eq​(ChannelUpdate b)
        Checks if two ChannelUpdates contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
      • write

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