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 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. [`reply_short_channel_ids_end`]: https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#the-query_short_channel_idsreply_short_channel_ids_end-messages
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplyShortChannelIdsEnd
clone()
Creates a copy of the ReplyShortChannelIdsEndboolean
eq(ReplyShortChannelIdsEnd b)
Checks if two ReplyShortChannelIdsEnds contain equal inner contents.boolean
equals(Object o)
protected 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_hash`static 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_hash`byte[]
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
-
eq
public boolean eq(ReplyShortChannelIdsEnd b)
Checks if two ReplyShortChannelIdsEnds 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 ReplyShortChannelIdsEnd object into a byte array which can be read by ReplyShortChannelIdsEnd_read
-
read
public static Result_ReplyShortChannelIdsEndDecodeErrorZ read(byte[] ser)
Read a ReplyShortChannelIdsEnd from a byte array, created by ReplyShortChannelIdsEnd_write
-
-