Class ForwardNode


  • public class ForwardNode
    extends Object
    An intermediate node, its outbound channel, and relay parameters.
    • Method Detail

      • get_tlvs

        public ForwardTlvs get_tlvs()
        The TLVs for this node's [`BlindedHop`], where the fee parameters contained within are also used for [`BlindedPayInfo`] construction.
      • set_tlvs

        public void set_tlvs​(ForwardTlvs val)
        The TLVs for this node's [`BlindedHop`], where the fee parameters contained within are also used for [`BlindedPayInfo`] construction.
      • get_node_id

        public byte[] get_node_id()
        This node's pubkey.
      • set_node_id

        public void set_node_id​(byte[] val)
        This node's pubkey.
      • get_htlc_maximum_msat

        public long get_htlc_maximum_msat()
        The maximum value, in msat, that may be accepted by this node.
      • set_htlc_maximum_msat

        public void set_htlc_maximum_msat​(long val)
        The maximum value, in msat, that may be accepted by this node.
      • of

        public static ForwardNode of​(ForwardTlvs tlvs_arg,
                                     byte[] node_id_arg,
                                     long htlc_maximum_msat_arg)
        Constructs a new ForwardNode given each field