lnrpc.LightningClient.scala Maven / Gradle / Ivy
The newest version!
// Generated by Pekko gRPC. DO NOT EDIT.
package lnrpc
import scala.concurrent.ExecutionContext
import org.apache.pekko
import pekko.actor.ClassicActorSystemProvider
import pekko.grpc.GrpcChannel
import pekko.grpc.GrpcClientCloseException
import pekko.grpc.GrpcClientSettings
import pekko.grpc.scaladsl.PekkoGrpcClient
import pekko.grpc.internal.NettyClientUtils
import pekko.grpc.PekkoGrpcGenerated
import pekko.grpc.scaladsl.SingleResponseRequestBuilder
import pekko.grpc.internal.ScalaUnaryRequestBuilder
import pekko.grpc.scaladsl.StreamResponseRequestBuilder
import pekko.grpc.internal.ScalaServerStreamingRequestBuilder
import pekko.grpc.internal.ScalaBidirectionalStreamingRequestBuilder
// Not sealed so users can extend to write their stubs
@PekkoGrpcGenerated
trait LightningClient extends Lightning with LightningClientPowerApi with PekkoGrpcClient
@PekkoGrpcGenerated
object LightningClient {
def apply(settings: GrpcClientSettings)(implicit sys: ClassicActorSystemProvider): LightningClient =
new DefaultLightningClient(GrpcChannel(settings), isChannelOwned = true)
def apply(channel: GrpcChannel)(implicit sys: ClassicActorSystemProvider): LightningClient =
new DefaultLightningClient(channel, isChannelOwned = false)
private class DefaultLightningClient(channel: GrpcChannel, isChannelOwned: Boolean)(implicit sys: ClassicActorSystemProvider) extends LightningClient {
import Lightning.MethodDescriptors._
private implicit val ex: ExecutionContext = sys.classicSystem.dispatcher
private val settings = channel.settings
private val options = NettyClientUtils.callOptions(settings)
private def walletBalanceRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(walletBalanceDescriptor, channel, options, settings)
private def channelBalanceRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(channelBalanceDescriptor, channel, options, settings)
private def getTransactionsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getTransactionsDescriptor, channel, options, settings)
private def estimateFeeRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(estimateFeeDescriptor, channel, options, settings)
private def sendCoinsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(sendCoinsDescriptor, channel, options, settings)
private def listUnspentRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listUnspentDescriptor, channel, options, settings)
private def subscribeTransactionsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribeTransactionsDescriptor, channel, options, settings)
private def sendManyRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(sendManyDescriptor, channel, options, settings)
private def newAddressRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(newAddressDescriptor, channel, options, settings)
private def signMessageRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(signMessageDescriptor, channel, options, settings)
private def verifyMessageRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(verifyMessageDescriptor, channel, options, settings)
private def connectPeerRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(connectPeerDescriptor, channel, options, settings)
private def disconnectPeerRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(disconnectPeerDescriptor, channel, options, settings)
private def listPeersRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listPeersDescriptor, channel, options, settings)
private def subscribePeerEventsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribePeerEventsDescriptor, channel, options, settings)
private def getInfoRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getInfoDescriptor, channel, options, settings)
private def getRecoveryInfoRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getRecoveryInfoDescriptor, channel, options, settings)
private def pendingChannelsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(pendingChannelsDescriptor, channel, options, settings)
private def listChannelsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listChannelsDescriptor, channel, options, settings)
private def subscribeChannelEventsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribeChannelEventsDescriptor, channel, options, settings)
private def closedChannelsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(closedChannelsDescriptor, channel, options, settings)
private def openChannelSyncRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(openChannelSyncDescriptor, channel, options, settings)
private def openChannelRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(openChannelDescriptor, channel, options, settings)
private def batchOpenChannelRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(batchOpenChannelDescriptor, channel, options, settings)
private def fundingStateStepRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(fundingStateStepDescriptor, channel, options, settings)
private def channelAcceptorRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaBidirectionalStreamingRequestBuilder(channelAcceptorDescriptor, channel, options, settings)
private def closeChannelRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(closeChannelDescriptor, channel, options, settings)
private def abandonChannelRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(abandonChannelDescriptor, channel, options, settings)
private def sendPaymentRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaBidirectionalStreamingRequestBuilder(sendPaymentDescriptor, channel, options, settings)
private def sendPaymentSyncRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(sendPaymentSyncDescriptor, channel, options, settings)
private def sendToRouteRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaBidirectionalStreamingRequestBuilder(sendToRouteDescriptor, channel, options, settings)
private def sendToRouteSyncRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(sendToRouteSyncDescriptor, channel, options, settings)
private def addInvoiceRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(addInvoiceDescriptor, channel, options, settings)
private def listInvoicesRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listInvoicesDescriptor, channel, options, settings)
private def lookupInvoiceRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(lookupInvoiceDescriptor, channel, options, settings)
private def subscribeInvoicesRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribeInvoicesDescriptor, channel, options, settings)
private def decodePayReqRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(decodePayReqDescriptor, channel, options, settings)
private def listPaymentsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listPaymentsDescriptor, channel, options, settings)
private def deletePaymentRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(deletePaymentDescriptor, channel, options, settings)
private def deleteAllPaymentsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(deleteAllPaymentsDescriptor, channel, options, settings)
private def describeGraphRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(describeGraphDescriptor, channel, options, settings)
private def getNodeMetricsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getNodeMetricsDescriptor, channel, options, settings)
private def getChanInfoRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getChanInfoDescriptor, channel, options, settings)
private def getNodeInfoRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getNodeInfoDescriptor, channel, options, settings)
private def queryRoutesRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(queryRoutesDescriptor, channel, options, settings)
private def getNetworkInfoRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(getNetworkInfoDescriptor, channel, options, settings)
private def stopDaemonRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(stopDaemonDescriptor, channel, options, settings)
private def subscribeChannelGraphRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribeChannelGraphDescriptor, channel, options, settings)
private def debugLevelRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(debugLevelDescriptor, channel, options, settings)
private def feeReportRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(feeReportDescriptor, channel, options, settings)
private def updateChannelPolicyRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(updateChannelPolicyDescriptor, channel, options, settings)
private def forwardingHistoryRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(forwardingHistoryDescriptor, channel, options, settings)
private def exportChannelBackupRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(exportChannelBackupDescriptor, channel, options, settings)
private def exportAllChannelBackupsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(exportAllChannelBackupsDescriptor, channel, options, settings)
private def verifyChanBackupRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(verifyChanBackupDescriptor, channel, options, settings)
private def restoreChannelBackupsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(restoreChannelBackupsDescriptor, channel, options, settings)
private def subscribeChannelBackupsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribeChannelBackupsDescriptor, channel, options, settings)
private def bakeMacaroonRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(bakeMacaroonDescriptor, channel, options, settings)
private def listMacaroonIDsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listMacaroonIDsDescriptor, channel, options, settings)
private def deleteMacaroonIDRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(deleteMacaroonIDDescriptor, channel, options, settings)
private def listPermissionsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listPermissionsDescriptor, channel, options, settings)
private def checkMacaroonPermissionsRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(checkMacaroonPermissionsDescriptor, channel, options, settings)
private def registerRPCMiddlewareRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaBidirectionalStreamingRequestBuilder(registerRPCMiddlewareDescriptor, channel, options, settings)
private def sendCustomMessageRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(sendCustomMessageDescriptor, channel, options, settings)
private def subscribeCustomMessagesRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaServerStreamingRequestBuilder(subscribeCustomMessagesDescriptor, channel, options, settings)
private def listAliasesRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(listAliasesDescriptor, channel, options, settings)
private def lookupHtlcResolutionRequestBuilder(channel: pekko.grpc.internal.InternalChannel) =
new ScalaUnaryRequestBuilder(lookupHtlcResolutionDescriptor, channel, options, settings)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer walletBalance(lnrpc.WalletBalanceRequest) if possible.
*/
override def walletBalance(): SingleResponseRequestBuilder[lnrpc.WalletBalanceRequest, lnrpc.WalletBalanceResponse] =
walletBalanceRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of walletBalance
*/
def walletBalance(in: lnrpc.WalletBalanceRequest): scala.concurrent.Future[lnrpc.WalletBalanceResponse] =
walletBalance().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer channelBalance(lnrpc.ChannelBalanceRequest) if possible.
*/
override def channelBalance(): SingleResponseRequestBuilder[lnrpc.ChannelBalanceRequest, lnrpc.ChannelBalanceResponse] =
channelBalanceRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of channelBalance
*/
def channelBalance(in: lnrpc.ChannelBalanceRequest): scala.concurrent.Future[lnrpc.ChannelBalanceResponse] =
channelBalance().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getTransactions(lnrpc.GetTransactionsRequest) if possible.
*/
override def getTransactions(): SingleResponseRequestBuilder[lnrpc.GetTransactionsRequest, lnrpc.TransactionDetails] =
getTransactionsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getTransactions
*/
def getTransactions(in: lnrpc.GetTransactionsRequest): scala.concurrent.Future[lnrpc.TransactionDetails] =
getTransactions().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer estimateFee(lnrpc.EstimateFeeRequest) if possible.
*/
override def estimateFee(): SingleResponseRequestBuilder[lnrpc.EstimateFeeRequest, lnrpc.EstimateFeeResponse] =
estimateFeeRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of estimateFee
*/
def estimateFee(in: lnrpc.EstimateFeeRequest): scala.concurrent.Future[lnrpc.EstimateFeeResponse] =
estimateFee().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendCoins(lnrpc.SendCoinsRequest) if possible.
*/
override def sendCoins(): SingleResponseRequestBuilder[lnrpc.SendCoinsRequest, lnrpc.SendCoinsResponse] =
sendCoinsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendCoins
*/
def sendCoins(in: lnrpc.SendCoinsRequest): scala.concurrent.Future[lnrpc.SendCoinsResponse] =
sendCoins().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listUnspent(lnrpc.ListUnspentRequest) if possible.
*/
override def listUnspent(): SingleResponseRequestBuilder[lnrpc.ListUnspentRequest, lnrpc.ListUnspentResponse] =
listUnspentRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listUnspent
*/
def listUnspent(in: lnrpc.ListUnspentRequest): scala.concurrent.Future[lnrpc.ListUnspentResponse] =
listUnspent().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeTransactions(lnrpc.GetTransactionsRequest) if possible.
*/
override def subscribeTransactions(): StreamResponseRequestBuilder[lnrpc.GetTransactionsRequest, lnrpc.Transaction] =
subscribeTransactionsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribeTransactions
*/
def subscribeTransactions(in: lnrpc.GetTransactionsRequest): org.apache.pekko.stream.scaladsl.Source[lnrpc.Transaction, org.apache.pekko.NotUsed] =
subscribeTransactions().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendMany(lnrpc.SendManyRequest) if possible.
*/
override def sendMany(): SingleResponseRequestBuilder[lnrpc.SendManyRequest, lnrpc.SendManyResponse] =
sendManyRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendMany
*/
def sendMany(in: lnrpc.SendManyRequest): scala.concurrent.Future[lnrpc.SendManyResponse] =
sendMany().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer newAddress(lnrpc.NewAddressRequest) if possible.
*/
override def newAddress(): SingleResponseRequestBuilder[lnrpc.NewAddressRequest, lnrpc.NewAddressResponse] =
newAddressRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of newAddress
*/
def newAddress(in: lnrpc.NewAddressRequest): scala.concurrent.Future[lnrpc.NewAddressResponse] =
newAddress().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer signMessage(lnrpc.SignMessageRequest) if possible.
*/
override def signMessage(): SingleResponseRequestBuilder[lnrpc.SignMessageRequest, lnrpc.SignMessageResponse] =
signMessageRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of signMessage
*/
def signMessage(in: lnrpc.SignMessageRequest): scala.concurrent.Future[lnrpc.SignMessageResponse] =
signMessage().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer verifyMessage(lnrpc.VerifyMessageRequest) if possible.
*/
override def verifyMessage(): SingleResponseRequestBuilder[lnrpc.VerifyMessageRequest, lnrpc.VerifyMessageResponse] =
verifyMessageRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of verifyMessage
*/
def verifyMessage(in: lnrpc.VerifyMessageRequest): scala.concurrent.Future[lnrpc.VerifyMessageResponse] =
verifyMessage().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer connectPeer(lnrpc.ConnectPeerRequest) if possible.
*/
override def connectPeer(): SingleResponseRequestBuilder[lnrpc.ConnectPeerRequest, lnrpc.ConnectPeerResponse] =
connectPeerRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of connectPeer
*/
def connectPeer(in: lnrpc.ConnectPeerRequest): scala.concurrent.Future[lnrpc.ConnectPeerResponse] =
connectPeer().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer disconnectPeer(lnrpc.DisconnectPeerRequest) if possible.
*/
override def disconnectPeer(): SingleResponseRequestBuilder[lnrpc.DisconnectPeerRequest, lnrpc.DisconnectPeerResponse] =
disconnectPeerRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of disconnectPeer
*/
def disconnectPeer(in: lnrpc.DisconnectPeerRequest): scala.concurrent.Future[lnrpc.DisconnectPeerResponse] =
disconnectPeer().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listPeers(lnrpc.ListPeersRequest) if possible.
*/
override def listPeers(): SingleResponseRequestBuilder[lnrpc.ListPeersRequest, lnrpc.ListPeersResponse] =
listPeersRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listPeers
*/
def listPeers(in: lnrpc.ListPeersRequest): scala.concurrent.Future[lnrpc.ListPeersResponse] =
listPeers().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribePeerEvents(lnrpc.PeerEventSubscription) if possible.
*/
override def subscribePeerEvents(): StreamResponseRequestBuilder[lnrpc.PeerEventSubscription, lnrpc.PeerEvent] =
subscribePeerEventsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribePeerEvents
*/
def subscribePeerEvents(in: lnrpc.PeerEventSubscription): org.apache.pekko.stream.scaladsl.Source[lnrpc.PeerEvent, org.apache.pekko.NotUsed] =
subscribePeerEvents().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getInfo(lnrpc.GetInfoRequest) if possible.
*/
override def getInfo(): SingleResponseRequestBuilder[lnrpc.GetInfoRequest, lnrpc.GetInfoResponse] =
getInfoRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getInfo
*/
def getInfo(in: lnrpc.GetInfoRequest): scala.concurrent.Future[lnrpc.GetInfoResponse] =
getInfo().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getRecoveryInfo(lnrpc.GetRecoveryInfoRequest) if possible.
*/
override def getRecoveryInfo(): SingleResponseRequestBuilder[lnrpc.GetRecoveryInfoRequest, lnrpc.GetRecoveryInfoResponse] =
getRecoveryInfoRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getRecoveryInfo
*/
def getRecoveryInfo(in: lnrpc.GetRecoveryInfoRequest): scala.concurrent.Future[lnrpc.GetRecoveryInfoResponse] =
getRecoveryInfo().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer pendingChannels(lnrpc.PendingChannelsRequest) if possible.
*/
override def pendingChannels(): SingleResponseRequestBuilder[lnrpc.PendingChannelsRequest, lnrpc.PendingChannelsResponse] =
pendingChannelsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of pendingChannels
*/
def pendingChannels(in: lnrpc.PendingChannelsRequest): scala.concurrent.Future[lnrpc.PendingChannelsResponse] =
pendingChannels().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listChannels(lnrpc.ListChannelsRequest) if possible.
*/
override def listChannels(): SingleResponseRequestBuilder[lnrpc.ListChannelsRequest, lnrpc.ListChannelsResponse] =
listChannelsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listChannels
*/
def listChannels(in: lnrpc.ListChannelsRequest): scala.concurrent.Future[lnrpc.ListChannelsResponse] =
listChannels().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeChannelEvents(lnrpc.ChannelEventSubscription) if possible.
*/
override def subscribeChannelEvents(): StreamResponseRequestBuilder[lnrpc.ChannelEventSubscription, lnrpc.ChannelEventUpdate] =
subscribeChannelEventsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribeChannelEvents
*/
def subscribeChannelEvents(in: lnrpc.ChannelEventSubscription): org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelEventUpdate, org.apache.pekko.NotUsed] =
subscribeChannelEvents().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer closedChannels(lnrpc.ClosedChannelsRequest) if possible.
*/
override def closedChannels(): SingleResponseRequestBuilder[lnrpc.ClosedChannelsRequest, lnrpc.ClosedChannelsResponse] =
closedChannelsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of closedChannels
*/
def closedChannels(in: lnrpc.ClosedChannelsRequest): scala.concurrent.Future[lnrpc.ClosedChannelsResponse] =
closedChannels().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer openChannelSync(lnrpc.OpenChannelRequest) if possible.
*/
override def openChannelSync(): SingleResponseRequestBuilder[lnrpc.OpenChannelRequest, lnrpc.ChannelPoint] =
openChannelSyncRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of openChannelSync
*/
def openChannelSync(in: lnrpc.OpenChannelRequest): scala.concurrent.Future[lnrpc.ChannelPoint] =
openChannelSync().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer openChannel(lnrpc.OpenChannelRequest) if possible.
*/
override def openChannel(): StreamResponseRequestBuilder[lnrpc.OpenChannelRequest, lnrpc.OpenStatusUpdate] =
openChannelRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of openChannel
*/
def openChannel(in: lnrpc.OpenChannelRequest): org.apache.pekko.stream.scaladsl.Source[lnrpc.OpenStatusUpdate, org.apache.pekko.NotUsed] =
openChannel().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer batchOpenChannel(lnrpc.BatchOpenChannelRequest) if possible.
*/
override def batchOpenChannel(): SingleResponseRequestBuilder[lnrpc.BatchOpenChannelRequest, lnrpc.BatchOpenChannelResponse] =
batchOpenChannelRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of batchOpenChannel
*/
def batchOpenChannel(in: lnrpc.BatchOpenChannelRequest): scala.concurrent.Future[lnrpc.BatchOpenChannelResponse] =
batchOpenChannel().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer fundingStateStep(lnrpc.FundingTransitionMsg) if possible.
*/
override def fundingStateStep(): SingleResponseRequestBuilder[lnrpc.FundingTransitionMsg, lnrpc.FundingStateStepResp] =
fundingStateStepRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of fundingStateStep
*/
def fundingStateStep(in: lnrpc.FundingTransitionMsg): scala.concurrent.Future[lnrpc.FundingStateStepResp] =
fundingStateStep().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer channelAcceptor(org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelAcceptResponse, org.apache.pekko.NotUsed]) if possible.
*/
override def channelAcceptor(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelAcceptResponse, org.apache.pekko.NotUsed], lnrpc.ChannelAcceptRequest] =
channelAcceptorRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of channelAcceptor
*/
def channelAcceptor(in: org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelAcceptResponse, org.apache.pekko.NotUsed]): org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelAcceptRequest, org.apache.pekko.NotUsed] =
channelAcceptor().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer closeChannel(lnrpc.CloseChannelRequest) if possible.
*/
override def closeChannel(): StreamResponseRequestBuilder[lnrpc.CloseChannelRequest, lnrpc.CloseStatusUpdate] =
closeChannelRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of closeChannel
*/
def closeChannel(in: lnrpc.CloseChannelRequest): org.apache.pekko.stream.scaladsl.Source[lnrpc.CloseStatusUpdate, org.apache.pekko.NotUsed] =
closeChannel().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer abandonChannel(lnrpc.AbandonChannelRequest) if possible.
*/
override def abandonChannel(): SingleResponseRequestBuilder[lnrpc.AbandonChannelRequest, lnrpc.AbandonChannelResponse] =
abandonChannelRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of abandonChannel
*/
def abandonChannel(in: lnrpc.AbandonChannelRequest): scala.concurrent.Future[lnrpc.AbandonChannelResponse] =
abandonChannel().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendPayment(org.apache.pekko.stream.scaladsl.Source[lnrpc.SendRequest, org.apache.pekko.NotUsed]) if possible.
*/
override def sendPayment(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.SendRequest, org.apache.pekko.NotUsed], lnrpc.SendResponse] =
sendPaymentRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendPayment
*/
def sendPayment(in: org.apache.pekko.stream.scaladsl.Source[lnrpc.SendRequest, org.apache.pekko.NotUsed]): org.apache.pekko.stream.scaladsl.Source[lnrpc.SendResponse, org.apache.pekko.NotUsed] =
sendPayment().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendPaymentSync(lnrpc.SendRequest) if possible.
*/
override def sendPaymentSync(): SingleResponseRequestBuilder[lnrpc.SendRequest, lnrpc.SendResponse] =
sendPaymentSyncRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendPaymentSync
*/
def sendPaymentSync(in: lnrpc.SendRequest): scala.concurrent.Future[lnrpc.SendResponse] =
sendPaymentSync().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendToRoute(org.apache.pekko.stream.scaladsl.Source[lnrpc.SendToRouteRequest, org.apache.pekko.NotUsed]) if possible.
*/
override def sendToRoute(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.SendToRouteRequest, org.apache.pekko.NotUsed], lnrpc.SendResponse] =
sendToRouteRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendToRoute
*/
def sendToRoute(in: org.apache.pekko.stream.scaladsl.Source[lnrpc.SendToRouteRequest, org.apache.pekko.NotUsed]): org.apache.pekko.stream.scaladsl.Source[lnrpc.SendResponse, org.apache.pekko.NotUsed] =
sendToRoute().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendToRouteSync(lnrpc.SendToRouteRequest) if possible.
*/
override def sendToRouteSync(): SingleResponseRequestBuilder[lnrpc.SendToRouteRequest, lnrpc.SendResponse] =
sendToRouteSyncRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendToRouteSync
*/
def sendToRouteSync(in: lnrpc.SendToRouteRequest): scala.concurrent.Future[lnrpc.SendResponse] =
sendToRouteSync().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer addInvoice(lnrpc.Invoice) if possible.
*/
override def addInvoice(): SingleResponseRequestBuilder[lnrpc.Invoice, lnrpc.AddInvoiceResponse] =
addInvoiceRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of addInvoice
*/
def addInvoice(in: lnrpc.Invoice): scala.concurrent.Future[lnrpc.AddInvoiceResponse] =
addInvoice().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listInvoices(lnrpc.ListInvoiceRequest) if possible.
*/
override def listInvoices(): SingleResponseRequestBuilder[lnrpc.ListInvoiceRequest, lnrpc.ListInvoiceResponse] =
listInvoicesRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listInvoices
*/
def listInvoices(in: lnrpc.ListInvoiceRequest): scala.concurrent.Future[lnrpc.ListInvoiceResponse] =
listInvoices().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer lookupInvoice(lnrpc.PaymentHash) if possible.
*/
override def lookupInvoice(): SingleResponseRequestBuilder[lnrpc.PaymentHash, lnrpc.Invoice] =
lookupInvoiceRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of lookupInvoice
*/
def lookupInvoice(in: lnrpc.PaymentHash): scala.concurrent.Future[lnrpc.Invoice] =
lookupInvoice().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeInvoices(lnrpc.InvoiceSubscription) if possible.
*/
override def subscribeInvoices(): StreamResponseRequestBuilder[lnrpc.InvoiceSubscription, lnrpc.Invoice] =
subscribeInvoicesRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribeInvoices
*/
def subscribeInvoices(in: lnrpc.InvoiceSubscription): org.apache.pekko.stream.scaladsl.Source[lnrpc.Invoice, org.apache.pekko.NotUsed] =
subscribeInvoices().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer decodePayReq(lnrpc.PayReqString) if possible.
*/
override def decodePayReq(): SingleResponseRequestBuilder[lnrpc.PayReqString, lnrpc.PayReq] =
decodePayReqRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of decodePayReq
*/
def decodePayReq(in: lnrpc.PayReqString): scala.concurrent.Future[lnrpc.PayReq] =
decodePayReq().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listPayments(lnrpc.ListPaymentsRequest) if possible.
*/
override def listPayments(): SingleResponseRequestBuilder[lnrpc.ListPaymentsRequest, lnrpc.ListPaymentsResponse] =
listPaymentsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listPayments
*/
def listPayments(in: lnrpc.ListPaymentsRequest): scala.concurrent.Future[lnrpc.ListPaymentsResponse] =
listPayments().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer deletePayment(lnrpc.DeletePaymentRequest) if possible.
*/
override def deletePayment(): SingleResponseRequestBuilder[lnrpc.DeletePaymentRequest, lnrpc.DeletePaymentResponse] =
deletePaymentRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of deletePayment
*/
def deletePayment(in: lnrpc.DeletePaymentRequest): scala.concurrent.Future[lnrpc.DeletePaymentResponse] =
deletePayment().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer deleteAllPayments(lnrpc.DeleteAllPaymentsRequest) if possible.
*/
override def deleteAllPayments(): SingleResponseRequestBuilder[lnrpc.DeleteAllPaymentsRequest, lnrpc.DeleteAllPaymentsResponse] =
deleteAllPaymentsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of deleteAllPayments
*/
def deleteAllPayments(in: lnrpc.DeleteAllPaymentsRequest): scala.concurrent.Future[lnrpc.DeleteAllPaymentsResponse] =
deleteAllPayments().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer describeGraph(lnrpc.ChannelGraphRequest) if possible.
*/
override def describeGraph(): SingleResponseRequestBuilder[lnrpc.ChannelGraphRequest, lnrpc.ChannelGraph] =
describeGraphRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of describeGraph
*/
def describeGraph(in: lnrpc.ChannelGraphRequest): scala.concurrent.Future[lnrpc.ChannelGraph] =
describeGraph().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getNodeMetrics(lnrpc.NodeMetricsRequest) if possible.
*/
override def getNodeMetrics(): SingleResponseRequestBuilder[lnrpc.NodeMetricsRequest, lnrpc.NodeMetricsResponse] =
getNodeMetricsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getNodeMetrics
*/
def getNodeMetrics(in: lnrpc.NodeMetricsRequest): scala.concurrent.Future[lnrpc.NodeMetricsResponse] =
getNodeMetrics().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getChanInfo(lnrpc.ChanInfoRequest) if possible.
*/
override def getChanInfo(): SingleResponseRequestBuilder[lnrpc.ChanInfoRequest, lnrpc.ChannelEdge] =
getChanInfoRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getChanInfo
*/
def getChanInfo(in: lnrpc.ChanInfoRequest): scala.concurrent.Future[lnrpc.ChannelEdge] =
getChanInfo().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getNodeInfo(lnrpc.NodeInfoRequest) if possible.
*/
override def getNodeInfo(): SingleResponseRequestBuilder[lnrpc.NodeInfoRequest, lnrpc.NodeInfo] =
getNodeInfoRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getNodeInfo
*/
def getNodeInfo(in: lnrpc.NodeInfoRequest): scala.concurrent.Future[lnrpc.NodeInfo] =
getNodeInfo().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer queryRoutes(lnrpc.QueryRoutesRequest) if possible.
*/
override def queryRoutes(): SingleResponseRequestBuilder[lnrpc.QueryRoutesRequest, lnrpc.QueryRoutesResponse] =
queryRoutesRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of queryRoutes
*/
def queryRoutes(in: lnrpc.QueryRoutesRequest): scala.concurrent.Future[lnrpc.QueryRoutesResponse] =
queryRoutes().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getNetworkInfo(lnrpc.NetworkInfoRequest) if possible.
*/
override def getNetworkInfo(): SingleResponseRequestBuilder[lnrpc.NetworkInfoRequest, lnrpc.NetworkInfo] =
getNetworkInfoRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of getNetworkInfo
*/
def getNetworkInfo(in: lnrpc.NetworkInfoRequest): scala.concurrent.Future[lnrpc.NetworkInfo] =
getNetworkInfo().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer stopDaemon(lnrpc.StopRequest) if possible.
*/
override def stopDaemon(): SingleResponseRequestBuilder[lnrpc.StopRequest, lnrpc.StopResponse] =
stopDaemonRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of stopDaemon
*/
def stopDaemon(in: lnrpc.StopRequest): scala.concurrent.Future[lnrpc.StopResponse] =
stopDaemon().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeChannelGraph(lnrpc.GraphTopologySubscription) if possible.
*/
override def subscribeChannelGraph(): StreamResponseRequestBuilder[lnrpc.GraphTopologySubscription, lnrpc.GraphTopologyUpdate] =
subscribeChannelGraphRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribeChannelGraph
*/
def subscribeChannelGraph(in: lnrpc.GraphTopologySubscription): org.apache.pekko.stream.scaladsl.Source[lnrpc.GraphTopologyUpdate, org.apache.pekko.NotUsed] =
subscribeChannelGraph().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer debugLevel(lnrpc.DebugLevelRequest) if possible.
*/
override def debugLevel(): SingleResponseRequestBuilder[lnrpc.DebugLevelRequest, lnrpc.DebugLevelResponse] =
debugLevelRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of debugLevel
*/
def debugLevel(in: lnrpc.DebugLevelRequest): scala.concurrent.Future[lnrpc.DebugLevelResponse] =
debugLevel().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer feeReport(lnrpc.FeeReportRequest) if possible.
*/
override def feeReport(): SingleResponseRequestBuilder[lnrpc.FeeReportRequest, lnrpc.FeeReportResponse] =
feeReportRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of feeReport
*/
def feeReport(in: lnrpc.FeeReportRequest): scala.concurrent.Future[lnrpc.FeeReportResponse] =
feeReport().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer updateChannelPolicy(lnrpc.PolicyUpdateRequest) if possible.
*/
override def updateChannelPolicy(): SingleResponseRequestBuilder[lnrpc.PolicyUpdateRequest, lnrpc.PolicyUpdateResponse] =
updateChannelPolicyRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of updateChannelPolicy
*/
def updateChannelPolicy(in: lnrpc.PolicyUpdateRequest): scala.concurrent.Future[lnrpc.PolicyUpdateResponse] =
updateChannelPolicy().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer forwardingHistory(lnrpc.ForwardingHistoryRequest) if possible.
*/
override def forwardingHistory(): SingleResponseRequestBuilder[lnrpc.ForwardingHistoryRequest, lnrpc.ForwardingHistoryResponse] =
forwardingHistoryRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of forwardingHistory
*/
def forwardingHistory(in: lnrpc.ForwardingHistoryRequest): scala.concurrent.Future[lnrpc.ForwardingHistoryResponse] =
forwardingHistory().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer exportChannelBackup(lnrpc.ExportChannelBackupRequest) if possible.
*/
override def exportChannelBackup(): SingleResponseRequestBuilder[lnrpc.ExportChannelBackupRequest, lnrpc.ChannelBackup] =
exportChannelBackupRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of exportChannelBackup
*/
def exportChannelBackup(in: lnrpc.ExportChannelBackupRequest): scala.concurrent.Future[lnrpc.ChannelBackup] =
exportChannelBackup().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer exportAllChannelBackups(lnrpc.ChanBackupExportRequest) if possible.
*/
override def exportAllChannelBackups(): SingleResponseRequestBuilder[lnrpc.ChanBackupExportRequest, lnrpc.ChanBackupSnapshot] =
exportAllChannelBackupsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of exportAllChannelBackups
*/
def exportAllChannelBackups(in: lnrpc.ChanBackupExportRequest): scala.concurrent.Future[lnrpc.ChanBackupSnapshot] =
exportAllChannelBackups().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer verifyChanBackup(lnrpc.ChanBackupSnapshot) if possible.
*/
override def verifyChanBackup(): SingleResponseRequestBuilder[lnrpc.ChanBackupSnapshot, lnrpc.VerifyChanBackupResponse] =
verifyChanBackupRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of verifyChanBackup
*/
def verifyChanBackup(in: lnrpc.ChanBackupSnapshot): scala.concurrent.Future[lnrpc.VerifyChanBackupResponse] =
verifyChanBackup().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer restoreChannelBackups(lnrpc.RestoreChanBackupRequest) if possible.
*/
override def restoreChannelBackups(): SingleResponseRequestBuilder[lnrpc.RestoreChanBackupRequest, lnrpc.RestoreBackupResponse] =
restoreChannelBackupsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of restoreChannelBackups
*/
def restoreChannelBackups(in: lnrpc.RestoreChanBackupRequest): scala.concurrent.Future[lnrpc.RestoreBackupResponse] =
restoreChannelBackups().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeChannelBackups(lnrpc.ChannelBackupSubscription) if possible.
*/
override def subscribeChannelBackups(): StreamResponseRequestBuilder[lnrpc.ChannelBackupSubscription, lnrpc.ChanBackupSnapshot] =
subscribeChannelBackupsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribeChannelBackups
*/
def subscribeChannelBackups(in: lnrpc.ChannelBackupSubscription): org.apache.pekko.stream.scaladsl.Source[lnrpc.ChanBackupSnapshot, org.apache.pekko.NotUsed] =
subscribeChannelBackups().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer bakeMacaroon(lnrpc.BakeMacaroonRequest) if possible.
*/
override def bakeMacaroon(): SingleResponseRequestBuilder[lnrpc.BakeMacaroonRequest, lnrpc.BakeMacaroonResponse] =
bakeMacaroonRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of bakeMacaroon
*/
def bakeMacaroon(in: lnrpc.BakeMacaroonRequest): scala.concurrent.Future[lnrpc.BakeMacaroonResponse] =
bakeMacaroon().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listMacaroonIDs(lnrpc.ListMacaroonIDsRequest) if possible.
*/
override def listMacaroonIDs(): SingleResponseRequestBuilder[lnrpc.ListMacaroonIDsRequest, lnrpc.ListMacaroonIDsResponse] =
listMacaroonIDsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listMacaroonIDs
*/
def listMacaroonIDs(in: lnrpc.ListMacaroonIDsRequest): scala.concurrent.Future[lnrpc.ListMacaroonIDsResponse] =
listMacaroonIDs().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer deleteMacaroonID(lnrpc.DeleteMacaroonIDRequest) if possible.
*/
override def deleteMacaroonID(): SingleResponseRequestBuilder[lnrpc.DeleteMacaroonIDRequest, lnrpc.DeleteMacaroonIDResponse] =
deleteMacaroonIDRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of deleteMacaroonID
*/
def deleteMacaroonID(in: lnrpc.DeleteMacaroonIDRequest): scala.concurrent.Future[lnrpc.DeleteMacaroonIDResponse] =
deleteMacaroonID().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listPermissions(lnrpc.ListPermissionsRequest) if possible.
*/
override def listPermissions(): SingleResponseRequestBuilder[lnrpc.ListPermissionsRequest, lnrpc.ListPermissionsResponse] =
listPermissionsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listPermissions
*/
def listPermissions(in: lnrpc.ListPermissionsRequest): scala.concurrent.Future[lnrpc.ListPermissionsResponse] =
listPermissions().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer checkMacaroonPermissions(lnrpc.CheckMacPermRequest) if possible.
*/
override def checkMacaroonPermissions(): SingleResponseRequestBuilder[lnrpc.CheckMacPermRequest, lnrpc.CheckMacPermResponse] =
checkMacaroonPermissionsRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of checkMacaroonPermissions
*/
def checkMacaroonPermissions(in: lnrpc.CheckMacPermRequest): scala.concurrent.Future[lnrpc.CheckMacPermResponse] =
checkMacaroonPermissions().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer registerRPCMiddleware(org.apache.pekko.stream.scaladsl.Source[lnrpc.RPCMiddlewareResponse, org.apache.pekko.NotUsed]) if possible.
*/
override def registerRPCMiddleware(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.RPCMiddlewareResponse, org.apache.pekko.NotUsed], lnrpc.RPCMiddlewareRequest] =
registerRPCMiddlewareRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of registerRPCMiddleware
*/
def registerRPCMiddleware(in: org.apache.pekko.stream.scaladsl.Source[lnrpc.RPCMiddlewareResponse, org.apache.pekko.NotUsed]): org.apache.pekko.stream.scaladsl.Source[lnrpc.RPCMiddlewareRequest, org.apache.pekko.NotUsed] =
registerRPCMiddleware().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendCustomMessage(lnrpc.SendCustomMessageRequest) if possible.
*/
override def sendCustomMessage(): SingleResponseRequestBuilder[lnrpc.SendCustomMessageRequest, lnrpc.SendCustomMessageResponse] =
sendCustomMessageRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of sendCustomMessage
*/
def sendCustomMessage(in: lnrpc.SendCustomMessageRequest): scala.concurrent.Future[lnrpc.SendCustomMessageResponse] =
sendCustomMessage().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeCustomMessages(lnrpc.SubscribeCustomMessagesRequest) if possible.
*/
override def subscribeCustomMessages(): StreamResponseRequestBuilder[lnrpc.SubscribeCustomMessagesRequest, lnrpc.CustomMessage] =
subscribeCustomMessagesRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of subscribeCustomMessages
*/
def subscribeCustomMessages(in: lnrpc.SubscribeCustomMessagesRequest): org.apache.pekko.stream.scaladsl.Source[lnrpc.CustomMessage, org.apache.pekko.NotUsed] =
subscribeCustomMessages().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listAliases(lnrpc.ListAliasesRequest) if possible.
*/
override def listAliases(): SingleResponseRequestBuilder[lnrpc.ListAliasesRequest, lnrpc.ListAliasesResponse] =
listAliasesRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of listAliases
*/
def listAliases(in: lnrpc.ListAliasesRequest): scala.concurrent.Future[lnrpc.ListAliasesResponse] =
listAliases().invoke(in)
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer lookupHtlcResolution(lnrpc.LookupHtlcResolutionRequest) if possible.
*/
override def lookupHtlcResolution(): SingleResponseRequestBuilder[lnrpc.LookupHtlcResolutionRequest, lnrpc.LookupHtlcResolutionResponse] =
lookupHtlcResolutionRequestBuilder(channel.internalChannel)
/**
* For access to method metadata use the parameterless version of lookupHtlcResolution
*/
def lookupHtlcResolution(in: lnrpc.LookupHtlcResolutionRequest): scala.concurrent.Future[lnrpc.LookupHtlcResolutionResponse] =
lookupHtlcResolution().invoke(in)
override def close(): scala.concurrent.Future[pekko.Done] =
if (isChannelOwned) channel.close()
else throw new GrpcClientCloseException()
override def closed: scala.concurrent.Future[pekko.Done] = channel.closed()
}
}
@PekkoGrpcGenerated
trait LightningClientPowerApi {
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer walletBalance(lnrpc.WalletBalanceRequest) if possible.
*/
def walletBalance(): SingleResponseRequestBuilder[lnrpc.WalletBalanceRequest, lnrpc.WalletBalanceResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer channelBalance(lnrpc.ChannelBalanceRequest) if possible.
*/
def channelBalance(): SingleResponseRequestBuilder[lnrpc.ChannelBalanceRequest, lnrpc.ChannelBalanceResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getTransactions(lnrpc.GetTransactionsRequest) if possible.
*/
def getTransactions(): SingleResponseRequestBuilder[lnrpc.GetTransactionsRequest, lnrpc.TransactionDetails] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer estimateFee(lnrpc.EstimateFeeRequest) if possible.
*/
def estimateFee(): SingleResponseRequestBuilder[lnrpc.EstimateFeeRequest, lnrpc.EstimateFeeResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendCoins(lnrpc.SendCoinsRequest) if possible.
*/
def sendCoins(): SingleResponseRequestBuilder[lnrpc.SendCoinsRequest, lnrpc.SendCoinsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listUnspent(lnrpc.ListUnspentRequest) if possible.
*/
def listUnspent(): SingleResponseRequestBuilder[lnrpc.ListUnspentRequest, lnrpc.ListUnspentResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeTransactions(lnrpc.GetTransactionsRequest) if possible.
*/
def subscribeTransactions(): StreamResponseRequestBuilder[lnrpc.GetTransactionsRequest, lnrpc.Transaction] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendMany(lnrpc.SendManyRequest) if possible.
*/
def sendMany(): SingleResponseRequestBuilder[lnrpc.SendManyRequest, lnrpc.SendManyResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer newAddress(lnrpc.NewAddressRequest) if possible.
*/
def newAddress(): SingleResponseRequestBuilder[lnrpc.NewAddressRequest, lnrpc.NewAddressResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer signMessage(lnrpc.SignMessageRequest) if possible.
*/
def signMessage(): SingleResponseRequestBuilder[lnrpc.SignMessageRequest, lnrpc.SignMessageResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer verifyMessage(lnrpc.VerifyMessageRequest) if possible.
*/
def verifyMessage(): SingleResponseRequestBuilder[lnrpc.VerifyMessageRequest, lnrpc.VerifyMessageResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer connectPeer(lnrpc.ConnectPeerRequest) if possible.
*/
def connectPeer(): SingleResponseRequestBuilder[lnrpc.ConnectPeerRequest, lnrpc.ConnectPeerResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer disconnectPeer(lnrpc.DisconnectPeerRequest) if possible.
*/
def disconnectPeer(): SingleResponseRequestBuilder[lnrpc.DisconnectPeerRequest, lnrpc.DisconnectPeerResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listPeers(lnrpc.ListPeersRequest) if possible.
*/
def listPeers(): SingleResponseRequestBuilder[lnrpc.ListPeersRequest, lnrpc.ListPeersResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribePeerEvents(lnrpc.PeerEventSubscription) if possible.
*/
def subscribePeerEvents(): StreamResponseRequestBuilder[lnrpc.PeerEventSubscription, lnrpc.PeerEvent] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getInfo(lnrpc.GetInfoRequest) if possible.
*/
def getInfo(): SingleResponseRequestBuilder[lnrpc.GetInfoRequest, lnrpc.GetInfoResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getRecoveryInfo(lnrpc.GetRecoveryInfoRequest) if possible.
*/
def getRecoveryInfo(): SingleResponseRequestBuilder[lnrpc.GetRecoveryInfoRequest, lnrpc.GetRecoveryInfoResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer pendingChannels(lnrpc.PendingChannelsRequest) if possible.
*/
def pendingChannels(): SingleResponseRequestBuilder[lnrpc.PendingChannelsRequest, lnrpc.PendingChannelsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listChannels(lnrpc.ListChannelsRequest) if possible.
*/
def listChannels(): SingleResponseRequestBuilder[lnrpc.ListChannelsRequest, lnrpc.ListChannelsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeChannelEvents(lnrpc.ChannelEventSubscription) if possible.
*/
def subscribeChannelEvents(): StreamResponseRequestBuilder[lnrpc.ChannelEventSubscription, lnrpc.ChannelEventUpdate] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer closedChannels(lnrpc.ClosedChannelsRequest) if possible.
*/
def closedChannels(): SingleResponseRequestBuilder[lnrpc.ClosedChannelsRequest, lnrpc.ClosedChannelsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer openChannelSync(lnrpc.OpenChannelRequest) if possible.
*/
def openChannelSync(): SingleResponseRequestBuilder[lnrpc.OpenChannelRequest, lnrpc.ChannelPoint] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer openChannel(lnrpc.OpenChannelRequest) if possible.
*/
def openChannel(): StreamResponseRequestBuilder[lnrpc.OpenChannelRequest, lnrpc.OpenStatusUpdate] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer batchOpenChannel(lnrpc.BatchOpenChannelRequest) if possible.
*/
def batchOpenChannel(): SingleResponseRequestBuilder[lnrpc.BatchOpenChannelRequest, lnrpc.BatchOpenChannelResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer fundingStateStep(lnrpc.FundingTransitionMsg) if possible.
*/
def fundingStateStep(): SingleResponseRequestBuilder[lnrpc.FundingTransitionMsg, lnrpc.FundingStateStepResp] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer channelAcceptor(org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelAcceptResponse, org.apache.pekko.NotUsed]) if possible.
*/
def channelAcceptor(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.ChannelAcceptResponse, org.apache.pekko.NotUsed], lnrpc.ChannelAcceptRequest] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer closeChannel(lnrpc.CloseChannelRequest) if possible.
*/
def closeChannel(): StreamResponseRequestBuilder[lnrpc.CloseChannelRequest, lnrpc.CloseStatusUpdate] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer abandonChannel(lnrpc.AbandonChannelRequest) if possible.
*/
def abandonChannel(): SingleResponseRequestBuilder[lnrpc.AbandonChannelRequest, lnrpc.AbandonChannelResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendPayment(org.apache.pekko.stream.scaladsl.Source[lnrpc.SendRequest, org.apache.pekko.NotUsed]) if possible.
*/
def sendPayment(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.SendRequest, org.apache.pekko.NotUsed], lnrpc.SendResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendPaymentSync(lnrpc.SendRequest) if possible.
*/
def sendPaymentSync(): SingleResponseRequestBuilder[lnrpc.SendRequest, lnrpc.SendResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendToRoute(org.apache.pekko.stream.scaladsl.Source[lnrpc.SendToRouteRequest, org.apache.pekko.NotUsed]) if possible.
*/
def sendToRoute(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.SendToRouteRequest, org.apache.pekko.NotUsed], lnrpc.SendResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendToRouteSync(lnrpc.SendToRouteRequest) if possible.
*/
def sendToRouteSync(): SingleResponseRequestBuilder[lnrpc.SendToRouteRequest, lnrpc.SendResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer addInvoice(lnrpc.Invoice) if possible.
*/
def addInvoice(): SingleResponseRequestBuilder[lnrpc.Invoice, lnrpc.AddInvoiceResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listInvoices(lnrpc.ListInvoiceRequest) if possible.
*/
def listInvoices(): SingleResponseRequestBuilder[lnrpc.ListInvoiceRequest, lnrpc.ListInvoiceResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer lookupInvoice(lnrpc.PaymentHash) if possible.
*/
def lookupInvoice(): SingleResponseRequestBuilder[lnrpc.PaymentHash, lnrpc.Invoice] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeInvoices(lnrpc.InvoiceSubscription) if possible.
*/
def subscribeInvoices(): StreamResponseRequestBuilder[lnrpc.InvoiceSubscription, lnrpc.Invoice] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer decodePayReq(lnrpc.PayReqString) if possible.
*/
def decodePayReq(): SingleResponseRequestBuilder[lnrpc.PayReqString, lnrpc.PayReq] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listPayments(lnrpc.ListPaymentsRequest) if possible.
*/
def listPayments(): SingleResponseRequestBuilder[lnrpc.ListPaymentsRequest, lnrpc.ListPaymentsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer deletePayment(lnrpc.DeletePaymentRequest) if possible.
*/
def deletePayment(): SingleResponseRequestBuilder[lnrpc.DeletePaymentRequest, lnrpc.DeletePaymentResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer deleteAllPayments(lnrpc.DeleteAllPaymentsRequest) if possible.
*/
def deleteAllPayments(): SingleResponseRequestBuilder[lnrpc.DeleteAllPaymentsRequest, lnrpc.DeleteAllPaymentsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer describeGraph(lnrpc.ChannelGraphRequest) if possible.
*/
def describeGraph(): SingleResponseRequestBuilder[lnrpc.ChannelGraphRequest, lnrpc.ChannelGraph] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getNodeMetrics(lnrpc.NodeMetricsRequest) if possible.
*/
def getNodeMetrics(): SingleResponseRequestBuilder[lnrpc.NodeMetricsRequest, lnrpc.NodeMetricsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getChanInfo(lnrpc.ChanInfoRequest) if possible.
*/
def getChanInfo(): SingleResponseRequestBuilder[lnrpc.ChanInfoRequest, lnrpc.ChannelEdge] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getNodeInfo(lnrpc.NodeInfoRequest) if possible.
*/
def getNodeInfo(): SingleResponseRequestBuilder[lnrpc.NodeInfoRequest, lnrpc.NodeInfo] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer queryRoutes(lnrpc.QueryRoutesRequest) if possible.
*/
def queryRoutes(): SingleResponseRequestBuilder[lnrpc.QueryRoutesRequest, lnrpc.QueryRoutesResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer getNetworkInfo(lnrpc.NetworkInfoRequest) if possible.
*/
def getNetworkInfo(): SingleResponseRequestBuilder[lnrpc.NetworkInfoRequest, lnrpc.NetworkInfo] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer stopDaemon(lnrpc.StopRequest) if possible.
*/
def stopDaemon(): SingleResponseRequestBuilder[lnrpc.StopRequest, lnrpc.StopResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeChannelGraph(lnrpc.GraphTopologySubscription) if possible.
*/
def subscribeChannelGraph(): StreamResponseRequestBuilder[lnrpc.GraphTopologySubscription, lnrpc.GraphTopologyUpdate] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer debugLevel(lnrpc.DebugLevelRequest) if possible.
*/
def debugLevel(): SingleResponseRequestBuilder[lnrpc.DebugLevelRequest, lnrpc.DebugLevelResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer feeReport(lnrpc.FeeReportRequest) if possible.
*/
def feeReport(): SingleResponseRequestBuilder[lnrpc.FeeReportRequest, lnrpc.FeeReportResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer updateChannelPolicy(lnrpc.PolicyUpdateRequest) if possible.
*/
def updateChannelPolicy(): SingleResponseRequestBuilder[lnrpc.PolicyUpdateRequest, lnrpc.PolicyUpdateResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer forwardingHistory(lnrpc.ForwardingHistoryRequest) if possible.
*/
def forwardingHistory(): SingleResponseRequestBuilder[lnrpc.ForwardingHistoryRequest, lnrpc.ForwardingHistoryResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer exportChannelBackup(lnrpc.ExportChannelBackupRequest) if possible.
*/
def exportChannelBackup(): SingleResponseRequestBuilder[lnrpc.ExportChannelBackupRequest, lnrpc.ChannelBackup] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer exportAllChannelBackups(lnrpc.ChanBackupExportRequest) if possible.
*/
def exportAllChannelBackups(): SingleResponseRequestBuilder[lnrpc.ChanBackupExportRequest, lnrpc.ChanBackupSnapshot] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer verifyChanBackup(lnrpc.ChanBackupSnapshot) if possible.
*/
def verifyChanBackup(): SingleResponseRequestBuilder[lnrpc.ChanBackupSnapshot, lnrpc.VerifyChanBackupResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer restoreChannelBackups(lnrpc.RestoreChanBackupRequest) if possible.
*/
def restoreChannelBackups(): SingleResponseRequestBuilder[lnrpc.RestoreChanBackupRequest, lnrpc.RestoreBackupResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeChannelBackups(lnrpc.ChannelBackupSubscription) if possible.
*/
def subscribeChannelBackups(): StreamResponseRequestBuilder[lnrpc.ChannelBackupSubscription, lnrpc.ChanBackupSnapshot] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer bakeMacaroon(lnrpc.BakeMacaroonRequest) if possible.
*/
def bakeMacaroon(): SingleResponseRequestBuilder[lnrpc.BakeMacaroonRequest, lnrpc.BakeMacaroonResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listMacaroonIDs(lnrpc.ListMacaroonIDsRequest) if possible.
*/
def listMacaroonIDs(): SingleResponseRequestBuilder[lnrpc.ListMacaroonIDsRequest, lnrpc.ListMacaroonIDsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer deleteMacaroonID(lnrpc.DeleteMacaroonIDRequest) if possible.
*/
def deleteMacaroonID(): SingleResponseRequestBuilder[lnrpc.DeleteMacaroonIDRequest, lnrpc.DeleteMacaroonIDResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listPermissions(lnrpc.ListPermissionsRequest) if possible.
*/
def listPermissions(): SingleResponseRequestBuilder[lnrpc.ListPermissionsRequest, lnrpc.ListPermissionsResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer checkMacaroonPermissions(lnrpc.CheckMacPermRequest) if possible.
*/
def checkMacaroonPermissions(): SingleResponseRequestBuilder[lnrpc.CheckMacPermRequest, lnrpc.CheckMacPermResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer registerRPCMiddleware(org.apache.pekko.stream.scaladsl.Source[lnrpc.RPCMiddlewareResponse, org.apache.pekko.NotUsed]) if possible.
*/
def registerRPCMiddleware(): StreamResponseRequestBuilder[org.apache.pekko.stream.scaladsl.Source[lnrpc.RPCMiddlewareResponse, org.apache.pekko.NotUsed], lnrpc.RPCMiddlewareRequest] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer sendCustomMessage(lnrpc.SendCustomMessageRequest) if possible.
*/
def sendCustomMessage(): SingleResponseRequestBuilder[lnrpc.SendCustomMessageRequest, lnrpc.SendCustomMessageResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer subscribeCustomMessages(lnrpc.SubscribeCustomMessagesRequest) if possible.
*/
def subscribeCustomMessages(): StreamResponseRequestBuilder[lnrpc.SubscribeCustomMessagesRequest, lnrpc.CustomMessage] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer listAliases(lnrpc.ListAliasesRequest) if possible.
*/
def listAliases(): SingleResponseRequestBuilder[lnrpc.ListAliasesRequest, lnrpc.ListAliasesResponse] = ???
/**
* Lower level "lifted" version of the method, giving access to request metadata etc.
* prefer lookupHtlcResolution(lnrpc.LookupHtlcResolutionRequest) if possible.
*/
def lookupHtlcResolution(): SingleResponseRequestBuilder[lnrpc.LookupHtlcResolutionRequest, lnrpc.LookupHtlcResolutionResponse] = ???
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy