Package org.ldk.structs
Class ForwardNode
- java.lang.Object
-
- org.ldk.structs.ForwardNode
-
public class ForwardNode extends Object
An intermediate node, its outbound channel, and relay parameters.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ForwardNodeclone()Creates a copy of the ForwardNodeprotected voidfinalize()longget_htlc_maximum_msat()The maximum value, in msat, that may be accepted by this node.byte[]get_node_id()This node's pubkey.ForwardTlvsget_tlvs()The TLVs for this node's [`BlindedHop`], where the fee parameters contained within are also used for [`BlindedPayInfo`] construction.static ForwardNodeof(ForwardTlvs tlvs_arg, byte[] node_id_arg, long htlc_maximum_msat_arg)Constructs a new ForwardNode given each fieldvoidset_htlc_maximum_msat(long val)The maximum value, in msat, that may be accepted by this node.voidset_node_id(byte[] val)This node's pubkey.voidset_tlvs(ForwardTlvs val)The TLVs for this node's [`BlindedHop`], where the fee parameters contained within are also used for [`BlindedPayInfo`] construction.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
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
-
clone
public ForwardNode clone()
Creates a copy of the ForwardNode
-
-