2015-12-30 23:19:09 +03:00
|
|
|
// Code generated by protoc-gen-go.
|
|
|
|
// source: rpc.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package lnrpc is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
rpc.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
2016-10-16 00:38:47 +03:00
|
|
|
Transaction
|
|
|
|
GetTransactionsRequest
|
|
|
|
TransactionDetails
|
2016-07-13 03:36:34 +03:00
|
|
|
SendRequest
|
|
|
|
SendResponse
|
2016-06-21 22:33:35 +03:00
|
|
|
ChannelPoint
|
|
|
|
LightningAddress
|
2015-12-30 23:19:09 +03:00
|
|
|
SendManyRequest
|
|
|
|
SendManyResponse
|
2016-06-29 21:28:10 +03:00
|
|
|
SendCoinsRequest
|
|
|
|
SendCoinsResponse
|
2015-12-30 23:19:09 +03:00
|
|
|
NewAddressRequest
|
2016-10-16 00:38:47 +03:00
|
|
|
NewWitnessAddressRequest
|
2015-12-30 23:19:09 +03:00
|
|
|
NewAddressResponse
|
2016-01-17 06:03:47 +03:00
|
|
|
ConnectPeerRequest
|
|
|
|
ConnectPeerResponse
|
2016-06-21 22:33:35 +03:00
|
|
|
HTLC
|
|
|
|
ActiveChannel
|
2016-09-26 06:02:33 +03:00
|
|
|
ListChannelsRequest
|
|
|
|
ListChannelsResponse
|
2016-06-21 22:33:35 +03:00
|
|
|
Peer
|
|
|
|
ListPeersRequest
|
|
|
|
ListPeersResponse
|
2016-07-06 04:52:05 +03:00
|
|
|
GetInfoRequest
|
|
|
|
GetInfoResponse
|
2016-07-08 01:24:52 +03:00
|
|
|
ConfirmationUpdate
|
|
|
|
ChannelOpenUpdate
|
|
|
|
ChannelCloseUpdate
|
2016-06-21 22:33:35 +03:00
|
|
|
CloseChannelRequest
|
2016-07-08 01:24:52 +03:00
|
|
|
CloseStatusUpdate
|
2016-08-31 02:42:23 +03:00
|
|
|
PendingUpdate
|
2016-07-08 01:24:52 +03:00
|
|
|
OpenChannelRequest
|
|
|
|
OpenStatusUpdate
|
|
|
|
PendingChannelRequest
|
|
|
|
PendingChannelResponse
|
2016-06-21 22:33:35 +03:00
|
|
|
WalletBalanceRequest
|
|
|
|
WalletBalanceResponse
|
2016-09-15 21:59:51 +03:00
|
|
|
ChannelBalanceRequest
|
|
|
|
ChannelBalanceResponse
|
2017-03-21 05:01:32 +03:00
|
|
|
QueryRoutesRequest
|
|
|
|
QueryRoutesResponse
|
2016-12-27 08:45:01 +03:00
|
|
|
Hop
|
|
|
|
Route
|
|
|
|
NodeInfoRequest
|
|
|
|
NodeInfo
|
|
|
|
LightningNode
|
2017-02-17 12:29:23 +03:00
|
|
|
NodeAddress
|
2016-12-27 08:45:01 +03:00
|
|
|
RoutingPolicy
|
|
|
|
ChannelEdge
|
|
|
|
ChannelGraphRequest
|
|
|
|
ChannelGraph
|
|
|
|
ChanInfoRequest
|
|
|
|
NetworkInfoRequest
|
|
|
|
NetworkInfo
|
2017-03-14 06:37:25 +03:00
|
|
|
GraphTopologySubscription
|
|
|
|
GraphTopologyUpdate
|
|
|
|
NodeUpdate
|
|
|
|
ChannelEdgeUpdate
|
|
|
|
ClosedChannelUpdate
|
2016-12-27 08:45:01 +03:00
|
|
|
SetAliasRequest
|
|
|
|
SetAliasResponse
|
2016-09-19 21:52:23 +03:00
|
|
|
Invoice
|
|
|
|
AddInvoiceResponse
|
|
|
|
PaymentHash
|
|
|
|
ListInvoiceRequest
|
|
|
|
ListInvoiceResponse
|
2016-10-16 00:38:47 +03:00
|
|
|
InvoiceSubscription
|
2016-12-05 14:59:36 +03:00
|
|
|
Payment
|
|
|
|
ListPaymentsRequest
|
|
|
|
ListPaymentsResponse
|
|
|
|
DeleteAllPaymentsRequest
|
|
|
|
DeleteAllPaymentsResponse
|
2017-01-15 05:14:03 +03:00
|
|
|
DebugLevelRequest
|
|
|
|
DebugLevelResponse
|
2017-01-18 00:24:55 +03:00
|
|
|
PayReqString
|
|
|
|
PayReq
|
2015-12-30 23:19:09 +03:00
|
|
|
*/
|
|
|
|
package lnrpc
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2017-02-17 12:29:23 +03:00
|
|
|
import _ "github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api"
|
2015-12-30 23:19:09 +03:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "golang.org/x/net/context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
2016-04-24 22:38:47 +03:00
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
2016-07-15 02:08:49 +03:00
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
2016-04-24 22:38:47 +03:00
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type ChannelStatus int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
ChannelStatus_ALL ChannelStatus = 0
|
|
|
|
ChannelStatus_OPENING ChannelStatus = 1
|
|
|
|
ChannelStatus_CLOSING ChannelStatus = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
var ChannelStatus_name = map[int32]string{
|
|
|
|
0: "ALL",
|
|
|
|
1: "OPENING",
|
|
|
|
2: "CLOSING",
|
|
|
|
}
|
|
|
|
var ChannelStatus_value = map[string]int32{
|
|
|
|
"ALL": 0,
|
|
|
|
"OPENING": 1,
|
|
|
|
"CLOSING": 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x ChannelStatus) String() string {
|
|
|
|
return proto.EnumName(ChannelStatus_name, int32(x))
|
|
|
|
}
|
|
|
|
func (ChannelStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
2016-04-25 06:26:32 +03:00
|
|
|
type NewAddressRequest_AddressType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
NewAddressRequest_WITNESS_PUBKEY_HASH NewAddressRequest_AddressType = 0
|
|
|
|
NewAddressRequest_NESTED_PUBKEY_HASH NewAddressRequest_AddressType = 1
|
|
|
|
NewAddressRequest_PUBKEY_HASH NewAddressRequest_AddressType = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
var NewAddressRequest_AddressType_name = map[int32]string{
|
|
|
|
0: "WITNESS_PUBKEY_HASH",
|
|
|
|
1: "NESTED_PUBKEY_HASH",
|
|
|
|
2: "PUBKEY_HASH",
|
|
|
|
}
|
|
|
|
var NewAddressRequest_AddressType_value = map[string]int32{
|
|
|
|
"WITNESS_PUBKEY_HASH": 0,
|
|
|
|
"NESTED_PUBKEY_HASH": 1,
|
|
|
|
"PUBKEY_HASH": 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x NewAddressRequest_AddressType) String() string {
|
|
|
|
return proto.EnumName(NewAddressRequest_AddressType_name, int32(x))
|
|
|
|
}
|
|
|
|
func (NewAddressRequest_AddressType) EnumDescriptor() ([]byte, []int) {
|
2016-10-16 00:38:47 +03:00
|
|
|
return fileDescriptor0, []int{11, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
type Transaction struct {
|
2017-03-06 01:53:37 +03:00
|
|
|
TxHash string `protobuf:"bytes,1,opt,name=tx_hash" json:"tx_hash,omitempty"`
|
|
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
|
|
|
|
NumConfirmations int32 `protobuf:"varint,3,opt,name=num_confirmations" json:"num_confirmations,omitempty"`
|
|
|
|
BlockHash string `protobuf:"bytes,4,opt,name=block_hash" json:"block_hash,omitempty"`
|
|
|
|
BlockHeight int32 `protobuf:"varint,5,opt,name=block_height" json:"block_height,omitempty"`
|
|
|
|
TimeStamp int64 `protobuf:"varint,6,opt,name=time_stamp" json:"time_stamp,omitempty"`
|
|
|
|
TotalFees int64 `protobuf:"varint,7,opt,name=total_fees" json:"total_fees,omitempty"`
|
2016-10-16 00:38:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) Reset() { *m = Transaction{} }
|
|
|
|
func (m *Transaction) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Transaction) ProtoMessage() {}
|
|
|
|
func (*Transaction) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *Transaction) GetTxHash() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TxHash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-03-06 01:53:37 +03:00
|
|
|
func (m *Transaction) GetAmount() int64 {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Amount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetNumConfirmations() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumConfirmations
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetBlockHash() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockHash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetBlockHeight() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockHeight
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetTimeStamp() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TimeStamp
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetTotalFees() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalFees
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
type GetTransactionsRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetTransactionsRequest) Reset() { *m = GetTransactionsRequest{} }
|
|
|
|
func (m *GetTransactionsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetTransactionsRequest) ProtoMessage() {}
|
|
|
|
func (*GetTransactionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
|
|
|
|
type TransactionDetails struct {
|
|
|
|
Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions" json:"transactions,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransactionDetails) Reset() { *m = TransactionDetails{} }
|
|
|
|
func (m *TransactionDetails) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*TransactionDetails) ProtoMessage() {}
|
|
|
|
func (*TransactionDetails) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
|
|
|
|
func (m *TransactionDetails) GetTransactions() []*Transaction {
|
|
|
|
if m != nil {
|
|
|
|
return m.Transactions
|
|
|
|
}
|
|
|
|
return nil
|
2016-04-25 06:26:32 +03:00
|
|
|
}
|
|
|
|
|
2016-07-13 03:36:34 +03:00
|
|
|
type SendRequest struct {
|
2016-11-11 04:33:24 +03:00
|
|
|
Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"`
|
2017-01-13 06:40:38 +03:00
|
|
|
DestString string `protobuf:"bytes,2,opt,name=dest_string,json=destString" json:"dest_string,omitempty"`
|
2016-11-11 04:33:24 +03:00
|
|
|
Amt int64 `protobuf:"varint,3,opt,name=amt" json:"amt,omitempty"`
|
2017-01-13 06:40:38 +03:00
|
|
|
PaymentHash []byte `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
|
|
PaymentHashString string `protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString" json:"payment_hash_string,omitempty"`
|
|
|
|
PaymentRequest string `protobuf:"bytes,6,opt,name=payment_request,json=paymentRequest" json:"payment_request,omitempty"`
|
2016-07-13 03:36:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendRequest) Reset() { *m = SendRequest{} }
|
|
|
|
func (m *SendRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*SendRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
2016-07-13 03:36:34 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *SendRequest) GetDest() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Dest
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendRequest) GetDestString() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DestString
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendRequest) GetAmt() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Amt
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendRequest) GetPaymentHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendRequest) GetPaymentHashString() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentHashString
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-01-03 02:31:38 +03:00
|
|
|
func (m *SendRequest) GetPaymentRequest() string {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2017-01-03 02:31:38 +03:00
|
|
|
return m.PaymentRequest
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
2017-01-03 02:31:38 +03:00
|
|
|
return ""
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
|
2016-07-13 03:36:34 +03:00
|
|
|
type SendResponse struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
PaymentPreimage []byte `protobuf:"bytes,1,opt,name=payment_preimage,proto3" json:"payment_preimage,omitempty"`
|
|
|
|
PaymentRoute *Route `protobuf:"bytes,2,opt,name=payment_route" json:"payment_route,omitempty"`
|
2016-07-13 03:36:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendResponse) Reset() { *m = SendResponse{} }
|
|
|
|
func (m *SendResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*SendResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
2016-07-13 03:36:34 +03:00
|
|
|
|
2017-02-21 10:54:52 +03:00
|
|
|
func (m *SendResponse) GetPaymentPreimage() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentPreimage
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-17 07:35:29 +03:00
|
|
|
func (m *SendResponse) GetPaymentRoute() *Route {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentRoute
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type ChannelPoint struct {
|
2017-03-14 06:37:25 +03:00
|
|
|
// TODO(roasbeef): make str vs bytes into a oneof
|
2017-02-28 06:03:43 +03:00
|
|
|
FundingTxid []byte `protobuf:"bytes,1,opt,name=funding_txid,proto3" json:"funding_txid,omitempty"`
|
|
|
|
FundingTxidStr string `protobuf:"bytes,2,opt,name=funding_txid_str" json:"funding_txid_str,omitempty"`
|
|
|
|
OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index" json:"output_index,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelPoint) Reset() { *m = ChannelPoint{} }
|
|
|
|
func (m *ChannelPoint) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelPoint) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ChannelPoint) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ChannelPoint) GetFundingTxid() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.FundingTxid
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelPoint) GetFundingTxidStr() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.FundingTxidStr
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelPoint) GetOutputIndex() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.OutputIndex
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type LightningAddress struct {
|
2016-10-28 05:41:42 +03:00
|
|
|
Pubkey string `protobuf:"bytes,1,opt,name=pubkey" json:"pubkey,omitempty"`
|
|
|
|
Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LightningAddress) Reset() { *m = LightningAddress{} }
|
|
|
|
func (m *LightningAddress) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LightningAddress) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*LightningAddress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *LightningAddress) GetPubkey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pubkey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LightningAddress) GetHost() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Host
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
type SendManyRequest struct {
|
2017-02-17 12:29:23 +03:00
|
|
|
AddrToAmount map[string]int64 `protobuf:"bytes,1,rep,name=AddrToAmount,json=addrToAmount" json:"AddrToAmount,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendManyRequest) Reset() { *m = SendManyRequest{} }
|
|
|
|
func (m *SendManyRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendManyRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*SendManyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
2015-12-30 23:19:09 +03:00
|
|
|
|
|
|
|
func (m *SendManyRequest) GetAddrToAmount() map[string]int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AddrToAmount
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SendManyResponse struct {
|
|
|
|
Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendManyResponse) Reset() { *m = SendManyResponse{} }
|
|
|
|
func (m *SendManyResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendManyResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*SendManyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
2015-12-30 23:19:09 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *SendManyResponse) GetTxid() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Txid
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-06-29 21:28:10 +03:00
|
|
|
type SendCoinsRequest struct {
|
|
|
|
Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"`
|
|
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendCoinsRequest) Reset() { *m = SendCoinsRequest{} }
|
|
|
|
func (m *SendCoinsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendCoinsRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*SendCoinsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
2016-06-29 21:28:10 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *SendCoinsRequest) GetAddr() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Addr
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendCoinsRequest) GetAmount() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Amount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-29 21:28:10 +03:00
|
|
|
type SendCoinsResponse struct {
|
|
|
|
Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendCoinsResponse) Reset() { *m = SendCoinsResponse{} }
|
|
|
|
func (m *SendCoinsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendCoinsResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*SendCoinsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
2016-06-29 21:28:10 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *SendCoinsResponse) GetTxid() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Txid
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
type NewAddressRequest struct {
|
2016-04-25 06:26:32 +03:00
|
|
|
Type NewAddressRequest_AddressType `protobuf:"varint,1,opt,name=type,enum=lnrpc.NewAddressRequest_AddressType" json:"type,omitempty"`
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NewAddressRequest) Reset() { *m = NewAddressRequest{} }
|
|
|
|
func (m *NewAddressRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NewAddressRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*NewAddressRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *NewAddressRequest) GetType() NewAddressRequest_AddressType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return NewAddressRequest_WITNESS_PUBKEY_HASH
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
type NewWitnessAddressRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NewWitnessAddressRequest) Reset() { *m = NewWitnessAddressRequest{} }
|
|
|
|
func (m *NewWitnessAddressRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NewWitnessAddressRequest) ProtoMessage() {}
|
|
|
|
func (*NewWitnessAddressRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
2015-12-30 23:19:09 +03:00
|
|
|
|
|
|
|
type NewAddressResponse struct {
|
|
|
|
Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NewAddressResponse) Reset() { *m = NewAddressResponse{} }
|
|
|
|
func (m *NewAddressResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NewAddressResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*NewAddressResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
2015-12-30 23:19:09 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *NewAddressResponse) GetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Address
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-01-17 06:03:47 +03:00
|
|
|
type ConnectPeerRequest struct {
|
2016-06-21 22:33:35 +03:00
|
|
|
Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"`
|
2017-01-10 06:01:06 +03:00
|
|
|
Perm bool `protobuf:"varint,2,opt,name=perm" json:"perm,omitempty"`
|
2015-12-31 06:02:24 +03:00
|
|
|
}
|
|
|
|
|
2016-01-17 06:03:47 +03:00
|
|
|
func (m *ConnectPeerRequest) Reset() { *m = ConnectPeerRequest{} }
|
|
|
|
func (m *ConnectPeerRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ConnectPeerRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ConnectPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
|
|
|
func (m *ConnectPeerRequest) GetAddr() *LightningAddress {
|
|
|
|
if m != nil {
|
|
|
|
return m.Addr
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2015-12-31 06:02:24 +03:00
|
|
|
|
2017-01-10 06:01:06 +03:00
|
|
|
func (m *ConnectPeerRequest) GetPerm() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Perm
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-01-17 06:03:47 +03:00
|
|
|
type ConnectPeerResponse struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
PeerId int32 `protobuf:"varint,1,opt,name=peer_id" json:"peer_id,omitempty"`
|
2015-12-31 06:02:24 +03:00
|
|
|
}
|
|
|
|
|
2016-01-17 06:03:47 +03:00
|
|
|
func (m *ConnectPeerResponse) Reset() { *m = ConnectPeerResponse{} }
|
|
|
|
func (m *ConnectPeerResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ConnectPeerResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ConnectPeerResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ConnectPeerResponse) GetPeerId() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PeerId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type HTLC struct {
|
2016-09-26 06:02:33 +03:00
|
|
|
Incoming bool `protobuf:"varint,1,opt,name=incoming" json:"incoming,omitempty"`
|
|
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
HashLock []byte `protobuf:"bytes,3,opt,name=hash_lock,proto3" json:"hash_lock,omitempty"`
|
|
|
|
ExpirationHeight uint32 `protobuf:"varint,4,opt,name=expiration_height" json:"expiration_height,omitempty"`
|
|
|
|
RevocationDelay uint32 `protobuf:"varint,5,opt,name=revocation_delay" json:"revocation_delay,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HTLC) Reset() { *m = HTLC{} }
|
|
|
|
func (m *HTLC) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*HTLC) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*HTLC) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *HTLC) GetIncoming() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Incoming
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HTLC) GetAmount() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Amount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HTLC) GetHashLock() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.HashLock
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HTLC) GetExpirationHeight() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ExpirationHeight
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HTLC) GetRevocationDelay() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RevocationDelay
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type ActiveChannel struct {
|
2017-03-09 01:45:58 +03:00
|
|
|
Active bool `protobuf:"varint,1,opt,name=active" json:"active,omitempty"`
|
|
|
|
RemotePubkey string `protobuf:"bytes,2,opt,name=remote_pubkey" json:"remote_pubkey,omitempty"`
|
|
|
|
ChannelPoint string `protobuf:"bytes,3,opt,name=channel_point" json:"channel_point,omitempty"`
|
|
|
|
ChanId uint64 `protobuf:"varint,4,opt,name=chan_id" json:"chan_id,omitempty"`
|
|
|
|
Capacity int64 `protobuf:"varint,5,opt,name=capacity" json:"capacity,omitempty"`
|
|
|
|
LocalBalance int64 `protobuf:"varint,6,opt,name=local_balance" json:"local_balance,omitempty"`
|
|
|
|
RemoteBalance int64 `protobuf:"varint,7,opt,name=remote_balance" json:"remote_balance,omitempty"`
|
|
|
|
UnsettledBalance int64 `protobuf:"varint,8,opt,name=unsettled_balance" json:"unsettled_balance,omitempty"`
|
|
|
|
TotalSatoshisSent int64 `protobuf:"varint,9,opt,name=total_satoshis_sent" json:"total_satoshis_sent,omitempty"`
|
|
|
|
TotalSatoshisReceived int64 `protobuf:"varint,10,opt,name=total_satoshis_received" json:"total_satoshis_received,omitempty"`
|
|
|
|
NumUpdates uint64 `protobuf:"varint,11,opt,name=num_updates" json:"num_updates,omitempty"`
|
|
|
|
PendingHtlcs []*HTLC `protobuf:"bytes,12,rep,name=pending_htlcs" json:"pending_htlcs,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) Reset() { *m = ActiveChannel{} }
|
|
|
|
func (m *ActiveChannel) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ActiveChannel) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ActiveChannel) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2017-03-09 01:45:58 +03:00
|
|
|
func (m *ActiveChannel) GetActive() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Active
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ActiveChannel) GetRemotePubkey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.RemotePubkey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetChannelPoint() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelPoint
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *ActiveChannel) GetChanId() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ActiveChannel) GetCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetLocalBalance() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LocalBalance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetRemoteBalance() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RemoteBalance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetUnsettledBalance() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.UnsettledBalance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetTotalSatoshisSent() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalSatoshisSent
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetTotalSatoshisReceived() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalSatoshisReceived
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveChannel) GetNumUpdates() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumUpdates
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
func (m *ActiveChannel) GetPendingHtlcs() []*HTLC {
|
|
|
|
if m != nil {
|
|
|
|
return m.PendingHtlcs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-09-26 06:02:33 +03:00
|
|
|
type ListChannelsRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListChannelsRequest) Reset() { *m = ListChannelsRequest{} }
|
|
|
|
func (m *ListChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListChannelsRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ListChannelsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
|
2016-09-26 06:02:33 +03:00
|
|
|
|
|
|
|
type ListChannelsResponse struct {
|
2016-11-19 03:20:44 +03:00
|
|
|
Channels []*ActiveChannel `protobuf:"bytes,11,rep,name=channels" json:"channels,omitempty"`
|
2016-09-26 06:02:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListChannelsResponse) Reset() { *m = ListChannelsResponse{} }
|
|
|
|
func (m *ListChannelsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListChannelsResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ListChannelsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
|
2016-09-26 06:02:33 +03:00
|
|
|
|
|
|
|
func (m *ListChannelsResponse) GetChannels() []*ActiveChannel {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type Peer struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key" json:"pub_key,omitempty"`
|
|
|
|
PeerId int32 `protobuf:"varint,2,opt,name=peer_id" json:"peer_id,omitempty"`
|
2016-10-27 00:31:41 +03:00
|
|
|
Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
BytesSent uint64 `protobuf:"varint,4,opt,name=bytes_sent" json:"bytes_sent,omitempty"`
|
|
|
|
BytesRecv uint64 `protobuf:"varint,5,opt,name=bytes_recv" json:"bytes_recv,omitempty"`
|
|
|
|
SatSent int64 `protobuf:"varint,6,opt,name=sat_sent" json:"sat_sent,omitempty"`
|
|
|
|
SatRecv int64 `protobuf:"varint,7,opt,name=sat_recv" json:"sat_recv,omitempty"`
|
2016-10-27 00:31:41 +03:00
|
|
|
Inbound bool `protobuf:"varint,8,opt,name=inbound" json:"inbound,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
PingTime int64 `protobuf:"varint,9,opt,name=ping_time" json:"ping_time,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) Reset() { *m = Peer{} }
|
|
|
|
func (m *Peer) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Peer) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*Peer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *Peer) GetPubKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PubKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetPeerId() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PeerId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Address
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetBytesSent() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.BytesSent
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetBytesRecv() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.BytesRecv
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetSatSent() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SatSent
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetSatRecv() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SatRecv
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) GetInbound() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Inbound
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2017-01-26 05:16:28 +03:00
|
|
|
func (m *Peer) GetPingTime() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PingTime
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type ListPeersRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListPeersRequest) Reset() { *m = ListPeersRequest{} }
|
|
|
|
func (m *ListPeersRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListPeersRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ListPeersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
|
|
|
type ListPeersResponse struct {
|
|
|
|
Peers []*Peer `protobuf:"bytes,1,rep,name=peers" json:"peers,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListPeersResponse) Reset() { *m = ListPeersResponse{} }
|
|
|
|
func (m *ListPeersResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListPeersResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ListPeersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
|
|
|
func (m *ListPeersResponse) GetPeers() []*Peer {
|
|
|
|
if m != nil {
|
|
|
|
return m.Peers
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-07-06 04:52:05 +03:00
|
|
|
type GetInfoRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInfoRequest) Reset() { *m = GetInfoRequest{} }
|
|
|
|
func (m *GetInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetInfoRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
|
2016-07-06 04:52:05 +03:00
|
|
|
|
|
|
|
type GetInfoResponse struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
IdentityPubkey string `protobuf:"bytes,1,opt,name=identity_pubkey" json:"identity_pubkey,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
Alias string `protobuf:"bytes,2,opt,name=alias" json:"alias,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
NumPendingChannels uint32 `protobuf:"varint,3,opt,name=num_pending_channels" json:"num_pending_channels,omitempty"`
|
|
|
|
NumActiveChannels uint32 `protobuf:"varint,4,opt,name=num_active_channels" json:"num_active_channels,omitempty"`
|
|
|
|
NumPeers uint32 `protobuf:"varint,5,opt,name=num_peers" json:"num_peers,omitempty"`
|
|
|
|
BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height" json:"block_height,omitempty"`
|
|
|
|
BlockHash string `protobuf:"bytes,8,opt,name=block_hash" json:"block_hash,omitempty"`
|
|
|
|
SyncedToChain bool `protobuf:"varint,9,opt,name=synced_to_chain" json:"synced_to_chain,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
Testnet bool `protobuf:"varint,10,opt,name=testnet" json:"testnet,omitempty"`
|
2016-07-06 04:52:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInfoResponse) Reset() { *m = GetInfoResponse{} }
|
|
|
|
func (m *GetInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetInfoResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
|
2016-07-06 04:52:05 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *GetInfoResponse) GetIdentityPubkey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.IdentityPubkey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *GetInfoResponse) GetAlias() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Alias
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *GetInfoResponse) GetNumPendingChannels() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumPendingChannels
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInfoResponse) GetNumActiveChannels() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumActiveChannels
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInfoResponse) GetNumPeers() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumPeers
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInfoResponse) GetBlockHeight() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockHeight
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *GetInfoResponse) GetBlockHash() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockHash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *GetInfoResponse) GetSyncedToChain() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.SyncedToChain
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInfoResponse) GetTestnet() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Testnet
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type ConfirmationUpdate struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
BlockSha []byte `protobuf:"bytes,1,opt,name=block_sha,json=blockSha,proto3" json:"block_sha,omitempty"`
|
|
|
|
BlockHeight int32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight" json:"block_height,omitempty"`
|
|
|
|
NumConfsLeft uint32 `protobuf:"varint,3,opt,name=num_confs_left,json=numConfsLeft" json:"num_confs_left,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ConfirmationUpdate) Reset() { *m = ConfirmationUpdate{} }
|
|
|
|
func (m *ConfirmationUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ConfirmationUpdate) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ConfirmationUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ConfirmationUpdate) GetBlockSha() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockSha
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ConfirmationUpdate) GetBlockHeight() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.BlockHeight
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ConfirmationUpdate) GetNumConfsLeft() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumConfsLeft
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type ChannelOpenUpdate struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point" json:"channel_point,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelOpenUpdate) Reset() { *m = ChannelOpenUpdate{} }
|
|
|
|
func (m *ChannelOpenUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelOpenUpdate) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ChannelOpenUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
func (m *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelCloseUpdate struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ClosingTxid []byte `protobuf:"bytes,1,opt,name=closing_txid,proto3" json:"closing_txid,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
Success bool `protobuf:"varint,2,opt,name=success" json:"success,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelCloseUpdate) Reset() { *m = ChannelCloseUpdate{} }
|
|
|
|
func (m *ChannelCloseUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelCloseUpdate) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ChannelCloseUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ChannelCloseUpdate) GetClosingTxid() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ClosingTxid
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelCloseUpdate) GetSuccess() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Success
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type CloseChannelRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint" json:"channel_point,omitempty"`
|
|
|
|
TimeLimit int64 `protobuf:"varint,2,opt,name=time_limit,json=timeLimit" json:"time_limit,omitempty"`
|
2016-09-12 22:27:44 +03:00
|
|
|
Force bool `protobuf:"varint,3,opt,name=force" json:"force,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CloseChannelRequest) Reset() { *m = CloseChannelRequest{} }
|
|
|
|
func (m *CloseChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CloseChannelRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*CloseChannelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
func (m *CloseChannelRequest) GetChannelPoint() *ChannelPoint {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *CloseChannelRequest) GetTimeLimit() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TimeLimit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CloseChannelRequest) GetForce() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Force
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type CloseStatusUpdate struct {
|
|
|
|
// Types that are valid to be assigned to Update:
|
2016-08-31 02:42:23 +03:00
|
|
|
// *CloseStatusUpdate_ClosePending
|
2016-07-08 01:24:52 +03:00
|
|
|
// *CloseStatusUpdate_Confirmation
|
|
|
|
// *CloseStatusUpdate_ChanClose
|
|
|
|
Update isCloseStatusUpdate_Update `protobuf_oneof:"update"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CloseStatusUpdate) Reset() { *m = CloseStatusUpdate{} }
|
|
|
|
func (m *CloseStatusUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CloseStatusUpdate) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*CloseStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
type isCloseStatusUpdate_Update interface {
|
|
|
|
isCloseStatusUpdate_Update()
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
type CloseStatusUpdate_ClosePending struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,oneof"`
|
2016-08-31 02:42:23 +03:00
|
|
|
}
|
2016-07-08 01:24:52 +03:00
|
|
|
type CloseStatusUpdate_Confirmation struct {
|
2016-08-31 02:42:23 +03:00
|
|
|
Confirmation *ConfirmationUpdate `protobuf:"bytes,2,opt,name=confirmation,oneof"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
type CloseStatusUpdate_ChanClose struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ChanClose *ChannelCloseUpdate `protobuf:"bytes,3,opt,name=chan_close,oneof"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (*CloseStatusUpdate_ClosePending) isCloseStatusUpdate_Update() {}
|
2016-07-08 01:24:52 +03:00
|
|
|
func (*CloseStatusUpdate_Confirmation) isCloseStatusUpdate_Update() {}
|
|
|
|
func (*CloseStatusUpdate_ChanClose) isCloseStatusUpdate_Update() {}
|
|
|
|
|
|
|
|
func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update {
|
|
|
|
if m != nil {
|
|
|
|
return m.Update
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (m *CloseStatusUpdate) GetClosePending() *PendingUpdate {
|
|
|
|
if x, ok := m.GetUpdate().(*CloseStatusUpdate_ClosePending); ok {
|
|
|
|
return x.ClosePending
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
func (m *CloseStatusUpdate) GetConfirmation() *ConfirmationUpdate {
|
|
|
|
if x, ok := m.GetUpdate().(*CloseStatusUpdate_Confirmation); ok {
|
|
|
|
return x.Confirmation
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate {
|
|
|
|
if x, ok := m.GetUpdate().(*CloseStatusUpdate_ChanClose); ok {
|
|
|
|
return x.ChanClose
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
|
|
func (*CloseStatusUpdate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
|
|
|
return _CloseStatusUpdate_OneofMarshaler, _CloseStatusUpdate_OneofUnmarshaler, _CloseStatusUpdate_OneofSizer, []interface{}{
|
2016-08-31 02:42:23 +03:00
|
|
|
(*CloseStatusUpdate_ClosePending)(nil),
|
2016-07-08 01:24:52 +03:00
|
|
|
(*CloseStatusUpdate_Confirmation)(nil),
|
|
|
|
(*CloseStatusUpdate_ChanClose)(nil),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _CloseStatusUpdate_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
|
|
m := msg.(*CloseStatusUpdate)
|
|
|
|
// update
|
|
|
|
switch x := m.Update.(type) {
|
2016-08-31 02:42:23 +03:00
|
|
|
case *CloseStatusUpdate_ClosePending:
|
2016-07-08 01:24:52 +03:00
|
|
|
b.EncodeVarint(1<<3 | proto.WireBytes)
|
2016-08-31 02:42:23 +03:00
|
|
|
if err := b.EncodeMessage(x.ClosePending); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *CloseStatusUpdate_Confirmation:
|
|
|
|
b.EncodeVarint(2<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err := b.EncodeMessage(x.Confirmation); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *CloseStatusUpdate_ChanClose:
|
2016-08-31 02:42:23 +03:00
|
|
|
b.EncodeVarint(3<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err := b.EncodeMessage(x.ChanClose); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
return fmt.Errorf("CloseStatusUpdate.Update has unexpected type %T", x)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _CloseStatusUpdate_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
|
|
m := msg.(*CloseStatusUpdate)
|
|
|
|
switch tag {
|
2016-08-31 02:42:23 +03:00
|
|
|
case 1: // update.close_pending
|
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(PendingUpdate)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Update = &CloseStatusUpdate_ClosePending{msg}
|
|
|
|
return true, err
|
|
|
|
case 2: // update.confirmation
|
2016-07-08 01:24:52 +03:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ConfirmationUpdate)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Update = &CloseStatusUpdate_Confirmation{msg}
|
|
|
|
return true, err
|
2016-08-31 02:42:23 +03:00
|
|
|
case 3: // update.chan_close
|
2016-07-08 01:24:52 +03:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ChannelCloseUpdate)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Update = &CloseStatusUpdate_ChanClose{msg}
|
|
|
|
return true, err
|
|
|
|
default:
|
|
|
|
return false, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _CloseStatusUpdate_OneofSizer(msg proto.Message) (n int) {
|
|
|
|
m := msg.(*CloseStatusUpdate)
|
|
|
|
// update
|
|
|
|
switch x := m.Update.(type) {
|
2016-08-31 02:42:23 +03:00
|
|
|
case *CloseStatusUpdate_ClosePending:
|
|
|
|
s := proto.Size(x.ClosePending)
|
|
|
|
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2016-07-08 01:24:52 +03:00
|
|
|
case *CloseStatusUpdate_Confirmation:
|
|
|
|
s := proto.Size(x.Confirmation)
|
2016-08-31 02:42:23 +03:00
|
|
|
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *CloseStatusUpdate_ChanClose:
|
|
|
|
s := proto.Size(x.ChanClose)
|
2016-08-31 02:42:23 +03:00
|
|
|
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
type PendingUpdate struct {
|
2017-01-24 04:57:45 +03:00
|
|
|
Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index" json:"output_index,omitempty"`
|
2016-08-31 02:42:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingUpdate) Reset() { *m = PendingUpdate{} }
|
|
|
|
func (m *PendingUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PendingUpdate) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*PendingUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
|
2016-08-31 02:42:23 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *PendingUpdate) GetTxid() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Txid
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-24 04:57:45 +03:00
|
|
|
func (m *PendingUpdate) GetOutputIndex() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.OutputIndex
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type OpenChannelRequest struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
TargetPeerId int32 `protobuf:"varint,1,opt,name=target_peer_id" json:"target_peer_id,omitempty"`
|
|
|
|
NodePubkey []byte `protobuf:"bytes,2,opt,name=node_pubkey,proto3" json:"node_pubkey,omitempty"`
|
|
|
|
NodePubkeyString string `protobuf:"bytes,3,opt,name=node_pubkey_string" json:"node_pubkey_string,omitempty"`
|
|
|
|
LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount" json:"local_funding_amount,omitempty"`
|
|
|
|
PushSat int64 `protobuf:"varint,5,opt,name=push_sat" json:"push_sat,omitempty"`
|
|
|
|
NumConfs uint32 `protobuf:"varint,6,opt,name=num_confs" json:"num_confs,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpenChannelRequest) Reset() { *m = OpenChannelRequest{} }
|
|
|
|
func (m *OpenChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*OpenChannelRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*OpenChannelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *OpenChannelRequest) GetTargetPeerId() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TargetPeerId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpenChannelRequest) GetNodePubkey() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodePubkey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpenChannelRequest) GetNodePubkeyString() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodePubkeyString
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpenChannelRequest) GetLocalFundingAmount() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LocalFundingAmount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-01-10 06:01:06 +03:00
|
|
|
func (m *OpenChannelRequest) GetPushSat() int64 {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2017-01-10 06:01:06 +03:00
|
|
|
return m.PushSat
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpenChannelRequest) GetNumConfs() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumConfs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type OpenStatusUpdate struct {
|
|
|
|
// Types that are valid to be assigned to Update:
|
2016-08-31 02:42:23 +03:00
|
|
|
// *OpenStatusUpdate_ChanPending
|
2016-07-08 01:24:52 +03:00
|
|
|
// *OpenStatusUpdate_Confirmation
|
|
|
|
// *OpenStatusUpdate_ChanOpen
|
|
|
|
Update isOpenStatusUpdate_Update `protobuf_oneof:"update"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpenStatusUpdate) Reset() { *m = OpenStatusUpdate{} }
|
|
|
|
func (m *OpenStatusUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*OpenStatusUpdate) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*OpenStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
type isOpenStatusUpdate_Update interface {
|
|
|
|
isOpenStatusUpdate_Update()
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
type OpenStatusUpdate_ChanPending struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,oneof"`
|
2016-08-31 02:42:23 +03:00
|
|
|
}
|
2016-07-08 01:24:52 +03:00
|
|
|
type OpenStatusUpdate_Confirmation struct {
|
2016-08-31 02:42:23 +03:00
|
|
|
Confirmation *ConfirmationUpdate `protobuf:"bytes,2,opt,name=confirmation,oneof"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
type OpenStatusUpdate_ChanOpen struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ChanOpen *ChannelOpenUpdate `protobuf:"bytes,3,opt,name=chan_open,oneof"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (*OpenStatusUpdate_ChanPending) isOpenStatusUpdate_Update() {}
|
2016-07-08 01:24:52 +03:00
|
|
|
func (*OpenStatusUpdate_Confirmation) isOpenStatusUpdate_Update() {}
|
|
|
|
func (*OpenStatusUpdate_ChanOpen) isOpenStatusUpdate_Update() {}
|
|
|
|
|
|
|
|
func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update {
|
2016-06-21 22:33:35 +03:00
|
|
|
if m != nil {
|
2016-07-08 01:24:52 +03:00
|
|
|
return m.Update
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (m *OpenStatusUpdate) GetChanPending() *PendingUpdate {
|
|
|
|
if x, ok := m.GetUpdate().(*OpenStatusUpdate_ChanPending); ok {
|
|
|
|
return x.ChanPending
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
func (m *OpenStatusUpdate) GetConfirmation() *ConfirmationUpdate {
|
|
|
|
if x, ok := m.GetUpdate().(*OpenStatusUpdate_Confirmation); ok {
|
|
|
|
return x.Confirmation
|
|
|
|
}
|
|
|
|
return nil
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
func (m *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate {
|
|
|
|
if x, ok := m.GetUpdate().(*OpenStatusUpdate_ChanOpen); ok {
|
|
|
|
return x.ChanOpen
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
|
|
func (*OpenStatusUpdate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
|
|
|
return _OpenStatusUpdate_OneofMarshaler, _OpenStatusUpdate_OneofUnmarshaler, _OpenStatusUpdate_OneofSizer, []interface{}{
|
2016-08-31 02:42:23 +03:00
|
|
|
(*OpenStatusUpdate_ChanPending)(nil),
|
2016-07-08 01:24:52 +03:00
|
|
|
(*OpenStatusUpdate_Confirmation)(nil),
|
|
|
|
(*OpenStatusUpdate_ChanOpen)(nil),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _OpenStatusUpdate_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
|
|
m := msg.(*OpenStatusUpdate)
|
|
|
|
// update
|
|
|
|
switch x := m.Update.(type) {
|
2016-08-31 02:42:23 +03:00
|
|
|
case *OpenStatusUpdate_ChanPending:
|
2016-07-08 01:24:52 +03:00
|
|
|
b.EncodeVarint(1<<3 | proto.WireBytes)
|
2016-08-31 02:42:23 +03:00
|
|
|
if err := b.EncodeMessage(x.ChanPending); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *OpenStatusUpdate_Confirmation:
|
|
|
|
b.EncodeVarint(2<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err := b.EncodeMessage(x.Confirmation); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *OpenStatusUpdate_ChanOpen:
|
2016-08-31 02:42:23 +03:00
|
|
|
b.EncodeVarint(3<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err := b.EncodeMessage(x.ChanOpen); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
return fmt.Errorf("OpenStatusUpdate.Update has unexpected type %T", x)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _OpenStatusUpdate_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
|
|
m := msg.(*OpenStatusUpdate)
|
|
|
|
switch tag {
|
2016-08-31 02:42:23 +03:00
|
|
|
case 1: // update.chan_pending
|
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(PendingUpdate)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Update = &OpenStatusUpdate_ChanPending{msg}
|
|
|
|
return true, err
|
|
|
|
case 2: // update.confirmation
|
2016-07-08 01:24:52 +03:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ConfirmationUpdate)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Update = &OpenStatusUpdate_Confirmation{msg}
|
|
|
|
return true, err
|
2016-08-31 02:42:23 +03:00
|
|
|
case 3: // update.chan_open
|
2016-07-08 01:24:52 +03:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ChannelOpenUpdate)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Update = &OpenStatusUpdate_ChanOpen{msg}
|
|
|
|
return true, err
|
|
|
|
default:
|
|
|
|
return false, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _OpenStatusUpdate_OneofSizer(msg proto.Message) (n int) {
|
|
|
|
m := msg.(*OpenStatusUpdate)
|
|
|
|
// update
|
|
|
|
switch x := m.Update.(type) {
|
2016-08-31 02:42:23 +03:00
|
|
|
case *OpenStatusUpdate_ChanPending:
|
|
|
|
s := proto.Size(x.ChanPending)
|
|
|
|
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2016-07-08 01:24:52 +03:00
|
|
|
case *OpenStatusUpdate_Confirmation:
|
|
|
|
s := proto.Size(x.Confirmation)
|
2016-08-31 02:42:23 +03:00
|
|
|
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *OpenStatusUpdate_ChanOpen:
|
|
|
|
s := proto.Size(x.ChanOpen)
|
2016-08-31 02:42:23 +03:00
|
|
|
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
2016-07-08 01:24:52 +03:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
type PendingChannelRequest struct {
|
|
|
|
Status ChannelStatus `protobuf:"varint,1,opt,name=status,enum=lnrpc.ChannelStatus" json:"status,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelRequest) Reset() { *m = PendingChannelRequest{} }
|
|
|
|
func (m *PendingChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PendingChannelRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*PendingChannelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *PendingChannelRequest) GetStatus() ChannelStatus {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return ChannelStatus_ALL
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type PendingChannelResponse struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
PendingChannels []*PendingChannelResponse_PendingChannel `protobuf:"bytes,1,rep,name=pending_channels" json:"pending_channels,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse) Reset() { *m = PendingChannelResponse{} }
|
|
|
|
func (m *PendingChannelResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PendingChannelResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*PendingChannelResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{34} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
func (m *PendingChannelResponse) GetPendingChannels() []*PendingChannelResponse_PendingChannel {
|
2016-06-21 22:33:35 +03:00
|
|
|
if m != nil {
|
2016-07-08 01:24:52 +03:00
|
|
|
return m.PendingChannels
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type PendingChannelResponse_PendingChannel struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
IdentityKey string `protobuf:"bytes,1,opt,name=identity_key" json:"identity_key,omitempty"`
|
|
|
|
ChannelPoint string `protobuf:"bytes,2,opt,name=channel_point" json:"channel_point,omitempty"`
|
2017-01-13 06:40:38 +03:00
|
|
|
Capacity int64 `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
LocalBalance int64 `protobuf:"varint,4,opt,name=local_balance" json:"local_balance,omitempty"`
|
|
|
|
RemoteBalance int64 `protobuf:"varint,5,opt,name=remote_balance" json:"remote_balance,omitempty"`
|
|
|
|
ClosingTxid string `protobuf:"bytes,6,opt,name=closing_txid" json:"closing_txid,omitempty"`
|
2017-01-13 06:40:38 +03:00
|
|
|
Status ChannelStatus `protobuf:"varint,7,opt,name=status,enum=lnrpc.ChannelStatus" json:"status,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
func (m *PendingChannelResponse_PendingChannel) Reset() { *m = PendingChannelResponse_PendingChannel{} }
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PendingChannelResponse_PendingChannel) ProtoMessage() {}
|
|
|
|
func (*PendingChannelResponse_PendingChannel) Descriptor() ([]byte, []int) {
|
2016-10-16 00:38:47 +03:00
|
|
|
return fileDescriptor0, []int{34, 0}
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetIdentityKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.IdentityKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetChannelPoint() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelPoint
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetLocalBalance() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LocalBalance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetRemoteBalance() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RemoteBalance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetClosingTxid() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ClosingTxid
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingChannelResponse_PendingChannel) GetStatus() ChannelStatus {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return ChannelStatus_ALL
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type WalletBalanceRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
WitnessOnly bool `protobuf:"varint,1,opt,name=witness_only,json=witnessOnly" json:"witness_only,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WalletBalanceRequest) Reset() { *m = WalletBalanceRequest{} }
|
|
|
|
func (m *WalletBalanceRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WalletBalanceRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*WalletBalanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{35} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *WalletBalanceRequest) GetWitnessOnly() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.WitnessOnly
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type WalletBalanceResponse struct {
|
|
|
|
Balance float64 `protobuf:"fixed64,1,opt,name=balance" json:"balance,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WalletBalanceResponse) Reset() { *m = WalletBalanceResponse{} }
|
|
|
|
func (m *WalletBalanceResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WalletBalanceResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*WalletBalanceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
|
2015-12-31 06:02:24 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *WalletBalanceResponse) GetBalance() float64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Balance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-09-15 21:59:51 +03:00
|
|
|
type ChannelBalanceRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelBalanceRequest) Reset() { *m = ChannelBalanceRequest{} }
|
|
|
|
func (m *ChannelBalanceRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelBalanceRequest) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ChannelBalanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{37} }
|
2016-09-15 21:59:51 +03:00
|
|
|
|
|
|
|
type ChannelBalanceResponse struct {
|
|
|
|
Balance int64 `protobuf:"varint,1,opt,name=balance" json:"balance,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelBalanceResponse) Reset() { *m = ChannelBalanceResponse{} }
|
|
|
|
func (m *ChannelBalanceResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelBalanceResponse) ProtoMessage() {}
|
2016-10-16 00:38:47 +03:00
|
|
|
func (*ChannelBalanceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{38} }
|
2016-09-15 21:59:51 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ChannelBalanceResponse) GetBalance() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Balance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
type QueryRoutesRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey" json:"pub_key,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
Amt int64 `protobuf:"varint,2,opt,name=amt" json:"amt,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
func (m *QueryRoutesRequest) Reset() { *m = QueryRoutesRequest{} }
|
|
|
|
func (m *QueryRoutesRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*QueryRoutesRequest) ProtoMessage() {}
|
|
|
|
func (*QueryRoutesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
func (m *QueryRoutesRequest) GetPubKey() string {
|
2016-12-27 08:45:01 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.PubKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
func (m *QueryRoutesRequest) GetAmt() int64 {
|
2016-12-27 08:45:01 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Amt
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
type QueryRoutesResponse struct {
|
|
|
|
Routes []*Route `protobuf:"bytes,1,rep,name=routes" json:"routes,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryRoutesResponse) Reset() { *m = QueryRoutesResponse{} }
|
|
|
|
func (m *QueryRoutesResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*QueryRoutesResponse) ProtoMessage() {}
|
|
|
|
func (*QueryRoutesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }
|
|
|
|
|
|
|
|
func (m *QueryRoutesResponse) GetRoutes() []*Route {
|
|
|
|
if m != nil {
|
|
|
|
return m.Routes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
type Hop struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id" json:"chan_id,omitempty"`
|
|
|
|
ChanCapacity int64 `protobuf:"varint,2,opt,name=chan_capacity" json:"chan_capacity,omitempty"`
|
|
|
|
AmtToForward int64 `protobuf:"varint,3,opt,name=amt_to_forward" json:"amt_to_forward,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
Fee int64 `protobuf:"varint,4,opt,name=fee" json:"fee,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Hop) Reset() { *m = Hop{} }
|
|
|
|
func (m *Hop) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Hop) ProtoMessage() {}
|
2017-03-21 05:01:32 +03:00
|
|
|
func (*Hop) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *Hop) GetChanId() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Hop) GetChanCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanCapacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Hop) GetAmtToForward() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AmtToForward
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Hop) GetFee() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Fee
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type Route struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
TotalTimeLock uint32 `protobuf:"varint,1,opt,name=total_time_lock" json:"total_time_lock,omitempty"`
|
|
|
|
TotalFees int64 `protobuf:"varint,2,opt,name=total_fees" json:"total_fees,omitempty"`
|
|
|
|
TotalAmt int64 `protobuf:"varint,3,opt,name=total_amt" json:"total_amt,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
Hops []*Hop `protobuf:"bytes,4,rep,name=hops" json:"hops,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Route) Reset() { *m = Route{} }
|
|
|
|
func (m *Route) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Route) ProtoMessage() {}
|
2017-03-21 05:01:32 +03:00
|
|
|
func (*Route) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *Route) GetTotalTimeLock() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalTimeLock
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Route) GetTotalFees() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalFees
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Route) GetTotalAmt() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalAmt
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Route) GetHops() []*Hop {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hops
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeInfoRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey" json:"pub_key,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeInfoRequest) Reset() { *m = NodeInfoRequest{} }
|
|
|
|
func (m *NodeInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeInfoRequest) ProtoMessage() {}
|
2017-03-21 05:01:32 +03:00
|
|
|
func (*NodeInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{43} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *NodeInfoRequest) GetPubKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PubKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeInfo struct {
|
|
|
|
Node *LightningNode `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
NumChannels uint32 `protobuf:"varint,2,opt,name=num_channels" json:"num_channels,omitempty"`
|
|
|
|
TotalCapacity int64 `protobuf:"varint,3,opt,name=total_capacity" json:"total_capacity,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeInfo) Reset() { *m = NodeInfo{} }
|
|
|
|
func (m *NodeInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeInfo) ProtoMessage() {}
|
2017-03-21 05:01:32 +03:00
|
|
|
func (*NodeInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *NodeInfo) GetNode() *LightningNode {
|
|
|
|
if m != nil {
|
|
|
|
return m.Node
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeInfo) GetNumChannels() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumChannels
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeInfo) GetTotalCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalCapacity
|
|
|
|
}
|
|
|
|
return 0
|
2016-08-20 23:49:35 +03:00
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
type LightningNode struct {
|
2017-02-17 12:29:23 +03:00
|
|
|
LastUpdate uint32 `protobuf:"varint,1,opt,name=last_update" json:"last_update,omitempty"`
|
|
|
|
PubKey string `protobuf:"bytes,2,opt,name=pub_key" json:"pub_key,omitempty"`
|
|
|
|
Alias string `protobuf:"bytes,3,opt,name=alias" json:"alias,omitempty"`
|
|
|
|
Addresses []*NodeAddress `protobuf:"bytes,4,rep,name=addresses" json:"addresses,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LightningNode) Reset() { *m = LightningNode{} }
|
|
|
|
func (m *LightningNode) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LightningNode) ProtoMessage() {}
|
2017-03-21 05:01:32 +03:00
|
|
|
func (*LightningNode) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{45} }
|
2016-08-20 23:49:35 +03:00
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *LightningNode) GetLastUpdate() uint32 {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return m.LastUpdate
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LightningNode) GetPubKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PubKey
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-02-17 12:29:23 +03:00
|
|
|
func (m *LightningNode) GetAlias() string {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2017-02-17 12:29:23 +03:00
|
|
|
return m.Alias
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-02-17 12:29:23 +03:00
|
|
|
func (m *LightningNode) GetAddresses() []*NodeAddress {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2017-02-17 12:29:23 +03:00
|
|
|
return m.Addresses
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeAddress struct {
|
|
|
|
Network string `protobuf:"bytes,1,opt,name=network" json:"network,omitempty"`
|
|
|
|
Addr string `protobuf:"bytes,2,opt,name=addr" json:"addr,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeAddress) Reset() { *m = NodeAddress{} }
|
|
|
|
func (m *NodeAddress) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeAddress) ProtoMessage() {}
|
|
|
|
func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{46} }
|
|
|
|
|
|
|
|
func (m *NodeAddress) GetNetwork() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Network
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeAddress) GetAddr() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Addr
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
type RoutingPolicy struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
TimeLockDelta uint32 `protobuf:"varint,1,opt,name=time_lock_delta" json:"time_lock_delta,omitempty"`
|
|
|
|
MinHtlc int64 `protobuf:"varint,2,opt,name=min_htlc" json:"min_htlc,omitempty"`
|
|
|
|
FeeBaseMsat int64 `protobuf:"varint,3,opt,name=fee_base_msat" json:"fee_base_msat,omitempty"`
|
|
|
|
FeeRateMilliMsat int64 `protobuf:"varint,4,opt,name=fee_rate_milli_msat" json:"fee_rate_milli_msat,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RoutingPolicy) Reset() { *m = RoutingPolicy{} }
|
|
|
|
func (m *RoutingPolicy) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RoutingPolicy) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*RoutingPolicy) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{47} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *RoutingPolicy) GetTimeLockDelta() uint32 {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return m.TimeLockDelta
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *RoutingPolicy) GetMinHtlc() int64 {
|
2016-12-13 02:54:47 +03:00
|
|
|
if m != nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return m.MinHtlc
|
2016-12-13 02:54:47 +03:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *RoutingPolicy) GetFeeBaseMsat() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FeeBaseMsat
|
|
|
|
}
|
|
|
|
return 0
|
2016-08-11 21:31:07 +03:00
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *RoutingPolicy) GetFeeRateMilliMsat() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FeeRateMilliMsat
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
2016-08-11 21:31:07 +03:00
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
type ChannelEdge struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id" json:"channel_id,omitempty"`
|
|
|
|
ChanPoint string `protobuf:"bytes,2,opt,name=chan_point" json:"chan_point,omitempty"`
|
|
|
|
LastUpdate uint32 `protobuf:"varint,3,opt,name=last_update" json:"last_update,omitempty"`
|
|
|
|
Node1Pub string `protobuf:"bytes,4,opt,name=node1_pub" json:"node1_pub,omitempty"`
|
|
|
|
Node2Pub string `protobuf:"bytes,5,opt,name=node2_pub" json:"node2_pub,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
Capacity int64 `protobuf:"varint,6,opt,name=capacity" json:"capacity,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
Node1Policy *RoutingPolicy `protobuf:"bytes,7,opt,name=node1_policy" json:"node1_policy,omitempty"`
|
|
|
|
Node2Policy *RoutingPolicy `protobuf:"bytes,8,opt,name=node2_policy" json:"node2_policy,omitempty"`
|
2016-08-11 21:31:07 +03:00
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *ChannelEdge) Reset() { *m = ChannelEdge{} }
|
|
|
|
func (m *ChannelEdge) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelEdge) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ChannelEdge) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{48} }
|
2016-08-20 23:49:35 +03:00
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (m *ChannelEdge) GetChannelId() uint64 {
|
2016-08-20 23:49:35 +03:00
|
|
|
if m != nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return m.ChannelId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetChanPoint() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanPoint
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetLastUpdate() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastUpdate
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetNode1Pub() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Node1Pub
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetNode2Pub() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Node2Pub
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetNode1Policy() *RoutingPolicy {
|
|
|
|
if m != nil {
|
|
|
|
return m.Node1Policy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdge) GetNode2Policy() *RoutingPolicy {
|
|
|
|
if m != nil {
|
|
|
|
return m.Node2Policy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelGraphRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelGraphRequest) Reset() { *m = ChannelGraphRequest{} }
|
|
|
|
func (m *ChannelGraphRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelGraphRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ChannelGraphRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{49} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
type ChannelGraph struct {
|
|
|
|
Nodes []*LightningNode `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
|
|
|
|
Edges []*ChannelEdge `protobuf:"bytes,2,rep,name=edges" json:"edges,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelGraph) Reset() { *m = ChannelGraph{} }
|
|
|
|
func (m *ChannelGraph) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelGraph) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ChannelGraph) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{50} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *ChannelGraph) GetNodes() []*LightningNode {
|
|
|
|
if m != nil {
|
|
|
|
return m.Nodes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelGraph) GetEdges() []*ChannelEdge {
|
|
|
|
if m != nil {
|
|
|
|
return m.Edges
|
2016-08-20 23:49:35 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-08-11 21:31:07 +03:00
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
type ChanInfoRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId" json:"chan_id,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChanInfoRequest) Reset() { *m = ChanInfoRequest{} }
|
|
|
|
func (m *ChanInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChanInfoRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ChanInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{51} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *ChanInfoRequest) GetChanId() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type NetworkInfoRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfoRequest) Reset() { *m = NetworkInfoRequest{} }
|
|
|
|
func (m *NetworkInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NetworkInfoRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*NetworkInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{52} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
type NetworkInfo struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
GraphDiameter uint32 `protobuf:"varint,1,opt,name=graph_diameter" json:"graph_diameter,omitempty"`
|
|
|
|
AvgOutDegree float64 `protobuf:"fixed64,2,opt,name=avg_out_degree" json:"avg_out_degree,omitempty"`
|
|
|
|
MaxOutDegree uint32 `protobuf:"varint,3,opt,name=max_out_degree" json:"max_out_degree,omitempty"`
|
|
|
|
NumNodes uint32 `protobuf:"varint,4,opt,name=num_nodes" json:"num_nodes,omitempty"`
|
|
|
|
NumChannels uint32 `protobuf:"varint,5,opt,name=num_channels" json:"num_channels,omitempty"`
|
|
|
|
TotalNetworkCapacity int64 `protobuf:"varint,6,opt,name=total_network_capacity" json:"total_network_capacity,omitempty"`
|
|
|
|
AvgChannelSize float64 `protobuf:"fixed64,7,opt,name=avg_channel_size" json:"avg_channel_size,omitempty"`
|
|
|
|
MinChannelSize int64 `protobuf:"varint,8,opt,name=min_channel_size" json:"min_channel_size,omitempty"`
|
|
|
|
MaxChannelSize int64 `protobuf:"varint,9,opt,name=max_channel_size" json:"max_channel_size,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) Reset() { *m = NetworkInfo{} }
|
|
|
|
func (m *NetworkInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NetworkInfo) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*NetworkInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{53} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *NetworkInfo) GetGraphDiameter() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GraphDiameter
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetAvgOutDegree() float64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AvgOutDegree
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetMaxOutDegree() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MaxOutDegree
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetNumNodes() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumNodes
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetNumChannels() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumChannels
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetTotalNetworkCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalNetworkCapacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetAvgChannelSize() float64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AvgChannelSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetMinChannelSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MinChannelSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NetworkInfo) GetMaxChannelSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MaxChannelSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-03-14 06:37:25 +03:00
|
|
|
type GraphTopologySubscription struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GraphTopologySubscription) Reset() { *m = GraphTopologySubscription{} }
|
|
|
|
func (m *GraphTopologySubscription) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GraphTopologySubscription) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*GraphTopologySubscription) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{54} }
|
2017-03-14 06:37:25 +03:00
|
|
|
|
|
|
|
type GraphTopologyUpdate struct {
|
|
|
|
NodeUpdates []*NodeUpdate `protobuf:"bytes,1,rep,name=node_updates,json=nodeUpdates" json:"node_updates,omitempty"`
|
|
|
|
ChannelUpdates []*ChannelEdgeUpdate `protobuf:"bytes,2,rep,name=channel_updates,json=channelUpdates" json:"channel_updates,omitempty"`
|
|
|
|
ClosedChans []*ClosedChannelUpdate `protobuf:"bytes,3,rep,name=closed_chans,json=closedChans" json:"closed_chans,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GraphTopologyUpdate) Reset() { *m = GraphTopologyUpdate{} }
|
|
|
|
func (m *GraphTopologyUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GraphTopologyUpdate) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*GraphTopologyUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{55} }
|
2017-03-14 06:37:25 +03:00
|
|
|
|
|
|
|
func (m *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeUpdates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelUpdates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate {
|
|
|
|
if m != nil {
|
|
|
|
return m.ClosedChans
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeUpdate struct {
|
|
|
|
Addresses []string `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"`
|
|
|
|
IdentityKey string `protobuf:"bytes,2,opt,name=identity_key,json=identityKey" json:"identity_key,omitempty"`
|
|
|
|
GlobalFeatures []byte `protobuf:"bytes,3,opt,name=global_features,json=globalFeatures,proto3" json:"global_features,omitempty"`
|
|
|
|
Alias string `protobuf:"bytes,4,opt,name=alias" json:"alias,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeUpdate) Reset() { *m = NodeUpdate{} }
|
|
|
|
func (m *NodeUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeUpdate) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*NodeUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56} }
|
2017-03-14 06:37:25 +03:00
|
|
|
|
|
|
|
func (m *NodeUpdate) GetAddresses() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Addresses
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeUpdate) GetIdentityKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.IdentityKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeUpdate) GetGlobalFeatures() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.GlobalFeatures
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeUpdate) GetAlias() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Alias
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelEdgeUpdate struct {
|
|
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId" json:"chan_id,omitempty"`
|
|
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint" json:"chan_point,omitempty"`
|
|
|
|
Capacity int64 `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"`
|
|
|
|
RoutingPolicy *RoutingPolicy `protobuf:"bytes,4,opt,name=routing_policy,json=routingPolicy" json:"routing_policy,omitempty"`
|
|
|
|
AdvertisingNode string `protobuf:"bytes,5,opt,name=advertising_node,json=advertisingNode" json:"advertising_node,omitempty"`
|
|
|
|
ConnectingNode string `protobuf:"bytes,6,opt,name=connecting_node,json=connectingNode" json:"connecting_node,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) Reset() { *m = ChannelEdgeUpdate{} }
|
|
|
|
func (m *ChannelEdgeUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelEdgeUpdate) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{57} }
|
2017-03-14 06:37:25 +03:00
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) GetChanId() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) GetCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy {
|
|
|
|
if m != nil {
|
|
|
|
return m.RoutingPolicy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) GetAdvertisingNode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.AdvertisingNode
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelEdgeUpdate) GetConnectingNode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ConnectingNode
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ClosedChannelUpdate struct {
|
|
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId" json:"chan_id,omitempty"`
|
|
|
|
Capacity int64 `protobuf:"varint,2,opt,name=capacity" json:"capacity,omitempty"`
|
|
|
|
ClosedHeight uint32 `protobuf:"varint,3,opt,name=closed_height,json=closedHeight" json:"closed_height,omitempty"`
|
|
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,4,opt,name=chan_point,json=chanPoint" json:"chan_point,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ClosedChannelUpdate) Reset() { *m = ClosedChannelUpdate{} }
|
|
|
|
func (m *ClosedChannelUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ClosedChannelUpdate) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ClosedChannelUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{58} }
|
2017-03-14 06:37:25 +03:00
|
|
|
|
|
|
|
func (m *ClosedChannelUpdate) GetChanId() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ClosedChannelUpdate) GetCapacity() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ClosedChannelUpdate) GetClosedHeight() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ClosedHeight
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ClosedChannelUpdate) GetChanPoint() *ChannelPoint {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChanPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
type SetAliasRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
NewAlias string `protobuf:"bytes,1,opt,name=new_alias,json=newAlias" json:"new_alias,omitempty"`
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SetAliasRequest) Reset() { *m = SetAliasRequest{} }
|
|
|
|
func (m *SetAliasRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SetAliasRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*SetAliasRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{59} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
|
|
|
func (m *SetAliasRequest) GetNewAlias() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NewAlias
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type SetAliasResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SetAliasResponse) Reset() { *m = SetAliasResponse{} }
|
|
|
|
func (m *SetAliasResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SetAliasResponse) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*SetAliasResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{60} }
|
2016-12-27 08:45:01 +03:00
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
type Invoice struct {
|
2017-01-13 05:51:41 +03:00
|
|
|
Memo string `protobuf:"bytes,1,opt,name=memo" json:"memo,omitempty"`
|
|
|
|
Receipt []byte `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
RPreimage []byte `protobuf:"bytes,3,opt,name=r_preimage,proto3" json:"r_preimage,omitempty"`
|
|
|
|
RHash []byte `protobuf:"bytes,4,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
|
2017-01-13 05:51:41 +03:00
|
|
|
Value int64 `protobuf:"varint,5,opt,name=value" json:"value,omitempty"`
|
|
|
|
Settled bool `protobuf:"varint,6,opt,name=settled" json:"settled,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
CreationDate int64 `protobuf:"varint,7,opt,name=creation_date" json:"creation_date,omitempty"`
|
|
|
|
SettleDate int64 `protobuf:"varint,8,opt,name=settle_date" json:"settle_date,omitempty"`
|
|
|
|
PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request" json:"payment_request,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) Reset() { *m = Invoice{} }
|
|
|
|
func (m *Invoice) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Invoice) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*Invoice) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{61} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *Invoice) GetMemo() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Memo
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetReceipt() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Receipt
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetRPreimage() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.RPreimage
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetRHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.RHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetValue() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetSettled() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Settled
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetCreationDate() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Invoice) GetSettleDate() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SettleDate
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-01-13 05:51:41 +03:00
|
|
|
func (m *Invoice) GetPaymentRequest() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentRequest
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
type AddInvoiceResponse struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
RHash []byte `protobuf:"bytes,1,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
|
|
|
|
PaymentRequest string `protobuf:"bytes,2,opt,name=payment_request" json:"payment_request,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddInvoiceResponse) Reset() { *m = AddInvoiceResponse{} }
|
|
|
|
func (m *AddInvoiceResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AddInvoiceResponse) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*AddInvoiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{62} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *AddInvoiceResponse) GetRHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.RHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-03 02:31:38 +03:00
|
|
|
func (m *AddInvoiceResponse) GetPaymentRequest() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentRequest
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
type PaymentHash struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
RHashStr string `protobuf:"bytes,1,opt,name=r_hash_str" json:"r_hash_str,omitempty"`
|
|
|
|
RHash []byte `protobuf:"bytes,2,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PaymentHash) Reset() { *m = PaymentHash{} }
|
|
|
|
func (m *PaymentHash) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PaymentHash) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*PaymentHash) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{63} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *PaymentHash) GetRHashStr() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.RHashStr
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PaymentHash) GetRHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.RHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
type ListInvoiceRequest struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,json=pendingOnly" json:"pending_only,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListInvoiceRequest) Reset() { *m = ListInvoiceRequest{} }
|
|
|
|
func (m *ListInvoiceRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListInvoiceRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ListInvoiceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{64} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
2016-12-13 02:54:47 +03:00
|
|
|
func (m *ListInvoiceRequest) GetPendingOnly() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.PendingOnly
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
type ListInvoiceResponse struct {
|
|
|
|
Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices" json:"invoices,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListInvoiceResponse) Reset() { *m = ListInvoiceResponse{} }
|
|
|
|
func (m *ListInvoiceResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListInvoiceResponse) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ListInvoiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{65} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
|
|
|
func (m *ListInvoiceResponse) GetInvoices() []*Invoice {
|
|
|
|
if m != nil {
|
|
|
|
return m.Invoices
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
type InvoiceSubscription struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *InvoiceSubscription) Reset() { *m = InvoiceSubscription{} }
|
|
|
|
func (m *InvoiceSubscription) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*InvoiceSubscription) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*InvoiceSubscription) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{66} }
|
2016-10-16 00:38:47 +03:00
|
|
|
|
2016-12-05 14:59:36 +03:00
|
|
|
type Payment struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
PaymentHash string `protobuf:"bytes,1,opt,name=payment_hash" json:"payment_hash,omitempty"`
|
2016-12-05 14:59:36 +03:00
|
|
|
Value int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
CreationDate int64 `protobuf:"varint,3,opt,name=creation_date" json:"creation_date,omitempty"`
|
2017-03-17 05:45:45 +03:00
|
|
|
Path []string `protobuf:"bytes,4,rep,name=path" json:"path,omitempty"`
|
2016-12-05 14:59:36 +03:00
|
|
|
Fee int64 `protobuf:"varint,5,opt,name=fee" json:"fee,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Payment) Reset() { *m = Payment{} }
|
|
|
|
func (m *Payment) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Payment) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*Payment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{67} }
|
2016-12-05 14:59:36 +03:00
|
|
|
|
2016-12-31 03:38:48 +03:00
|
|
|
func (m *Payment) GetPaymentHash() string {
|
2016-12-05 14:59:36 +03:00
|
|
|
if m != nil {
|
2016-12-31 03:38:48 +03:00
|
|
|
return m.PaymentHash
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Payment) GetValue() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Payment) GetCreationDate() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Payment) GetPath() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Payment) GetFee() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Fee
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListPaymentsRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListPaymentsRequest) Reset() { *m = ListPaymentsRequest{} }
|
|
|
|
func (m *ListPaymentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListPaymentsRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ListPaymentsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{68} }
|
2016-12-05 14:59:36 +03:00
|
|
|
|
|
|
|
type ListPaymentsResponse struct {
|
|
|
|
Payments []*Payment `protobuf:"bytes,1,rep,name=payments" json:"payments,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListPaymentsResponse) Reset() { *m = ListPaymentsResponse{} }
|
|
|
|
func (m *ListPaymentsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListPaymentsResponse) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*ListPaymentsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{69} }
|
2016-12-05 14:59:36 +03:00
|
|
|
|
|
|
|
func (m *ListPaymentsResponse) GetPayments() []*Payment {
|
|
|
|
if m != nil {
|
|
|
|
return m.Payments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteAllPaymentsRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteAllPaymentsRequest) Reset() { *m = DeleteAllPaymentsRequest{} }
|
|
|
|
func (m *DeleteAllPaymentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteAllPaymentsRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{70} }
|
2016-12-05 14:59:36 +03:00
|
|
|
|
|
|
|
type DeleteAllPaymentsResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteAllPaymentsResponse) Reset() { *m = DeleteAllPaymentsResponse{} }
|
|
|
|
func (m *DeleteAllPaymentsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteAllPaymentsResponse) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*DeleteAllPaymentsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{71} }
|
2016-12-05 14:59:36 +03:00
|
|
|
|
2017-01-15 05:14:03 +03:00
|
|
|
type DebugLevelRequest struct {
|
|
|
|
Show bool `protobuf:"varint,1,opt,name=show" json:"show,omitempty"`
|
2017-01-13 06:40:38 +03:00
|
|
|
LevelSpec string `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec" json:"level_spec,omitempty"`
|
2017-01-15 05:14:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DebugLevelRequest) Reset() { *m = DebugLevelRequest{} }
|
|
|
|
func (m *DebugLevelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DebugLevelRequest) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*DebugLevelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{72} }
|
2017-01-15 05:14:03 +03:00
|
|
|
|
|
|
|
func (m *DebugLevelRequest) GetShow() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Show
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DebugLevelRequest) GetLevelSpec() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LevelSpec
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type DebugLevelResponse struct {
|
2017-02-28 06:03:43 +03:00
|
|
|
SubSystems string `protobuf:"bytes,1,opt,name=sub_systems" json:"sub_systems,omitempty"`
|
2017-01-15 05:14:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DebugLevelResponse) Reset() { *m = DebugLevelResponse{} }
|
|
|
|
func (m *DebugLevelResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DebugLevelResponse) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*DebugLevelResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{73} }
|
2017-01-15 05:14:03 +03:00
|
|
|
|
|
|
|
func (m *DebugLevelResponse) GetSubSystems() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.SubSystems
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-01-18 00:24:55 +03:00
|
|
|
type PayReqString struct {
|
2017-01-13 06:40:38 +03:00
|
|
|
PayReq string `protobuf:"bytes,1,opt,name=pay_req,json=payReq" json:"pay_req,omitempty"`
|
2017-01-18 00:24:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PayReqString) Reset() { *m = PayReqString{} }
|
|
|
|
func (m *PayReqString) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PayReqString) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*PayReqString) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{74} }
|
2017-01-18 00:24:55 +03:00
|
|
|
|
|
|
|
func (m *PayReqString) GetPayReq() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PayReq
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type PayReq struct {
|
|
|
|
Destination string `protobuf:"bytes,1,opt,name=destination" json:"destination,omitempty"`
|
2017-02-28 06:03:43 +03:00
|
|
|
PaymentHash string `protobuf:"bytes,2,opt,name=payment_hash" json:"payment_hash,omitempty"`
|
|
|
|
NumSatoshis int64 `protobuf:"varint,3,opt,name=num_satoshis" json:"num_satoshis,omitempty"`
|
2017-01-18 00:24:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PayReq) Reset() { *m = PayReq{} }
|
|
|
|
func (m *PayReq) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PayReq) ProtoMessage() {}
|
2017-02-17 12:29:23 +03:00
|
|
|
func (*PayReq) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{75} }
|
2017-01-18 00:24:55 +03:00
|
|
|
|
|
|
|
func (m *PayReq) GetDestination() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Destination
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PayReq) GetPaymentHash() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PaymentHash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PayReq) GetNumSatoshis() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumSatoshis
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
func init() {
|
2016-10-16 00:38:47 +03:00
|
|
|
proto.RegisterType((*Transaction)(nil), "lnrpc.Transaction")
|
|
|
|
proto.RegisterType((*GetTransactionsRequest)(nil), "lnrpc.GetTransactionsRequest")
|
|
|
|
proto.RegisterType((*TransactionDetails)(nil), "lnrpc.TransactionDetails")
|
2016-07-13 03:36:34 +03:00
|
|
|
proto.RegisterType((*SendRequest)(nil), "lnrpc.SendRequest")
|
|
|
|
proto.RegisterType((*SendResponse)(nil), "lnrpc.SendResponse")
|
2016-06-21 22:33:35 +03:00
|
|
|
proto.RegisterType((*ChannelPoint)(nil), "lnrpc.ChannelPoint")
|
|
|
|
proto.RegisterType((*LightningAddress)(nil), "lnrpc.LightningAddress")
|
2015-12-30 23:19:09 +03:00
|
|
|
proto.RegisterType((*SendManyRequest)(nil), "lnrpc.SendManyRequest")
|
|
|
|
proto.RegisterType((*SendManyResponse)(nil), "lnrpc.SendManyResponse")
|
2016-06-29 21:28:10 +03:00
|
|
|
proto.RegisterType((*SendCoinsRequest)(nil), "lnrpc.SendCoinsRequest")
|
|
|
|
proto.RegisterType((*SendCoinsResponse)(nil), "lnrpc.SendCoinsResponse")
|
2015-12-30 23:19:09 +03:00
|
|
|
proto.RegisterType((*NewAddressRequest)(nil), "lnrpc.NewAddressRequest")
|
2016-10-16 00:38:47 +03:00
|
|
|
proto.RegisterType((*NewWitnessAddressRequest)(nil), "lnrpc.NewWitnessAddressRequest")
|
2015-12-30 23:19:09 +03:00
|
|
|
proto.RegisterType((*NewAddressResponse)(nil), "lnrpc.NewAddressResponse")
|
2016-01-17 06:03:47 +03:00
|
|
|
proto.RegisterType((*ConnectPeerRequest)(nil), "lnrpc.ConnectPeerRequest")
|
|
|
|
proto.RegisterType((*ConnectPeerResponse)(nil), "lnrpc.ConnectPeerResponse")
|
2016-06-21 22:33:35 +03:00
|
|
|
proto.RegisterType((*HTLC)(nil), "lnrpc.HTLC")
|
|
|
|
proto.RegisterType((*ActiveChannel)(nil), "lnrpc.ActiveChannel")
|
2016-09-26 06:02:33 +03:00
|
|
|
proto.RegisterType((*ListChannelsRequest)(nil), "lnrpc.ListChannelsRequest")
|
|
|
|
proto.RegisterType((*ListChannelsResponse)(nil), "lnrpc.ListChannelsResponse")
|
2016-06-21 22:33:35 +03:00
|
|
|
proto.RegisterType((*Peer)(nil), "lnrpc.Peer")
|
|
|
|
proto.RegisterType((*ListPeersRequest)(nil), "lnrpc.ListPeersRequest")
|
|
|
|
proto.RegisterType((*ListPeersResponse)(nil), "lnrpc.ListPeersResponse")
|
2016-07-06 04:52:05 +03:00
|
|
|
proto.RegisterType((*GetInfoRequest)(nil), "lnrpc.GetInfoRequest")
|
|
|
|
proto.RegisterType((*GetInfoResponse)(nil), "lnrpc.GetInfoResponse")
|
2016-07-08 01:24:52 +03:00
|
|
|
proto.RegisterType((*ConfirmationUpdate)(nil), "lnrpc.ConfirmationUpdate")
|
|
|
|
proto.RegisterType((*ChannelOpenUpdate)(nil), "lnrpc.ChannelOpenUpdate")
|
|
|
|
proto.RegisterType((*ChannelCloseUpdate)(nil), "lnrpc.ChannelCloseUpdate")
|
2016-06-21 22:33:35 +03:00
|
|
|
proto.RegisterType((*CloseChannelRequest)(nil), "lnrpc.CloseChannelRequest")
|
2016-07-08 01:24:52 +03:00
|
|
|
proto.RegisterType((*CloseStatusUpdate)(nil), "lnrpc.CloseStatusUpdate")
|
2016-08-31 02:42:23 +03:00
|
|
|
proto.RegisterType((*PendingUpdate)(nil), "lnrpc.PendingUpdate")
|
2016-07-08 01:24:52 +03:00
|
|
|
proto.RegisterType((*OpenChannelRequest)(nil), "lnrpc.OpenChannelRequest")
|
|
|
|
proto.RegisterType((*OpenStatusUpdate)(nil), "lnrpc.OpenStatusUpdate")
|
|
|
|
proto.RegisterType((*PendingChannelRequest)(nil), "lnrpc.PendingChannelRequest")
|
|
|
|
proto.RegisterType((*PendingChannelResponse)(nil), "lnrpc.PendingChannelResponse")
|
|
|
|
proto.RegisterType((*PendingChannelResponse_PendingChannel)(nil), "lnrpc.PendingChannelResponse.PendingChannel")
|
2016-06-21 22:33:35 +03:00
|
|
|
proto.RegisterType((*WalletBalanceRequest)(nil), "lnrpc.WalletBalanceRequest")
|
|
|
|
proto.RegisterType((*WalletBalanceResponse)(nil), "lnrpc.WalletBalanceResponse")
|
2016-09-15 21:59:51 +03:00
|
|
|
proto.RegisterType((*ChannelBalanceRequest)(nil), "lnrpc.ChannelBalanceRequest")
|
|
|
|
proto.RegisterType((*ChannelBalanceResponse)(nil), "lnrpc.ChannelBalanceResponse")
|
2017-03-21 05:01:32 +03:00
|
|
|
proto.RegisterType((*QueryRoutesRequest)(nil), "lnrpc.QueryRoutesRequest")
|
|
|
|
proto.RegisterType((*QueryRoutesResponse)(nil), "lnrpc.QueryRoutesResponse")
|
2016-12-27 08:45:01 +03:00
|
|
|
proto.RegisterType((*Hop)(nil), "lnrpc.Hop")
|
|
|
|
proto.RegisterType((*Route)(nil), "lnrpc.Route")
|
|
|
|
proto.RegisterType((*NodeInfoRequest)(nil), "lnrpc.NodeInfoRequest")
|
|
|
|
proto.RegisterType((*NodeInfo)(nil), "lnrpc.NodeInfo")
|
|
|
|
proto.RegisterType((*LightningNode)(nil), "lnrpc.LightningNode")
|
2017-02-17 12:29:23 +03:00
|
|
|
proto.RegisterType((*NodeAddress)(nil), "lnrpc.NodeAddress")
|
2016-12-27 08:45:01 +03:00
|
|
|
proto.RegisterType((*RoutingPolicy)(nil), "lnrpc.RoutingPolicy")
|
|
|
|
proto.RegisterType((*ChannelEdge)(nil), "lnrpc.ChannelEdge")
|
|
|
|
proto.RegisterType((*ChannelGraphRequest)(nil), "lnrpc.ChannelGraphRequest")
|
|
|
|
proto.RegisterType((*ChannelGraph)(nil), "lnrpc.ChannelGraph")
|
|
|
|
proto.RegisterType((*ChanInfoRequest)(nil), "lnrpc.ChanInfoRequest")
|
|
|
|
proto.RegisterType((*NetworkInfoRequest)(nil), "lnrpc.NetworkInfoRequest")
|
|
|
|
proto.RegisterType((*NetworkInfo)(nil), "lnrpc.NetworkInfo")
|
2017-03-14 06:37:25 +03:00
|
|
|
proto.RegisterType((*GraphTopologySubscription)(nil), "lnrpc.GraphTopologySubscription")
|
|
|
|
proto.RegisterType((*GraphTopologyUpdate)(nil), "lnrpc.GraphTopologyUpdate")
|
|
|
|
proto.RegisterType((*NodeUpdate)(nil), "lnrpc.NodeUpdate")
|
|
|
|
proto.RegisterType((*ChannelEdgeUpdate)(nil), "lnrpc.ChannelEdgeUpdate")
|
|
|
|
proto.RegisterType((*ClosedChannelUpdate)(nil), "lnrpc.ClosedChannelUpdate")
|
2016-12-27 08:45:01 +03:00
|
|
|
proto.RegisterType((*SetAliasRequest)(nil), "lnrpc.SetAliasRequest")
|
|
|
|
proto.RegisterType((*SetAliasResponse)(nil), "lnrpc.SetAliasResponse")
|
2016-09-19 21:52:23 +03:00
|
|
|
proto.RegisterType((*Invoice)(nil), "lnrpc.Invoice")
|
|
|
|
proto.RegisterType((*AddInvoiceResponse)(nil), "lnrpc.AddInvoiceResponse")
|
|
|
|
proto.RegisterType((*PaymentHash)(nil), "lnrpc.PaymentHash")
|
|
|
|
proto.RegisterType((*ListInvoiceRequest)(nil), "lnrpc.ListInvoiceRequest")
|
|
|
|
proto.RegisterType((*ListInvoiceResponse)(nil), "lnrpc.ListInvoiceResponse")
|
2016-10-16 00:38:47 +03:00
|
|
|
proto.RegisterType((*InvoiceSubscription)(nil), "lnrpc.InvoiceSubscription")
|
2016-12-05 14:59:36 +03:00
|
|
|
proto.RegisterType((*Payment)(nil), "lnrpc.Payment")
|
|
|
|
proto.RegisterType((*ListPaymentsRequest)(nil), "lnrpc.ListPaymentsRequest")
|
|
|
|
proto.RegisterType((*ListPaymentsResponse)(nil), "lnrpc.ListPaymentsResponse")
|
|
|
|
proto.RegisterType((*DeleteAllPaymentsRequest)(nil), "lnrpc.DeleteAllPaymentsRequest")
|
|
|
|
proto.RegisterType((*DeleteAllPaymentsResponse)(nil), "lnrpc.DeleteAllPaymentsResponse")
|
2017-01-15 05:14:03 +03:00
|
|
|
proto.RegisterType((*DebugLevelRequest)(nil), "lnrpc.DebugLevelRequest")
|
|
|
|
proto.RegisterType((*DebugLevelResponse)(nil), "lnrpc.DebugLevelResponse")
|
2017-01-18 00:24:55 +03:00
|
|
|
proto.RegisterType((*PayReqString)(nil), "lnrpc.PayReqString")
|
|
|
|
proto.RegisterType((*PayReq)(nil), "lnrpc.PayReq")
|
2016-07-08 01:24:52 +03:00
|
|
|
proto.RegisterEnum("lnrpc.ChannelStatus", ChannelStatus_name, ChannelStatus_value)
|
2016-04-25 06:26:32 +03:00
|
|
|
proto.RegisterEnum("lnrpc.NewAddressRequest_AddressType", NewAddressRequest_AddressType_name, NewAddressRequest_AddressType_value)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
|
2016-04-24 22:38:47 +03:00
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
2016-12-13 02:54:47 +03:00
|
|
|
const _ = grpc.SupportPackageIsVersion4
|
2016-04-24 22:38:47 +03:00
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
// Client API for Lightning service
|
|
|
|
|
|
|
|
type LightningClient interface {
|
2016-06-29 21:28:10 +03:00
|
|
|
WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceResponse, error)
|
2016-09-15 21:59:51 +03:00
|
|
|
ChannelBalance(ctx context.Context, in *ChannelBalanceRequest, opts ...grpc.CallOption) (*ChannelBalanceResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*TransactionDetails, error)
|
2016-06-29 21:28:10 +03:00
|
|
|
SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
SubscribeTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (Lightning_SubscribeTransactionsClient, error)
|
|
|
|
SendMany(ctx context.Context, in *SendManyRequest, opts ...grpc.CallOption) (*SendManyResponse, error)
|
2015-12-30 23:19:09 +03:00
|
|
|
NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
NewWitnessAddress(ctx context.Context, in *NewWitnessAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error)
|
2016-01-17 06:03:47 +03:00
|
|
|
ConnectPeer(ctx context.Context, in *ConnectPeerRequest, opts ...grpc.CallOption) (*ConnectPeerResponse, error)
|
2016-06-21 22:33:35 +03:00
|
|
|
ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error)
|
2016-07-06 04:52:05 +03:00
|
|
|
GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
// TODO(roasbeef): merge with below with bool?
|
2016-07-08 01:24:52 +03:00
|
|
|
PendingChannels(ctx context.Context, in *PendingChannelRequest, opts ...grpc.CallOption) (*PendingChannelResponse, error)
|
2016-09-26 06:02:33 +03:00
|
|
|
ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error)
|
2016-11-11 04:33:24 +03:00
|
|
|
OpenChannelSync(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*ChannelPoint, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error)
|
|
|
|
CloseChannel(ctx context.Context, in *CloseChannelRequest, opts ...grpc.CallOption) (Lightning_CloseChannelClient, error)
|
2016-07-13 03:36:34 +03:00
|
|
|
SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error)
|
2016-11-11 04:33:24 +03:00
|
|
|
SendPaymentSync(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
|
2016-09-19 21:52:23 +03:00
|
|
|
AddInvoice(ctx context.Context, in *Invoice, opts ...grpc.CallOption) (*AddInvoiceResponse, error)
|
|
|
|
ListInvoices(ctx context.Context, in *ListInvoiceRequest, opts ...grpc.CallOption) (*ListInvoiceResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error)
|
|
|
|
SubscribeInvoices(ctx context.Context, in *InvoiceSubscription, opts ...grpc.CallOption) (Lightning_SubscribeInvoicesClient, error)
|
2017-01-18 00:24:55 +03:00
|
|
|
DecodePayReq(ctx context.Context, in *PayReqString, opts ...grpc.CallOption) (*PayReq, error)
|
2016-12-05 14:59:36 +03:00
|
|
|
ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...grpc.CallOption) (*ListPaymentsResponse, error)
|
|
|
|
DeleteAllPayments(ctx context.Context, in *DeleteAllPaymentsRequest, opts ...grpc.CallOption) (*DeleteAllPaymentsResponse, error)
|
2016-12-27 08:45:01 +03:00
|
|
|
DescribeGraph(ctx context.Context, in *ChannelGraphRequest, opts ...grpc.CallOption) (*ChannelGraph, error)
|
|
|
|
GetChanInfo(ctx context.Context, in *ChanInfoRequest, opts ...grpc.CallOption) (*ChannelEdge, error)
|
|
|
|
GetNodeInfo(ctx context.Context, in *NodeInfoRequest, opts ...grpc.CallOption) (*NodeInfo, error)
|
2017-03-21 05:01:32 +03:00
|
|
|
QueryRoutes(ctx context.Context, in *QueryRoutesRequest, opts ...grpc.CallOption) (*QueryRoutesResponse, error)
|
2016-12-27 08:45:01 +03:00
|
|
|
GetNetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfo, error)
|
2017-03-14 06:37:25 +03:00
|
|
|
SubscribeChannelGraph(ctx context.Context, in *GraphTopologySubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelGraphClient, error)
|
2016-12-27 08:45:01 +03:00
|
|
|
SetAlias(ctx context.Context, in *SetAliasRequest, opts ...grpc.CallOption) (*SetAliasResponse, error)
|
2017-01-15 05:14:03 +03:00
|
|
|
DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
type lightningClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewLightningClient(cc *grpc.ClientConn) LightningClient {
|
|
|
|
return &lightningClient{cc}
|
|
|
|
}
|
|
|
|
|
2016-06-29 21:28:10 +03:00
|
|
|
func (c *lightningClient) WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceResponse, error) {
|
|
|
|
out := new(WalletBalanceResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/WalletBalance", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-09-15 21:59:51 +03:00
|
|
|
func (c *lightningClient) ChannelBalance(ctx context.Context, in *ChannelBalanceRequest, opts ...grpc.CallOption) (*ChannelBalanceResponse, error) {
|
|
|
|
out := new(ChannelBalanceResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ChannelBalance", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func (c *lightningClient) GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*TransactionDetails, error) {
|
|
|
|
out := new(TransactionDetails)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/GetTransactions", in, out, c.cc, opts...)
|
2015-12-30 23:19:09 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-06-29 21:28:10 +03:00
|
|
|
func (c *lightningClient) SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error) {
|
|
|
|
out := new(SendCoinsResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/SendCoins", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func (c *lightningClient) SubscribeTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (Lightning_SubscribeTransactionsClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[0], c.cc, "/lnrpc.Lightning/SubscribeTransactions", opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
x := &lightningSubscribeTransactionsClient{stream}
|
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SubscribeTransactionsClient interface {
|
|
|
|
Recv() (*Transaction, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSubscribeTransactionsClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSubscribeTransactionsClient) Recv() (*Transaction, error) {
|
|
|
|
m := new(Transaction)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) SendMany(ctx context.Context, in *SendManyRequest, opts ...grpc.CallOption) (*SendManyResponse, error) {
|
|
|
|
out := new(SendManyResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/SendMany", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
func (c *lightningClient) NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) {
|
|
|
|
out := new(NewAddressResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/NewAddress", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func (c *lightningClient) NewWitnessAddress(ctx context.Context, in *NewWitnessAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) {
|
|
|
|
out := new(NewAddressResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/NewWitnessAddress", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-01-17 06:03:47 +03:00
|
|
|
func (c *lightningClient) ConnectPeer(ctx context.Context, in *ConnectPeerRequest, opts ...grpc.CallOption) (*ConnectPeerResponse, error) {
|
|
|
|
out := new(ConnectPeerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ConnectPeer", in, out, c.cc, opts...)
|
2015-12-31 06:02:24 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
func (c *lightningClient) ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error) {
|
|
|
|
out := new(ListPeersResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ListPeers", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-07-06 04:52:05 +03:00
|
|
|
func (c *lightningClient) GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) {
|
|
|
|
out := new(GetInfoResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/GetInfo", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func (c *lightningClient) PendingChannels(ctx context.Context, in *PendingChannelRequest, opts ...grpc.CallOption) (*PendingChannelResponse, error) {
|
|
|
|
out := new(PendingChannelResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/PendingChannels", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error) {
|
|
|
|
out := new(ListChannelsResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ListChannels", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-11-11 04:33:24 +03:00
|
|
|
func (c *lightningClient) OpenChannelSync(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*ChannelPoint, error) {
|
|
|
|
out := new(ChannelPoint)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/OpenChannelSync", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
func (c *lightningClient) OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error) {
|
2016-10-16 00:38:47 +03:00
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[1], c.cc, "/lnrpc.Lightning/OpenChannel", opts...)
|
2016-06-21 22:33:35 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-07-08 01:24:52 +03:00
|
|
|
x := &lightningOpenChannelClient{stream}
|
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_OpenChannelClient interface {
|
2016-08-31 02:42:23 +03:00
|
|
|
Recv() (*OpenStatusUpdate, error)
|
2016-07-08 01:24:52 +03:00
|
|
|
grpc.ClientStream
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type lightningOpenChannelClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (x *lightningOpenChannelClient) Recv() (*OpenStatusUpdate, error) {
|
|
|
|
m := new(OpenStatusUpdate)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) CloseChannel(ctx context.Context, in *CloseChannelRequest, opts ...grpc.CallOption) (Lightning_CloseChannelClient, error) {
|
2016-10-16 00:38:47 +03:00
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[2], c.cc, "/lnrpc.Lightning/CloseChannel", opts...)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
x := &lightningCloseChannelClient{stream}
|
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_CloseChannelClient interface {
|
2016-08-31 02:42:23 +03:00
|
|
|
Recv() (*CloseStatusUpdate, error)
|
2016-07-08 01:24:52 +03:00
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningCloseChannelClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (x *lightningCloseChannelClient) Recv() (*CloseStatusUpdate, error) {
|
|
|
|
m := new(CloseStatusUpdate)
|
2016-07-08 01:24:52 +03:00
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2016-07-13 03:36:34 +03:00
|
|
|
func (c *lightningClient) SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error) {
|
2016-10-16 00:38:47 +03:00
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[3], c.cc, "/lnrpc.Lightning/SendPayment", opts...)
|
2016-07-13 03:36:34 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
x := &lightningSendPaymentClient{stream}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SendPaymentClient interface {
|
|
|
|
Send(*SendRequest) error
|
|
|
|
Recv() (*SendResponse, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSendPaymentClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSendPaymentClient) Send(m *SendRequest) error {
|
|
|
|
return x.ClientStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSendPaymentClient) Recv() (*SendResponse, error) {
|
|
|
|
m := new(SendResponse)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2016-11-11 04:33:24 +03:00
|
|
|
func (c *lightningClient) SendPaymentSync(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) {
|
|
|
|
out := new(SendResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/SendPaymentSync", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
func (c *lightningClient) AddInvoice(ctx context.Context, in *Invoice, opts ...grpc.CallOption) (*AddInvoiceResponse, error) {
|
|
|
|
out := new(AddInvoiceResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/AddInvoice", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func (c *lightningClient) ListInvoices(ctx context.Context, in *ListInvoiceRequest, opts ...grpc.CallOption) (*ListInvoiceResponse, error) {
|
|
|
|
out := new(ListInvoiceResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ListInvoices", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
func (c *lightningClient) LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error) {
|
|
|
|
out := new(Invoice)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/LookupInvoice", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func (c *lightningClient) SubscribeInvoices(ctx context.Context, in *InvoiceSubscription, opts ...grpc.CallOption) (Lightning_SubscribeInvoicesClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[4], c.cc, "/lnrpc.Lightning/SubscribeInvoices", opts...)
|
2016-09-19 21:52:23 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-10-16 00:38:47 +03:00
|
|
|
x := &lightningSubscribeInvoicesClient{stream}
|
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SubscribeInvoicesClient interface {
|
|
|
|
Recv() (*Invoice, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSubscribeInvoicesClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSubscribeInvoicesClient) Recv() (*Invoice, error) {
|
|
|
|
m := new(Invoice)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
|
2017-01-18 00:24:55 +03:00
|
|
|
func (c *lightningClient) DecodePayReq(ctx context.Context, in *PayReqString, opts ...grpc.CallOption) (*PayReq, error) {
|
|
|
|
out := new(PayReq)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/DecodePayReq", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-05 14:59:36 +03:00
|
|
|
func (c *lightningClient) ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...grpc.CallOption) (*ListPaymentsResponse, error) {
|
|
|
|
out := new(ListPaymentsResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ListPayments", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) DeleteAllPayments(ctx context.Context, in *DeleteAllPaymentsRequest, opts ...grpc.CallOption) (*DeleteAllPaymentsResponse, error) {
|
|
|
|
out := new(DeleteAllPaymentsResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/DeleteAllPayments", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (c *lightningClient) DescribeGraph(ctx context.Context, in *ChannelGraphRequest, opts ...grpc.CallOption) (*ChannelGraph, error) {
|
|
|
|
out := new(ChannelGraph)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/DescribeGraph", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) GetChanInfo(ctx context.Context, in *ChanInfoRequest, opts ...grpc.CallOption) (*ChannelEdge, error) {
|
|
|
|
out := new(ChannelEdge)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/GetChanInfo", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) GetNodeInfo(ctx context.Context, in *NodeInfoRequest, opts ...grpc.CallOption) (*NodeInfo, error) {
|
|
|
|
out := new(NodeInfo)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/GetNodeInfo", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
func (c *lightningClient) QueryRoutes(ctx context.Context, in *QueryRoutesRequest, opts ...grpc.CallOption) (*QueryRoutesResponse, error) {
|
|
|
|
out := new(QueryRoutesResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/QueryRoutes", in, out, c.cc, opts...)
|
2016-12-27 08:45:01 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *lightningClient) GetNetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfo, error) {
|
|
|
|
out := new(NetworkInfo)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/GetNetworkInfo", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-03-14 06:37:25 +03:00
|
|
|
func (c *lightningClient) SubscribeChannelGraph(ctx context.Context, in *GraphTopologySubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelGraphClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[5], c.cc, "/lnrpc.Lightning/SubscribeChannelGraph", opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
x := &lightningSubscribeChannelGraphClient{stream}
|
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SubscribeChannelGraphClient interface {
|
|
|
|
Recv() (*GraphTopologyUpdate, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSubscribeChannelGraphClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSubscribeChannelGraphClient) Recv() (*GraphTopologyUpdate, error) {
|
|
|
|
m := new(GraphTopologyUpdate)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func (c *lightningClient) SetAlias(ctx context.Context, in *SetAliasRequest, opts ...grpc.CallOption) (*SetAliasResponse, error) {
|
|
|
|
out := new(SetAliasResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/SetAlias", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-15 05:14:03 +03:00
|
|
|
func (c *lightningClient) DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error) {
|
|
|
|
out := new(DebugLevelResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/DebugLevel", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
// Server API for Lightning service
|
|
|
|
|
|
|
|
type LightningServer interface {
|
2016-06-29 21:28:10 +03:00
|
|
|
WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error)
|
2016-09-15 21:59:51 +03:00
|
|
|
ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error)
|
2016-06-29 21:28:10 +03:00
|
|
|
SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error
|
|
|
|
SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error)
|
2015-12-30 23:19:09 +03:00
|
|
|
NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
NewWitnessAddress(context.Context, *NewWitnessAddressRequest) (*NewAddressResponse, error)
|
2016-01-17 06:03:47 +03:00
|
|
|
ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error)
|
2016-06-21 22:33:35 +03:00
|
|
|
ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
|
2016-07-06 04:52:05 +03:00
|
|
|
GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
// TODO(roasbeef): merge with below with bool?
|
2016-07-08 01:24:52 +03:00
|
|
|
PendingChannels(context.Context, *PendingChannelRequest) (*PendingChannelResponse, error)
|
2016-09-26 06:02:33 +03:00
|
|
|
ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
|
2016-11-11 04:33:24 +03:00
|
|
|
OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
|
|
|
|
CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error
|
2016-07-13 03:36:34 +03:00
|
|
|
SendPayment(Lightning_SendPaymentServer) error
|
2016-11-11 04:33:24 +03:00
|
|
|
SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error)
|
2016-09-19 21:52:23 +03:00
|
|
|
AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error)
|
|
|
|
ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error)
|
2016-10-16 00:38:47 +03:00
|
|
|
LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
|
|
|
|
SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error
|
2017-01-18 00:24:55 +03:00
|
|
|
DecodePayReq(context.Context, *PayReqString) (*PayReq, error)
|
2016-12-05 14:59:36 +03:00
|
|
|
ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
|
|
|
|
DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error)
|
2016-12-27 08:45:01 +03:00
|
|
|
DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error)
|
|
|
|
GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error)
|
|
|
|
GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error)
|
2017-03-21 05:01:32 +03:00
|
|
|
QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error)
|
2016-12-27 08:45:01 +03:00
|
|
|
GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error)
|
2017-03-14 06:37:25 +03:00
|
|
|
SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error
|
2016-12-27 08:45:01 +03:00
|
|
|
SetAlias(context.Context, *SetAliasRequest) (*SetAliasResponse, error)
|
2017-01-15 05:14:03 +03:00
|
|
|
DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func RegisterLightningServer(s *grpc.Server, srv LightningServer) {
|
|
|
|
s.RegisterService(&_Lightning_serviceDesc, srv)
|
|
|
|
}
|
|
|
|
|
2016-06-29 21:28:10 +03:00
|
|
|
func _Lightning_WalletBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(WalletBalanceRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).WalletBalance(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/WalletBalance",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).WalletBalance(ctx, req.(*WalletBalanceRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-09-15 21:59:51 +03:00
|
|
|
func _Lightning_ChannelBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ChannelBalanceRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ChannelBalance(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ChannelBalance",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ChannelBalance(ctx, req.(*ChannelBalanceRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_GetTransactions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetTransactionsRequest)
|
2015-12-30 23:19:09 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
if interceptor == nil {
|
2016-10-16 00:38:47 +03:00
|
|
|
return srv.(LightningServer).GetTransactions(ctx, in)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-10-16 00:38:47 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/GetTransactions",
|
2016-04-24 22:38:47 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-10-16 00:38:47 +03:00
|
|
|
return srv.(LightningServer).GetTransactions(ctx, req.(*GetTransactionsRequest))
|
2016-04-24 22:38:47 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
2016-06-29 21:28:10 +03:00
|
|
|
func _Lightning_SendCoins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SendCoinsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).SendCoins(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/SendCoins",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).SendCoins(ctx, req.(*SendCoinsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_SubscribeTransactions_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(GetTransactionsRequest)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return srv.(LightningServer).SubscribeTransactions(m, &lightningSubscribeTransactionsServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SubscribeTransactionsServer interface {
|
|
|
|
Send(*Transaction) error
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSubscribeTransactionsServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSubscribeTransactionsServer) Send(m *Transaction) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_SendMany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SendManyRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).SendMany(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/SendMany",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).SendMany(ctx, req.(*SendManyRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-04-24 22:38:47 +03:00
|
|
|
func _Lightning_NewAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2015-12-30 23:19:09 +03:00
|
|
|
in := new(NewAddressRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).NewAddress(ctx, in)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/NewAddress",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).NewAddress(ctx, req.(*NewAddressRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_NewWitnessAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(NewWitnessAddressRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).NewWitnessAddress(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/NewWitnessAddress",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).NewWitnessAddress(ctx, req.(*NewWitnessAddressRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-04-24 22:38:47 +03:00
|
|
|
func _Lightning_ConnectPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-01-17 06:03:47 +03:00
|
|
|
in := new(ConnectPeerRequest)
|
2015-12-31 06:02:24 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ConnectPeer(ctx, in)
|
2015-12-31 06:02:24 +03:00
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ConnectPeer",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ConnectPeer(ctx, req.(*ConnectPeerRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2015-12-31 06:02:24 +03:00
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
func _Lightning_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListPeersRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ListPeers(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ListPeers",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ListPeers(ctx, req.(*ListPeersRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-07-06 04:52:05 +03:00
|
|
|
func _Lightning_GetInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetInfoRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).GetInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/GetInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).GetInfo(ctx, req.(*GetInfoRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_PendingChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PendingChannelRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).PendingChannels(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/PendingChannels",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).PendingChannels(ctx, req.(*PendingChannelRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_ListChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListChannelsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ListChannels(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ListChannels",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ListChannels(ctx, req.(*ListChannelsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-11-11 04:33:24 +03:00
|
|
|
func _Lightning_OpenChannelSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(OpenChannelRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).OpenChannelSync(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/OpenChannelSync",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).OpenChannelSync(ctx, req.(*OpenChannelRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
func _Lightning_OpenChannel_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(OpenChannelRequest)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
2016-07-08 01:24:52 +03:00
|
|
|
return srv.(LightningServer).OpenChannel(m, &lightningOpenChannelServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_OpenChannelServer interface {
|
2016-08-31 02:42:23 +03:00
|
|
|
Send(*OpenStatusUpdate) error
|
2016-07-08 01:24:52 +03:00
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningOpenChannelServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (x *lightningOpenChannelServer) Send(m *OpenStatusUpdate) error {
|
2016-07-08 01:24:52 +03:00
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_CloseChannel_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(CloseChannelRequest)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
2016-07-08 01:24:52 +03:00
|
|
|
return srv.(LightningServer).CloseChannel(m, &lightningCloseChannelServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_CloseChannelServer interface {
|
2016-08-31 02:42:23 +03:00
|
|
|
Send(*CloseStatusUpdate) error
|
2016-07-08 01:24:52 +03:00
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningCloseChannelServer struct {
|
|
|
|
grpc.ServerStream
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
|
2016-08-31 02:42:23 +03:00
|
|
|
func (x *lightningCloseChannelServer) Send(m *CloseStatusUpdate) error {
|
2016-07-08 01:24:52 +03:00
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
2016-07-13 03:36:34 +03:00
|
|
|
func _Lightning_SendPayment_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
return srv.(LightningServer).SendPayment(&lightningSendPaymentServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SendPaymentServer interface {
|
|
|
|
Send(*SendResponse) error
|
|
|
|
Recv() (*SendRequest, error)
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSendPaymentServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSendPaymentServer) Send(m *SendResponse) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSendPaymentServer) Recv() (*SendRequest, error) {
|
|
|
|
m := new(SendRequest)
|
|
|
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2016-11-11 04:33:24 +03:00
|
|
|
func _Lightning_SendPaymentSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SendRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).SendPaymentSync(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/SendPaymentSync",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).SendPaymentSync(ctx, req.(*SendRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
func _Lightning_AddInvoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(Invoice)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).AddInvoice(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/AddInvoice",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).AddInvoice(ctx, req.(*Invoice))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_ListInvoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListInvoiceRequest)
|
2016-09-19 21:52:23 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2016-10-16 00:38:47 +03:00
|
|
|
return srv.(LightningServer).ListInvoices(ctx, in)
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-10-16 00:38:47 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/ListInvoices",
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-10-16 00:38:47 +03:00
|
|
|
return srv.(LightningServer).ListInvoices(ctx, req.(*ListInvoiceRequest))
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_LookupInvoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PaymentHash)
|
2016-09-19 21:52:23 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2016-10-16 00:38:47 +03:00
|
|
|
return srv.(LightningServer).LookupInvoice(ctx, in)
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-10-16 00:38:47 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/LookupInvoice",
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-10-16 00:38:47 +03:00
|
|
|
return srv.(LightningServer).LookupInvoice(ctx, req.(*PaymentHash))
|
2016-09-19 21:52:23 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-10-16 00:38:47 +03:00
|
|
|
func _Lightning_SubscribeInvoices_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(InvoiceSubscription)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return srv.(LightningServer).SubscribeInvoices(m, &lightningSubscribeInvoicesServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SubscribeInvoicesServer interface {
|
|
|
|
Send(*Invoice) error
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSubscribeInvoicesServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSubscribeInvoicesServer) Send(m *Invoice) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
2017-01-18 00:24:55 +03:00
|
|
|
func _Lightning_DecodePayReq_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PayReqString)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).DecodePayReq(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/DecodePayReq",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).DecodePayReq(ctx, req.(*PayReqString))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func _Lightning_ListPayments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListPaymentsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ListPayments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ListPayments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ListPayments(ctx, req.(*ListPaymentsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_DeleteAllPayments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DeleteAllPaymentsRequest)
|
2016-08-11 21:31:07 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return srv.(LightningServer).DeleteAllPayments(ctx, in)
|
2016-08-11 21:31:07 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-27 08:45:01 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/DeleteAllPayments",
|
2016-08-11 21:31:07 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-27 08:45:01 +03:00
|
|
|
return srv.(LightningServer).DeleteAllPayments(ctx, req.(*DeleteAllPaymentsRequest))
|
2016-08-11 21:31:07 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func _Lightning_DescribeGraph_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ChannelGraphRequest)
|
2016-12-05 14:59:36 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return srv.(LightningServer).DescribeGraph(ctx, in)
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-27 08:45:01 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/DescribeGraph",
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-27 08:45:01 +03:00
|
|
|
return srv.(LightningServer).DescribeGraph(ctx, req.(*ChannelGraphRequest))
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func _Lightning_GetChanInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ChanInfoRequest)
|
2016-12-05 14:59:36 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2016-12-27 08:45:01 +03:00
|
|
|
return srv.(LightningServer).GetChanInfo(ctx, in)
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-27 08:45:01 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/GetChanInfo",
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-27 08:45:01 +03:00
|
|
|
return srv.(LightningServer).GetChanInfo(ctx, req.(*ChanInfoRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_GetNodeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(NodeInfoRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).GetNodeInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/GetNodeInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).GetNodeInfo(ctx, req.(*NodeInfoRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-03-21 05:01:32 +03:00
|
|
|
func _Lightning_QueryRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(QueryRoutesRequest)
|
2016-12-27 08:45:01 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-03-21 05:01:32 +03:00
|
|
|
return srv.(LightningServer).QueryRoutes(ctx, in)
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-03-21 05:01:32 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/QueryRoutes",
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-03-21 05:01:32 +03:00
|
|
|
return srv.(LightningServer).QueryRoutes(ctx, req.(*QueryRoutesRequest))
|
2016-12-27 08:45:01 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_GetNetworkInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(NetworkInfoRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).GetNetworkInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/GetNetworkInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).GetNetworkInfo(ctx, req.(*NetworkInfoRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-03-14 06:37:25 +03:00
|
|
|
func _Lightning_SubscribeChannelGraph_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(GraphTopologySubscription)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return srv.(LightningServer).SubscribeChannelGraph(m, &lightningSubscribeChannelGraphServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Lightning_SubscribeChannelGraphServer interface {
|
|
|
|
Send(*GraphTopologyUpdate) error
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type lightningSubscribeChannelGraphServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *lightningSubscribeChannelGraphServer) Send(m *GraphTopologyUpdate) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
2016-12-27 08:45:01 +03:00
|
|
|
func _Lightning_SetAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetAliasRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).SetAlias(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/SetAlias",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).SetAlias(ctx, req.(*SetAliasRequest))
|
2016-12-05 14:59:36 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-15 05:14:03 +03:00
|
|
|
func _Lightning_DebugLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DebugLevelRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).DebugLevel(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/DebugLevel",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).DebugLevel(ctx, req.(*DebugLevelRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
var _Lightning_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "lnrpc.Lightning",
|
|
|
|
HandlerType: (*LightningServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
2016-06-29 21:28:10 +03:00
|
|
|
{
|
|
|
|
MethodName: "WalletBalance",
|
|
|
|
Handler: _Lightning_WalletBalance_Handler,
|
|
|
|
},
|
2016-09-15 21:59:51 +03:00
|
|
|
{
|
|
|
|
MethodName: "ChannelBalance",
|
|
|
|
Handler: _Lightning_ChannelBalance_Handler,
|
|
|
|
},
|
2015-12-30 23:19:09 +03:00
|
|
|
{
|
2016-10-16 00:38:47 +03:00
|
|
|
MethodName: "GetTransactions",
|
|
|
|
Handler: _Lightning_GetTransactions_Handler,
|
2015-12-30 23:19:09 +03:00
|
|
|
},
|
2016-06-29 21:28:10 +03:00
|
|
|
{
|
|
|
|
MethodName: "SendCoins",
|
|
|
|
Handler: _Lightning_SendCoins_Handler,
|
|
|
|
},
|
2016-10-16 00:38:47 +03:00
|
|
|
{
|
|
|
|
MethodName: "SendMany",
|
|
|
|
Handler: _Lightning_SendMany_Handler,
|
|
|
|
},
|
2015-12-30 23:19:09 +03:00
|
|
|
{
|
|
|
|
MethodName: "NewAddress",
|
|
|
|
Handler: _Lightning_NewAddress_Handler,
|
|
|
|
},
|
2016-10-16 00:38:47 +03:00
|
|
|
{
|
|
|
|
MethodName: "NewWitnessAddress",
|
|
|
|
Handler: _Lightning_NewWitnessAddress_Handler,
|
|
|
|
},
|
2015-12-31 06:02:24 +03:00
|
|
|
{
|
2016-01-17 06:03:47 +03:00
|
|
|
MethodName: "ConnectPeer",
|
|
|
|
Handler: _Lightning_ConnectPeer_Handler,
|
2015-12-31 06:02:24 +03:00
|
|
|
},
|
2016-06-21 22:33:35 +03:00
|
|
|
{
|
|
|
|
MethodName: "ListPeers",
|
|
|
|
Handler: _Lightning_ListPeers_Handler,
|
|
|
|
},
|
2016-07-06 04:52:05 +03:00
|
|
|
{
|
|
|
|
MethodName: "GetInfo",
|
|
|
|
Handler: _Lightning_GetInfo_Handler,
|
|
|
|
},
|
2016-06-21 22:33:35 +03:00
|
|
|
{
|
2016-07-08 01:24:52 +03:00
|
|
|
MethodName: "PendingChannels",
|
|
|
|
Handler: _Lightning_PendingChannels_Handler,
|
|
|
|
},
|
2016-09-26 06:02:33 +03:00
|
|
|
{
|
|
|
|
MethodName: "ListChannels",
|
|
|
|
Handler: _Lightning_ListChannels_Handler,
|
|
|
|
},
|
2016-11-11 04:33:24 +03:00
|
|
|
{
|
|
|
|
MethodName: "OpenChannelSync",
|
|
|
|
Handler: _Lightning_OpenChannelSync_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SendPaymentSync",
|
|
|
|
Handler: _Lightning_SendPaymentSync_Handler,
|
|
|
|
},
|
2016-09-19 21:52:23 +03:00
|
|
|
{
|
|
|
|
MethodName: "AddInvoice",
|
|
|
|
Handler: _Lightning_AddInvoice_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ListInvoices",
|
|
|
|
Handler: _Lightning_ListInvoices_Handler,
|
|
|
|
},
|
2016-10-16 00:38:47 +03:00
|
|
|
{
|
|
|
|
MethodName: "LookupInvoice",
|
|
|
|
Handler: _Lightning_LookupInvoice_Handler,
|
|
|
|
},
|
2017-01-18 00:24:55 +03:00
|
|
|
{
|
|
|
|
MethodName: "DecodePayReq",
|
|
|
|
Handler: _Lightning_DecodePayReq_Handler,
|
|
|
|
},
|
2016-12-05 14:59:36 +03:00
|
|
|
{
|
|
|
|
MethodName: "ListPayments",
|
|
|
|
Handler: _Lightning_ListPayments_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DeleteAllPayments",
|
|
|
|
Handler: _Lightning_DeleteAllPayments_Handler,
|
|
|
|
},
|
2016-12-27 08:45:01 +03:00
|
|
|
{
|
|
|
|
MethodName: "DescribeGraph",
|
|
|
|
Handler: _Lightning_DescribeGraph_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetChanInfo",
|
|
|
|
Handler: _Lightning_GetChanInfo_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetNodeInfo",
|
|
|
|
Handler: _Lightning_GetNodeInfo_Handler,
|
|
|
|
},
|
|
|
|
{
|
2017-03-21 05:01:32 +03:00
|
|
|
MethodName: "QueryRoutes",
|
|
|
|
Handler: _Lightning_QueryRoutes_Handler,
|
2016-12-27 08:45:01 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetNetworkInfo",
|
|
|
|
Handler: _Lightning_GetNetworkInfo_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetAlias",
|
|
|
|
Handler: _Lightning_SetAlias_Handler,
|
|
|
|
},
|
2017-01-15 05:14:03 +03:00
|
|
|
{
|
|
|
|
MethodName: "DebugLevel",
|
|
|
|
Handler: _Lightning_DebugLevel_Handler,
|
|
|
|
},
|
2016-07-08 01:24:52 +03:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{
|
2016-10-16 00:38:47 +03:00
|
|
|
{
|
|
|
|
StreamName: "SubscribeTransactions",
|
|
|
|
Handler: _Lightning_SubscribeTransactions_Handler,
|
|
|
|
ServerStreams: true,
|
|
|
|
},
|
2016-07-08 01:24:52 +03:00
|
|
|
{
|
|
|
|
StreamName: "OpenChannel",
|
|
|
|
Handler: _Lightning_OpenChannel_Handler,
|
|
|
|
ServerStreams: true,
|
2016-06-21 22:33:35 +03:00
|
|
|
},
|
|
|
|
{
|
2016-07-08 01:24:52 +03:00
|
|
|
StreamName: "CloseChannel",
|
|
|
|
Handler: _Lightning_CloseChannel_Handler,
|
|
|
|
ServerStreams: true,
|
2016-06-21 22:33:35 +03:00
|
|
|
},
|
2016-07-13 03:36:34 +03:00
|
|
|
{
|
|
|
|
StreamName: "SendPayment",
|
|
|
|
Handler: _Lightning_SendPayment_Handler,
|
|
|
|
ServerStreams: true,
|
|
|
|
ClientStreams: true,
|
|
|
|
},
|
2016-10-16 00:38:47 +03:00
|
|
|
{
|
|
|
|
StreamName: "SubscribeInvoices",
|
|
|
|
Handler: _Lightning_SubscribeInvoices_Handler,
|
|
|
|
ServerStreams: true,
|
|
|
|
},
|
2017-03-14 06:37:25 +03:00
|
|
|
{
|
|
|
|
StreamName: "SubscribeChannelGraph",
|
|
|
|
Handler: _Lightning_SubscribeChannelGraph_Handler,
|
|
|
|
ServerStreams: true,
|
|
|
|
},
|
2015-12-30 23:19:09 +03:00
|
|
|
},
|
2016-12-13 02:54:47 +03:00
|
|
|
Metadata: "rpc.proto",
|
2015-12-30 23:19:09 +03:00
|
|
|
}
|
|
|
|
|
2016-07-15 02:08:49 +03:00
|
|
|
func init() { proto.RegisterFile("rpc.proto", fileDescriptor0) }
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
var fileDescriptor0 = []byte{
|
2017-02-17 12:29:23 +03:00
|
|
|
// 3972 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x5a, 0xcd, 0x6f, 0x1c, 0xc9,
|
|
|
|
0x75, 0x57, 0xcf, 0x0c, 0xc9, 0x99, 0x37, 0x33, 0xfc, 0x28, 0x52, 0xe4, 0x68, 0xa8, 0x5d, 0x6b,
|
|
|
|
0xcb, 0xc2, 0x8a, 0x61, 0x16, 0xa4, 0x96, 0x09, 0x36, 0xf2, 0x2a, 0xc9, 0x82, 0x2b, 0xd1, 0xa2,
|
|
|
|
0x60, 0x9a, 0xa2, 0x9b, 0xda, 0x95, 0x63, 0x23, 0x98, 0x34, 0x67, 0x8a, 0xc3, 0xb6, 0x7a, 0xba,
|
|
|
|
0x7b, 0xbb, 0x6b, 0x48, 0x8d, 0x05, 0x22, 0x81, 0xe3, 0x5b, 0x12, 0x18, 0x81, 0x81, 0x1c, 0x8d,
|
2017-03-21 05:01:32 +03:00
|
|
|
0x00, 0x39, 0xe7, 0x92, 0x6b, 0xfe, 0x86, 0x00, 0x06, 0x7c, 0xca, 0x21, 0xb7, 0x20, 0xf7, 0xdc,
|
2017-02-17 12:29:23 +03:00
|
|
|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