Class OnionMessage


  • public class OnionMessage
    extends Object
    An onion message to be sent or received from a peer
    • Method Detail

      • get_blinding_point

        public byte[] get_blinding_point()
        Used in decrypting the onion packet's payload.
      • set_blinding_point

        public void set_blinding_point​(byte[] val)
        Used in decrypting the onion packet's payload.
      • write

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