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 Details

  • Constructor Details

    • LnrpcChannelBackup

      public LnrpcChannelBackup()
  • Method Details

    • chanPoint

      public LnrpcChannelBackup chanPoint(LnrpcChannelPoint chanPoint)
    • getChanPoint

      @Nullable public LnrpcChannelPoint getChanPoint()
      Get chanPoint
      Returns:
      chanPoint
    • setChanPoint

      public void setChanPoint(LnrpcChannelPoint chanPoint)
    • chanBackup

      public LnrpcChannelBackup chanBackup(byte[] 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object