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-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
|
|
|
|
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
|
2016-08-21 17:46:54 +03:00
|
|
|
RoutingTableLink
|
2016-08-11 21:31:07 +03:00
|
|
|
ShowRoutingTableRequest
|
|
|
|
ShowRoutingTableResponse
|
2016-09-19 21:52:23 +03:00
|
|
|
Invoice
|
|
|
|
AddInvoiceResponse
|
|
|
|
PaymentHash
|
|
|
|
ListInvoiceRequest
|
|
|
|
ListInvoiceResponse
|
2015-12-30 23:19:09 +03:00
|
|
|
*/
|
|
|
|
package lnrpc
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
|
|
|
|
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-07-13 03:36:34 +03:00
|
|
|
return fileDescriptor0, []int{8, 0}
|
2016-04-25 06:26:32 +03:00
|
|
|
}
|
|
|
|
|
2016-07-13 03:36:34 +03:00
|
|
|
type SendRequest struct {
|
|
|
|
Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"`
|
|
|
|
Amt int64 `protobuf:"varint,2,opt,name=amt" json:"amt,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
PaymentHash []byte `protobuf:"bytes,3,opt,name=payment_hash,proto3" json:"payment_hash,omitempty"`
|
|
|
|
FastSend bool `protobuf:"varint,4,opt,name=fast_send" json:"fast_send,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() {}
|
|
|
|
func (*SendRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
|
|
|
type SendResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SendResponse) Reset() { *m = SendResponse{} }
|
|
|
|
func (m *SendResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SendResponse) ProtoMessage() {}
|
|
|
|
func (*SendResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type ChannelPoint struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
FundingTxid []byte `protobuf:"bytes,1,opt,name=funding_txid,proto3" json:"funding_txid,omitempty"`
|
|
|
|
OutputIndex uint32 `protobuf:"varint,2,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-07-13 03:36:34 +03:00
|
|
|
func (*ChannelPoint) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
|
|
|
type LightningAddress struct {
|
|
|
|
PubKeyHash string `protobuf:"bytes,1,opt,name=pubKeyHash" json:"pubKeyHash,omitempty"`
|
|
|
|
Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LightningAddress) Reset() { *m = LightningAddress{} }
|
|
|
|
func (m *LightningAddress) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LightningAddress) ProtoMessage() {}
|
2016-07-13 03:36:34 +03:00
|
|
|
func (*LightningAddress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
type SendManyRequest struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
AddrToAmount map[string]int64 `protobuf:"bytes,1,rep,name=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-07-13 03:36:34 +03:00
|
|
|
func (*SendManyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
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-07-13 03:36:34 +03:00
|
|
|
func (*SendManyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
2015-12-30 23:19:09 +03:00
|
|
|
|
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-07-13 03:36:34 +03:00
|
|
|
func (*SendCoinsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
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-07-13 03:36:34 +03:00
|
|
|
func (*SendCoinsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
2016-06-29 21:28:10 +03:00
|
|
|
|
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-07-13 03:36:34 +03:00
|
|
|
func (*NewAddressRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
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-07-13 03:36:34 +03:00
|
|
|
func (*NewAddressResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
2015-12-30 23:19:09 +03:00
|
|
|
|
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"`
|
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-07-13 03:36:34 +03:00
|
|
|
func (*ConnectPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
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
|
|
|
|
2016-01-17 06:03:47 +03:00
|
|
|
type ConnectPeerResponse struct {
|
2016-09-19 21:52:23 +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-07-13 03:36:34 +03:00
|
|
|
func (*ConnectPeerResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
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"`
|
|
|
|
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-07-13 03:36:34 +03:00
|
|
|
func (*HTLC) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
|
|
|
type ActiveChannel struct {
|
2016-09-26 06:02:33 +03:00
|
|
|
RemotePubkey string `protobuf:"bytes,1,opt,name=remote_pubkey" json:"remote_pubkey,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
ChannelPoint string `protobuf:"bytes,2,opt,name=channel_point" json:"channel_point,omitempty"`
|
2016-06-23 08:06:37 +03:00
|
|
|
Capacity int64 `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"`
|
2016-09-19 21:52:23 +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"`
|
2016-09-26 06:02:33 +03:00
|
|
|
UnsettledBalance int64 `protobuf:"varint,6,opt,name=unsettled_balance" json:"unsettled_balance,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
PendingHtlcs []*HTLC `protobuf:"bytes,7,rep,name=pending_htlcs" json:"pending_htlcs,omitempty"`
|
|
|
|
NumUpdates uint64 `protobuf:"varint,8,opt,name=num_updates" json:"num_updates,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-07-13 03:36:34 +03:00
|
|
|
func (*ActiveChannel) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
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() {}
|
|
|
|
func (*ListChannelsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
|
|
|
|
|
|
|
|
type ListChannelsResponse struct {
|
|
|
|
Channels []*ActiveChannel `protobuf:"bytes,9,rep,name=channels" json:"channels,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListChannelsResponse) Reset() { *m = ListChannelsResponse{} }
|
|
|
|
func (m *ListChannelsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListChannelsResponse) ProtoMessage() {}
|
|
|
|
func (*ListChannelsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
|
|
|
|
|
|
|
|
func (m *ListChannelsResponse) GetChannels() []*ActiveChannel {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type Peer struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
LightningId string `protobuf:"bytes,1,opt,name=lightning_id" json:"lightning_id,omitempty"`
|
|
|
|
PeerId int32 `protobuf:"varint,2,opt,name=peer_id" json:"peer_id,omitempty"`
|
2016-06-21 22:33:35 +03:00
|
|
|
Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
|
2016-09-19 21:52:23 +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-06-21 22:33:35 +03:00
|
|
|
Inbound bool `protobuf:"varint,8,opt,name=inbound" json:"inbound,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Peer) Reset() { *m = Peer{} }
|
|
|
|
func (m *Peer) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Peer) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*Peer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
|
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-09-26 06:02:33 +03:00
|
|
|
func (*ListPeersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
|
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-09-26 06:02:33 +03:00
|
|
|
func (*ListPeersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
|
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-09-26 06:02:33 +03:00
|
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
|
2016-07-06 04:52:05 +03:00
|
|
|
|
|
|
|
type GetInfoResponse struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
LightningId string `protobuf:"bytes,1,opt,name=lightning_id" json:"lightning_id,omitempty"`
|
|
|
|
IdentityAddress string `protobuf:"bytes,2,opt,name=identity_address" json:"identity_address,omitempty"`
|
2016-09-21 02:08:33 +03:00
|
|
|
IdentityPubkey string `protobuf:"bytes,3,opt,name=identity_pubkey" json:"identity_pubkey,omitempty"`
|
|
|
|
NumPendingChannels uint32 `protobuf:"varint,4,opt,name=num_pending_channels" json:"num_pending_channels,omitempty"`
|
|
|
|
NumActiveChannels uint32 `protobuf:"varint,5,opt,name=num_active_channels" json:"num_active_channels,omitempty"`
|
|
|
|
NumPeers uint32 `protobuf:"varint,6,opt,name=num_peers" json:"num_peers,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-09-26 06:02:33 +03:00
|
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
|
2016-07-06 04:52:05 +03:00
|
|
|
|
2016-07-08 01:24:52 +03:00
|
|
|
type ConfirmationUpdate struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
BlockSha []byte `protobuf:"bytes,1,opt,name=block_sha,proto3" json:"block_sha,omitempty"`
|
|
|
|
BlockHeight int32 `protobuf:"varint,2,opt,name=block_height" json:"block_height,omitempty"`
|
|
|
|
NumConfsLeft uint32 `protobuf:"varint,3,opt,name=num_confs_left" 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-09-26 06:02:33 +03:00
|
|
|
func (*ConfirmationUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
type ChannelOpenUpdate struct {
|
2016-09-19 21:52:23 +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-09-26 06:02:33 +03:00
|
|
|
func (*ChannelOpenUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
func (m *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ChannelCloseUpdate struct {
|
2016-09-19 21:52:23 +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-09-26 06:02:33 +03:00
|
|
|
func (*ChannelCloseUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
type CloseChannelRequest struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point" json:"channel_point,omitempty"`
|
|
|
|
TimeLimit int64 `protobuf:"varint,2,opt,name=time_limit" 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-09-26 06:02:33 +03:00
|
|
|
func (*CloseChannelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
func (m *CloseChannelRequest) GetChannelPoint() *ChannelPoint {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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-09-26 06:02:33 +03:00
|
|
|
func (*CloseStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
|
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 {
|
2016-09-19 21:52:23 +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 {
|
2016-09-19 21:52:23 +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 {
|
|
|
|
Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PendingUpdate) Reset() { *m = PendingUpdate{} }
|
|
|
|
func (m *PendingUpdate) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PendingUpdate) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*PendingUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
|
2016-08-31 02:42:23 +03:00
|
|
|
|
2016-06-21 22:33:35 +03:00
|
|
|
type OpenChannelRequest struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
TargetPeerId int32 `protobuf:"varint,1,opt,name=target_peer_id" json:"target_peer_id,omitempty"`
|
|
|
|
TargetNode []byte `protobuf:"bytes,2,opt,name=target_node,proto3" json:"target_node,omitempty"`
|
|
|
|
LocalFundingAmount int64 `protobuf:"varint,3,opt,name=local_funding_amount" json:"local_funding_amount,omitempty"`
|
|
|
|
RemoteFundingAmount int64 `protobuf:"varint,4,opt,name=remote_funding_amount" json:"remote_funding_amount,omitempty"`
|
|
|
|
CommissionSize int64 `protobuf:"varint,5,opt,name=commission_size" json:"commission_size,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-09-26 06:02:33 +03:00
|
|
|
func (*OpenChannelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
|
2016-06-21 22:33:35 +03:00
|
|
|
|
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-09-26 06:02:33 +03:00
|
|
|
func (*OpenStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
|
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 {
|
2016-09-19 21:52:23 +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 {
|
2016-09-19 21:52:23 +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-09-26 06:02:33 +03:00
|
|
|
func (*PendingChannelRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
|
2016-07-08 01:24:52 +03:00
|
|
|
|
|
|
|
type PendingChannelResponse struct {
|
2016-09-19 21:52:23 +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-09-26 06:02:33 +03:00
|
|
|
func (*PendingChannelResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
|
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 {
|
2016-09-19 21:52:23 +03:00
|
|
|
PeerId int32 `protobuf:"varint,1,opt,name=peer_id" json:"peer_id,omitempty"`
|
|
|
|
LightningId string `protobuf:"bytes,2,opt,name=lightning_id" json:"lightning_id,omitempty"`
|
|
|
|
ChannelPoint string `protobuf:"bytes,3,opt,name=channel_point" json:"channel_point,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
Capacity int64 `protobuf:"varint,4,opt,name=capacity" json:"capacity,omitempty"`
|
2016-09-19 21:52:23 +03:00
|
|
|
LocalBalance int64 `protobuf:"varint,5,opt,name=local_balance" json:"local_balance,omitempty"`
|
|
|
|
RemoteBalance int64 `protobuf:"varint,6,opt,name=remote_balance" json:"remote_balance,omitempty"`
|
|
|
|
ClosingTxid string `protobuf:"bytes,7,opt,name=closing_txid" json:"closing_txid,omitempty"`
|
2016-07-08 01:24:52 +03:00
|
|
|
Status ChannelStatus `protobuf:"varint,8,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-09-26 06:02:33 +03:00
|
|
|
return fileDescriptor0, []int{30, 0}
|
2016-07-08 01:24:52 +03:00
|
|
|
}
|
2016-06-21 22:33:35 +03:00
|
|
|
|
|
|
|
type WalletBalanceRequest struct {
|
2016-09-19 21:52:23 +03:00
|
|
|
WitnessOnly bool `protobuf:"varint,1,opt,name=witness_only" 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-09-26 06:02:33 +03:00
|
|
|
func (*WalletBalanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
|
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-09-26 06:02:33 +03:00
|
|
|
func (*WalletBalanceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
|
2015-12-31 06:02:24 +03:00
|
|
|
|
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-09-26 06:02:33 +03:00
|
|
|
func (*ChannelBalanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
|
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-09-26 06:02:33 +03:00
|
|
|
func (*ChannelBalanceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{34} }
|
2016-09-15 21:59:51 +03:00
|
|
|
|
2016-08-21 17:46:54 +03:00
|
|
|
type RoutingTableLink struct {
|
2016-08-20 23:49:35 +03:00
|
|
|
Id1 string `protobuf:"bytes,1,opt,name=id1" json:"id1,omitempty"`
|
|
|
|
Id2 string `protobuf:"bytes,2,opt,name=id2" json:"id2,omitempty"`
|
2016-08-21 17:46:54 +03:00
|
|
|
Outpoint string `protobuf:"bytes,3,opt,name=outpoint" json:"outpoint,omitempty"`
|
|
|
|
Capacity int64 `protobuf:"varint,4,opt,name=capacity" json:"capacity,omitempty"`
|
2016-08-20 23:49:35 +03:00
|
|
|
Weight float64 `protobuf:"fixed64,5,opt,name=weight" json:"weight,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-08-21 17:46:54 +03:00
|
|
|
func (m *RoutingTableLink) Reset() { *m = RoutingTableLink{} }
|
|
|
|
func (m *RoutingTableLink) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RoutingTableLink) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*RoutingTableLink) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{35} }
|
2016-08-20 23:49:35 +03:00
|
|
|
|
2016-08-11 21:31:07 +03:00
|
|
|
type ShowRoutingTableRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowRoutingTableRequest) Reset() { *m = ShowRoutingTableRequest{} }
|
|
|
|
func (m *ShowRoutingTableRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowRoutingTableRequest) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*ShowRoutingTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
|
2016-08-11 21:31:07 +03:00
|
|
|
|
|
|
|
type ShowRoutingTableResponse struct {
|
2016-08-21 17:46:54 +03:00
|
|
|
Channels []*RoutingTableLink `protobuf:"bytes,1,rep,name=channels" json:"channels,omitempty"`
|
2016-08-11 21:31:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowRoutingTableResponse) Reset() { *m = ShowRoutingTableResponse{} }
|
|
|
|
func (m *ShowRoutingTableResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowRoutingTableResponse) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*ShowRoutingTableResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{37} }
|
2016-08-20 23:49:35 +03:00
|
|
|
|
2016-08-21 17:46:54 +03:00
|
|
|
func (m *ShowRoutingTableResponse) GetChannels() []*RoutingTableLink {
|
2016-08-20 23:49:35 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Channels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-08-11 21:31:07 +03:00
|
|
|
|
2016-09-19 21:52:23 +03:00
|
|
|
type Invoice struct {
|
|
|
|
Memo string `protobuf:"bytes,1,opt,name=memo" json:"memo,omitempty"`
|
|
|
|
Receipt []byte `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
|
|
|
|
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"`
|
|
|
|
Value int64 `protobuf:"varint,5,opt,name=value" json:"value,omitempty"`
|
2016-09-24 01:06:25 +03:00
|
|
|
Settled bool `protobuf:"varint,6,opt,name=settled" json:"settled,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() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*Invoice) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{38} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
|
|
|
type AddInvoiceResponse struct {
|
|
|
|
RHash []byte `protobuf:"bytes,1,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddInvoiceResponse) Reset() { *m = AddInvoiceResponse{} }
|
|
|
|
func (m *AddInvoiceResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AddInvoiceResponse) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*AddInvoiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
|
|
|
type PaymentHash struct {
|
|
|
|
RHash []byte `protobuf:"bytes,1,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PaymentHash) Reset() { *m = PaymentHash{} }
|
|
|
|
func (m *PaymentHash) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PaymentHash) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*PaymentHash) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
|
|
|
type ListInvoiceRequest struct {
|
|
|
|
PendingOnly bool `protobuf:"varint,1,opt,name=pending_only" json:"pending_only,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListInvoiceRequest) Reset() { *m = ListInvoiceRequest{} }
|
|
|
|
func (m *ListInvoiceRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListInvoiceRequest) ProtoMessage() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*ListInvoiceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }
|
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() {}
|
2016-09-26 06:02:33 +03:00
|
|
|
func (*ListInvoiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} }
|
2016-09-19 21:52:23 +03:00
|
|
|
|
|
|
|
func (m *ListInvoiceResponse) GetInvoices() []*Invoice {
|
|
|
|
if m != nil {
|
|
|
|
return m.Invoices
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
func init() {
|
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")
|
|
|
|
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")
|
2016-08-21 17:46:54 +03:00
|
|
|
proto.RegisterType((*RoutingTableLink)(nil), "lnrpc.RoutingTableLink")
|
2016-08-11 21:31:07 +03:00
|
|
|
proto.RegisterType((*ShowRoutingTableRequest)(nil), "lnrpc.ShowRoutingTableRequest")
|
|
|
|
proto.RegisterType((*ShowRoutingTableResponse)(nil), "lnrpc.ShowRoutingTableResponse")
|
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-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-07-15 02:08:49 +03:00
|
|
|
const _ = grpc.SupportPackageIsVersion3
|
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)
|
2015-12-30 23:19:09 +03:00
|
|
|
SendMany(ctx context.Context, in *SendManyRequest, opts ...grpc.CallOption) (*SendManyResponse, error)
|
2016-06-29 21:28:10 +03:00
|
|
|
SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
|
2015-12-30 23:19:09 +03:00
|
|
|
NewAddress(ctx context.Context, in *NewAddressRequest, 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-07-08 01:24:52 +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)
|
|
|
|
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-07-13 03:36:34 +03:00
|
|
|
SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error)
|
2016-09-19 21:52:23 +03:00
|
|
|
AddInvoice(ctx context.Context, in *Invoice, opts ...grpc.CallOption) (*AddInvoiceResponse, error)
|
|
|
|
LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error)
|
|
|
|
ListInvoices(ctx context.Context, in *ListInvoiceRequest, opts ...grpc.CallOption) (*ListInvoiceResponse, error)
|
2016-08-11 21:31:07 +03:00
|
|
|
ShowRoutingTable(ctx context.Context, in *ShowRoutingTableRequest, opts ...grpc.CallOption) (*ShowRoutingTableResponse, 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
|
|
|
|
}
|
|
|
|
|
2015-12-30 23:19:09 +03:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
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-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-07-08 01:24:52 +03:00
|
|
|
func (c *lightningClient) OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[0], 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) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[1], c.cc, "/lnrpc.Lightning/CloseChannel", opts...)
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
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...)
|
2016-06-21 22:33:35 +03:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-09-26 06:02:33 +03:00
|
|
|
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-07-13 03:36:34 +03:00
|
|
|
func (c *lightningClient) SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Lightning_serviceDesc.Streams[2], c.cc, "/lnrpc.Lightning/SendPayment", opts...)
|
|
|
|
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-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
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
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-08-11 21:31:07 +03:00
|
|
|
func (c *lightningClient) ShowRoutingTable(ctx context.Context, in *ShowRoutingTableRequest, opts ...grpc.CallOption) (*ShowRoutingTableResponse, error) {
|
|
|
|
out := new(ShowRoutingTableResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/lnrpc.Lightning/ShowRoutingTable", 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)
|
2015-12-30 23:19:09 +03:00
|
|
|
SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error)
|
2016-06-29 21:28:10 +03:00
|
|
|
SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
|
2015-12-30 23:19:09 +03:00
|
|
|
NewAddress(context.Context, *NewAddressRequest) (*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-07-08 01:24:52 +03:00
|
|
|
OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
|
|
|
|
CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error
|
|
|
|
PendingChannels(context.Context, *PendingChannelRequest) (*PendingChannelResponse, error)
|
2016-09-26 06:02:33 +03:00
|
|
|
ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
|
2016-07-13 03:36:34 +03:00
|
|
|
SendPayment(Lightning_SendPaymentServer) error
|
2016-09-19 21:52:23 +03:00
|
|
|
AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error)
|
|
|
|
LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
|
|
|
|
ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error)
|
2016-08-11 21:31:07 +03:00
|
|
|
ShowRoutingTable(context.Context, *ShowRoutingTableRequest) (*ShowRoutingTableResponse, 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-04-24 22:38:47 +03:00
|
|
|
func _Lightning_SendMany_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(SendManyRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-04-24 22:38:47 +03:00
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).SendMany(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/SendMany",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).SendMany(ctx, req.(*SendManyRequest))
|
|
|
|
}
|
|
|
|
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-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-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-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)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_PendingChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PendingChannelRequest)
|
2016-06-21 22:33:35 +03:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2016-07-08 01:24:52 +03:00
|
|
|
return srv.(LightningServer).PendingChannels(ctx, in)
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-07-08 01:24:52 +03:00
|
|
|
FullMethod: "/lnrpc.Lightning/PendingChannels",
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-07-08 01:24:52 +03:00
|
|
|
return srv.(LightningServer).PendingChannels(ctx, req.(*PendingChannelRequest))
|
2016-06-21 22:33:35 +03:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-09-26 06:02:33 +03:00
|
|
|
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-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-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)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_LookupInvoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PaymentHash)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).LookupInvoice(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/LookupInvoice",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).LookupInvoice(ctx, req.(*PaymentHash))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Lightning_ListInvoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListInvoiceRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ListInvoices(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ListInvoices",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ListInvoices(ctx, req.(*ListInvoiceRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2016-08-11 21:31:07 +03:00
|
|
|
func _Lightning_ShowRoutingTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ShowRoutingTableRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(LightningServer).ShowRoutingTable(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/lnrpc.Lightning/ShowRoutingTable",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(LightningServer).ShowRoutingTable(ctx, req.(*ShowRoutingTableRequest))
|
|
|
|
}
|
|
|
|
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
|
|
|
{
|
|
|
|
MethodName: "SendMany",
|
|
|
|
Handler: _Lightning_SendMany_Handler,
|
|
|
|
},
|
2016-06-29 21:28:10 +03:00
|
|
|
{
|
|
|
|
MethodName: "SendCoins",
|
|
|
|
Handler: _Lightning_SendCoins_Handler,
|
|
|
|
},
|
2015-12-30 23:19:09 +03:00
|
|
|
{
|
|
|
|
MethodName: "NewAddress",
|
|
|
|
Handler: _Lightning_NewAddress_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-09-19 21:52:23 +03:00
|
|
|
{
|
|
|
|
MethodName: "AddInvoice",
|
|
|
|
Handler: _Lightning_AddInvoice_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "LookupInvoice",
|
|
|
|
Handler: _Lightning_LookupInvoice_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ListInvoices",
|
|
|
|
Handler: _Lightning_ListInvoices_Handler,
|
|
|
|
},
|
2016-08-11 21:31:07 +03:00
|
|
|
{
|
|
|
|
MethodName: "ShowRoutingTable",
|
|
|
|
Handler: _Lightning_ShowRoutingTable_Handler,
|
|
|
|
},
|
2016-07-08 01:24:52 +03:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{
|
|
|
|
{
|
|
|
|
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,
|
|
|
|
},
|
2015-12-30 23:19:09 +03:00
|
|
|
},
|
2016-07-15 02:08:49 +03:00
|
|
|
Metadata: fileDescriptor0,
|
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{
|
2016-09-26 06:02:33 +03:00
|
|
|
// 1781 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x58, 0xdd, 0x6e, 0x13, 0xd7,
|
|
|
|
0x16, 0xc6, 0xb1, 0x1d, 0xdb, 0xcb, 0x3f, 0x71, 0x76, 0xfe, 0x1c, 0x43, 0xce, 0xe1, 0x8c, 0x00,
|
|
|
|
0x05, 0x04, 0x01, 0xcc, 0x91, 0x40, 0xa0, 0xc3, 0x51, 0x08, 0x29, 0x49, 0x31, 0x49, 0x8a, 0x83,
|
|
|
|
0x50, 0xaf, 0xa6, 0x93, 0xf1, 0x4e, 0x3c, 0xca, 0x78, 0x66, 0xea, 0xd9, 0x4e, 0x70, 0x1f, 0xa0,
|
|
|
|
0x0f, 0xd0, 0xab, 0x4a, 0x7d, 0x81, 0xaa, 0xaa, 0xaa, 0xbe, 0x47, 0xef, 0xfa, 0x44, 0x5d, 0xfb,
|
|
|
|
0x67, 0xfe, 0x27, 0x48, 0xbd, 0xe8, 0x95, 0x35, 0x6b, 0xaf, 0xbd, 0xfe, 0xf6, 0xb7, 0xbf, 0xb5,
|
|
|
|
0xb6, 0xa1, 0x36, 0xf1, 0xcc, 0x2d, 0x6f, 0xe2, 0x32, 0x97, 0x94, 0x6d, 0x07, 0x3f, 0xb4, 0xaf,
|
|
|
|
0xa0, 0x3e, 0xa0, 0xce, 0xf0, 0x3d, 0xfd, 0x76, 0x4a, 0x7d, 0x46, 0x1a, 0x50, 0x1a, 0xe2, 0x6f,
|
|
|
|
0xa7, 0x70, 0xb3, 0xb0, 0xd9, 0x20, 0x75, 0x28, 0x1a, 0x63, 0xd6, 0x99, 0xc3, 0x8f, 0x22, 0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