Package org.ldk.structs
Class ReplyShortChannelIdsEnd
- java.lang.Object
-
- org.ldk.structs.ReplyShortChannelIdsEnd
-
public class ReplyShortChannelIdsEnd extends Object
A reply_short_channel_ids_end message is sent as a reply to a query_short_channel_ids message. The query recipient makes a best effort to respond based on their local network view which may not be a perfect view of the network.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplyShortChannelIdsEnd
clone()
Creates a copy of the ReplyShortChannelIdsEndprotected void
finalize()
byte[]
get_chain_hash()
The genesis hash of the blockchain that was queriedboolean
get_full_information()
Indicates if the query recipient maintains up-to-date channel information for the chain_hashstatic ReplyShortChannelIdsEnd
of(byte[] chain_hash_arg, boolean full_information_arg)
Constructs a new ReplyShortChannelIdsEnd given each fieldstatic Result_ReplyShortChannelIdsEndDecodeErrorZ
read(byte[] ser)
Read a ReplyShortChannelIdsEnd from a byte array, created by ReplyShortChannelIdsEnd_writevoid
set_chain_hash(byte[] val)
The genesis hash of the blockchain that was queriedvoid
set_full_information(boolean val)
Indicates if the query recipient maintains up-to-date channel information for the chain_hashbyte[]
write()
Serialize the ReplyShortChannelIdsEnd object into a byte array which can be read by ReplyShortChannelIdsEnd_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_chain_hash
public byte[] get_chain_hash()
The genesis hash of the blockchain that was queried
-
set_chain_hash
public void set_chain_hash(byte[] val)
The genesis hash of the blockchain that was queried
-
get_full_information
public boolean get_full_information()
Indicates if the query recipient maintains up-to-date channel information for the chain_hash
-
set_full_information
public void set_full_information(boolean val)
Indicates if the query recipient maintains up-to-date channel information for the chain_hash
-
of
public static ReplyShortChannelIdsEnd of(byte[] chain_hash_arg, boolean full_information_arg)
Constructs a new ReplyShortChannelIdsEnd given each field
-
clone
public ReplyShortChannelIdsEnd clone()
Creates a copy of the ReplyShortChannelIdsEnd
-
read
public static Result_ReplyShortChannelIdsEndDecodeErrorZ read(byte[] ser)
Read a ReplyShortChannelIdsEnd from a byte array, created by ReplyShortChannelIdsEnd_write
-
write
public byte[] write()
Serialize the ReplyShortChannelIdsEnd object into a byte array which can be read by ReplyShortChannelIdsEnd_read
-
-