Package net.osslabz.lnd.dto
Class LnrpcChannelBackup
java.lang.Object
net.osslabz.lnd.dto.LnrpcChannelBackup
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcChannelBackup
extends Object
LnrpcChannelBackup
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchanBackup(byte[] chanBackup) chanPoint(LnrpcChannelPoint chanPoint) booleanbyte[]Is an encrypted single-chan backup.Get chanPointinthashCode()voidsetChanBackup(byte[] chanBackup) voidsetChanPoint(LnrpcChannelPoint chanPoint) toString()
-
Field Details
-
SERIALIZED_NAME_CHAN_POINT
- See Also:
-
SERIALIZED_NAME_CHAN_BACKUP
- See Also:
-
-
Constructor Details
-
LnrpcChannelBackup
public LnrpcChannelBackup()
-
-
Method Details
-
chanPoint
-
getChanPoint
Get chanPoint- Returns:
- chanPoint
-
setChanPoint
-
chanBackup
-
getChanBackup
@Nullable public byte[] getChanBackup()Is an encrypted single-chan backup. this can be passed to RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in order to trigger the recovery protocol. When using REST, this field must be encoded as base64.- Returns:
- chanBackup
-
setChanBackup
public void setChanBackup(byte[] chanBackup) -
equals
-
hashCode
public int hashCode() -
toString
-