Package net.osslabz.lnd.dto
Class LnrpcChanPointShim
java.lang.Object
net.osslabz.lnd.dto.LnrpcChanPointShim
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcChanPointShim
extends Object
LnrpcChanPointShim
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchanPoint(LnrpcChannelPoint chanPoint) booleangetAmt()The size of the pre-crafted output to be used as the channel point for this channel funding.Get chanPointGet localKeybyte[]If non-zero, then this will be used as the pending channel ID on the wire protocol to initate the funding request.byte[]The key of the remote party to use when creating the multi-sig output.This uint32 indicates if this channel is to be considered 'frozen'.inthashCode()localKey(LnrpcKeyDescriptor localKey) pendingChanId(byte[] pendingChanId) remoteKey(byte[] remoteKey) voidvoidsetChanPoint(LnrpcChannelPoint chanPoint) voidsetLocalKey(LnrpcKeyDescriptor localKey) voidsetPendingChanId(byte[] pendingChanId) voidsetRemoteKey(byte[] remoteKey) voidsetThawHeight(Long thawHeight) thawHeight(Long thawHeight) toString()
-
Field Details
-
SERIALIZED_NAME_AMT
- See Also:
-
SERIALIZED_NAME_CHAN_POINT
- See Also:
-
SERIALIZED_NAME_LOCAL_KEY
- See Also:
-
SERIALIZED_NAME_REMOTE_KEY
- See Also:
-
SERIALIZED_NAME_PENDING_CHAN_ID
- See Also:
-
SERIALIZED_NAME_THAW_HEIGHT
- See Also:
-
-
Constructor Details
-
LnrpcChanPointShim
public LnrpcChanPointShim()
-
-
Method Details
-
amt
-
getAmt
The size of the pre-crafted output to be used as the channel point for this channel funding.- Returns:
- amt
-
setAmt
-
chanPoint
-
getChanPoint
Get chanPoint- Returns:
- chanPoint
-
setChanPoint
-
localKey
-
getLocalKey
Get localKey- Returns:
- localKey
-
setLocalKey
-
remoteKey
-
getRemoteKey
@Nullable public byte[] getRemoteKey()The key of the remote party to use when creating the multi-sig output.- Returns:
- remoteKey
-
setRemoteKey
public void setRemoteKey(byte[] remoteKey) -
pendingChanId
-
getPendingChanId
@Nullable public byte[] getPendingChanId()If non-zero, then this will be used as the pending channel ID on the wire protocol to initate the funding request. This is an optional field, and should only be set if the responder is already expecting a specific pending channel ID.- Returns:
- pendingChanId
-
setPendingChanId
public void setPendingChanId(byte[] pendingChanId) -
thawHeight
-
getThawHeight
This uint32 indicates if this channel is to be considered 'frozen'. A frozen channel does not allow a cooperative channel close by the initiator. The thaw_height is the height that this restriction stops applying to the channel. The height can be interpreted in two ways: as a relative height if the value is less than 500,000, or as an absolute height otherwise.- Returns:
- thawHeight
-
setThawHeight
-
equals
-
hashCode
public int hashCode() -
toString
-