2018-01-04 23:20:25 +03:00
// Code generated by protoc-gen-go. DO NOT EDIT.
2015-12-30 23:19:09 +03:00
// source: rpc.proto
/ *
Package lnrpc is a generated protocol buffer package .
It is generated from these files :
rpc . proto
It has these top - level messages :
2018-02-02 07:16:40 +03:00
GenSeedRequest
GenSeedResponse
InitWalletRequest
InitWalletResponse
2017-10-12 12:10:29 +03:00
UnlockWalletRequest
UnlockWalletResponse
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
2017-04-20 05:28:10 +03:00
SignMessageRequest
SignMessageResponse
VerifyMessageRequest
VerifyMessageResponse
2016-01-17 06:03:47 +03:00
ConnectPeerRequest
ConnectPeerResponse
2017-04-12 00:49:39 +03:00
DisconnectPeerRequest
DisconnectPeerResponse
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
2017-11-09 06:27:45 +03:00
PendingHTLC
2018-01-04 23:20:25 +03:00
PendingChannelsRequest
PendingChannelsResponse
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-05-12 00:55:56 +03:00
StopRequest
StopResponse
2017-03-14 06:37:25 +03:00
GraphTopologySubscription
GraphTopologyUpdate
NodeUpdate
ChannelEdgeUpdate
ClosedChannelUpdate
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
2017-08-22 10:07:25 +03:00
FeeReportRequest
ChannelFeeReport
FeeReportResponse
2017-12-16 00:11:23 +03:00
PolicyUpdateRequest
PolicyUpdateResponse
2018-02-28 09:22:06 +03:00
ForwardingHistoryRequest
ForwardingEvent
ForwardingHistoryResponse
2015-12-30 23:19:09 +03:00
* /
package lnrpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
2017-04-01 15:42:56 +03:00
import _ "google.golang.org/genproto/googleapis/api/annotations"
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-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 ) {
2018-02-02 07:16:40 +03:00
return fileDescriptor0 , [ ] int { 17 , 0 }
2016-10-16 00:38:47 +03:00
}
2018-02-02 07:16:40 +03:00
type GenSeedRequest struct {
// *
// aezeed_passphrase is an optional user provided passphrase that will be used
// to encrypt the generated aezeed cipher seed.
AezeedPassphrase [ ] byte ` protobuf:"bytes,1,opt,name=aezeed_passphrase,json=aezeedPassphrase,proto3" json:"aezeed_passphrase,omitempty" `
// *
// seed_entropy is an optional 16-bytes generated via CSPRNG. If not
// specified, then a fresh set of randomness will be used to create the seed.
SeedEntropy [ ] byte ` protobuf:"bytes,2,opt,name=seed_entropy,json=seedEntropy,proto3" json:"seed_entropy,omitempty" `
}
func ( m * GenSeedRequest ) Reset ( ) { * m = GenSeedRequest { } }
func ( m * GenSeedRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * GenSeedRequest ) ProtoMessage ( ) { }
func ( * GenSeedRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 0 } }
func ( m * GenSeedRequest ) GetAezeedPassphrase ( ) [ ] byte {
if m != nil {
return m . AezeedPassphrase
}
return nil
2017-10-12 12:10:29 +03:00
}
2018-02-02 07:16:40 +03:00
func ( m * GenSeedRequest ) GetSeedEntropy ( ) [ ] byte {
if m != nil {
return m . SeedEntropy
}
return nil
}
type GenSeedResponse struct {
// *
// cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
// cipher seed obtained by the user. This field is optional, as if not
// provided, then the daemon will generate a new cipher seed for the user.
// Otherwise, then the daemon will attempt to recover the wallet state linked
// to this cipher seed.
CipherSeedMnemonic [ ] string ` protobuf:"bytes,1,rep,name=cipher_seed_mnemonic,json=cipherSeedMnemonic" json:"cipher_seed_mnemonic,omitempty" `
// *
// enciphered_seed are the raw aezeed cipher seed bytes. This is the raw
// cipher text before run through our mnemonic encoding scheme.
EncipheredSeed [ ] byte ` protobuf:"bytes,2,opt,name=enciphered_seed,json=encipheredSeed,proto3" json:"enciphered_seed,omitempty" `
}
func ( m * GenSeedResponse ) Reset ( ) { * m = GenSeedResponse { } }
func ( m * GenSeedResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * GenSeedResponse ) ProtoMessage ( ) { }
func ( * GenSeedResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 1 } }
func ( m * GenSeedResponse ) GetCipherSeedMnemonic ( ) [ ] string {
if m != nil {
return m . CipherSeedMnemonic
}
return nil
}
2017-10-12 12:10:29 +03:00
2018-02-02 07:16:40 +03:00
func ( m * GenSeedResponse ) GetEncipheredSeed ( ) [ ] byte {
2017-10-12 12:10:29 +03:00
if m != nil {
2018-02-02 07:16:40 +03:00
return m . EncipheredSeed
2017-10-12 12:10:29 +03:00
}
return nil
}
2018-02-02 07:16:40 +03:00
type InitWalletRequest struct {
// *
// wallet_password is the passphrase that should be used to encrypt the
// wallet. This MUST be at least 8 chars in length. After creation, this
// password is required to unlock the daemon.
WalletPassword [ ] byte ` protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty" `
// *
// cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
// cipher seed obtained by the user. This may have been generated by the
// GenSeed method, or be an existing seed.
CipherSeedMnemonic [ ] string ` protobuf:"bytes,2,rep,name=cipher_seed_mnemonic,json=cipherSeedMnemonic" json:"cipher_seed_mnemonic,omitempty" `
// *
// aezeed_passphrase is an optional user provided passphrase that will be used
// to encrypt the generated aezeed cipher seed.
AezeedPassphrase [ ] byte ` protobuf:"bytes,3,opt,name=aezeed_passphrase,json=aezeedPassphrase,proto3" json:"aezeed_passphrase,omitempty" `
2017-10-12 12:10:29 +03:00
}
2018-02-02 07:16:40 +03:00
func ( m * InitWalletRequest ) Reset ( ) { * m = InitWalletRequest { } }
func ( m * InitWalletRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * InitWalletRequest ) ProtoMessage ( ) { }
func ( * InitWalletRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 2 } }
func ( m * InitWalletRequest ) GetWalletPassword ( ) [ ] byte {
if m != nil {
return m . WalletPassword
}
return nil
}
func ( m * InitWalletRequest ) GetCipherSeedMnemonic ( ) [ ] string {
if m != nil {
return m . CipherSeedMnemonic
}
return nil
}
func ( m * InitWalletRequest ) GetAezeedPassphrase ( ) [ ] byte {
if m != nil {
return m . AezeedPassphrase
}
return nil
}
type InitWalletResponse struct {
}
func ( m * InitWalletResponse ) Reset ( ) { * m = InitWalletResponse { } }
func ( m * InitWalletResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * InitWalletResponse ) ProtoMessage ( ) { }
func ( * InitWalletResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 3 } }
2017-10-12 12:10:29 +03:00
type UnlockWalletRequest struct {
2018-02-02 07:16:40 +03:00
// *
// wallet_password should be the current valid passphrase for the daemon. This
// will be required to decrypt on-disk material that the daemon requires to
// function properly.
WalletPassword [ ] byte ` protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty" `
2017-10-12 12:10:29 +03:00
}
func ( m * UnlockWalletRequest ) Reset ( ) { * m = UnlockWalletRequest { } }
func ( m * UnlockWalletRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * UnlockWalletRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * UnlockWalletRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 4 } }
2017-10-12 12:10:29 +03:00
2018-02-02 07:16:40 +03:00
func ( m * UnlockWalletRequest ) GetWalletPassword ( ) [ ] byte {
2017-10-12 12:10:29 +03:00
if m != nil {
2018-02-02 07:16:40 +03:00
return m . WalletPassword
2017-10-12 12:10:29 +03:00
}
return nil
}
type UnlockWalletResponse struct {
}
func ( m * UnlockWalletResponse ) Reset ( ) { * m = UnlockWalletResponse { } }
func ( m * UnlockWalletResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * UnlockWalletResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * UnlockWalletResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 5 } }
2017-10-12 12:10:29 +03:00
2016-10-16 00:38:47 +03:00
type Transaction struct {
2017-08-22 10:07:25 +03:00
// / The transaction hash
TxHash string ` protobuf:"bytes,1,opt,name=tx_hash" json:"tx_hash,omitempty" `
// / The transaction ammount, denominated in satoshis
Amount int64 ` protobuf:"varint,2,opt,name=amount" json:"amount,omitempty" `
// / The number of confirmations
NumConfirmations int32 ` protobuf:"varint,3,opt,name=num_confirmations" json:"num_confirmations,omitempty" `
// / The hash of the block this transaction was included in
BlockHash string ` protobuf:"bytes,4,opt,name=block_hash" json:"block_hash,omitempty" `
// / The height of the block this transaction was included in
BlockHeight int32 ` protobuf:"varint,5,opt,name=block_height" json:"block_height,omitempty" `
// / Timestamp of this transaction
TimeStamp int64 ` protobuf:"varint,6,opt,name=time_stamp" json:"time_stamp,omitempty" `
// / Fees paid for this transaction
TotalFees int64 ` protobuf:"varint,7,opt,name=total_fees" json:"total_fees,omitempty" `
2017-12-06 20:19:07 +03:00
// / Addresses that received funds for this transaction
DestAddresses [ ] string ` protobuf:"bytes,8,rep,name=dest_addresses" json:"dest_addresses,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * Transaction ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 6 } }
2016-10-16 00:38:47 +03:00
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
}
2017-12-06 20:19:07 +03:00
func ( m * Transaction ) GetDestAddresses ( ) [ ] string {
if m != nil {
return m . DestAddresses
}
return nil
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * GetTransactionsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 7 } }
2016-10-16 00:38:47 +03:00
type TransactionDetails struct {
2017-08-22 10:07:25 +03:00
// / The list of transactions relevant to the wallet.
2016-10-16 00:38:47 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * TransactionDetails ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 8 } }
2016-10-16 00:38:47 +03:00
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 {
2017-08-22 10:07:25 +03:00
// / The identity pubkey of the payment recipient
Dest [ ] byte ` protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty" `
// / The hex-encoded identity pubkey of the payment recipient
DestString string ` protobuf:"bytes,2,opt,name=dest_string,json=destString" json:"dest_string,omitempty" `
// / Number of satoshis to send.
Amt int64 ` protobuf:"varint,3,opt,name=amt" json:"amt,omitempty" `
// / The hash to use within the payment's HTLC
PaymentHash [ ] byte ` protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty" `
// / The hex-encoded hash to use within the payment's HTLC
2017-01-13 06:40:38 +03:00
PaymentHashString string ` protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString" json:"payment_hash_string,omitempty" `
2017-08-22 10:07:25 +03:00
// *
// A bare-bones invoice for a payment within the Lightning Network. With the
// details of the invoice, the sender has all the data necessary to send a
// payment to the recipient.
PaymentRequest string ` protobuf:"bytes,6,opt,name=payment_request,json=paymentRequest" json:"payment_request,omitempty" `
2018-01-17 07:20:34 +03:00
// / The CLTV delta from the current height that should be used to set the timelock for the final hop.
FinalCltvDelta int32 ` protobuf:"varint,7,opt,name=final_cltv_delta,json=finalCltvDelta" json:"final_cltv_delta,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SendRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 9 } }
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
}
2018-01-17 07:20:34 +03:00
func ( m * SendRequest ) GetFinalCltvDelta ( ) int32 {
if m != nil {
return m . FinalCltvDelta
}
return 0
}
2016-07-13 03:36:34 +03:00
type SendResponse struct {
2017-05-19 15:18:21 +03:00
PaymentError string ` protobuf:"bytes,1,opt,name=payment_error" json:"payment_error,omitempty" `
PaymentPreimage [ ] byte ` protobuf:"bytes,2,opt,name=payment_preimage,proto3" json:"payment_preimage,omitempty" `
PaymentRoute * Route ` protobuf:"bytes,3,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SendResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 10 } }
2016-07-13 03:36:34 +03:00
2017-05-19 15:18:21 +03:00
func ( m * SendResponse ) GetPaymentError ( ) string {
if m != nil {
return m . PaymentError
}
return ""
}
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 {
2018-01-11 07:17:18 +03:00
// Types that are valid to be assigned to FundingTxid:
// *ChannelPoint_FundingTxidBytes
// *ChannelPoint_FundingTxidStr
FundingTxid isChannelPoint_FundingTxid ` protobuf_oneof:"funding_txid" `
2017-08-22 10:07:25 +03:00
// / The index of the output of the funding transaction
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelPoint ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 11 } }
2016-06-21 22:33:35 +03:00
2018-01-11 07:17:18 +03:00
type isChannelPoint_FundingTxid interface {
isChannelPoint_FundingTxid ( )
}
type ChannelPoint_FundingTxidBytes struct {
FundingTxidBytes [ ] byte ` protobuf:"bytes,1,opt,name=funding_txid_bytes,proto3,oneof" `
}
type ChannelPoint_FundingTxidStr struct {
FundingTxidStr string ` protobuf:"bytes,2,opt,name=funding_txid_str,oneof" `
}
func ( * ChannelPoint_FundingTxidBytes ) isChannelPoint_FundingTxid ( ) { }
func ( * ChannelPoint_FundingTxidStr ) isChannelPoint_FundingTxid ( ) { }
func ( m * ChannelPoint ) GetFundingTxid ( ) isChannelPoint_FundingTxid {
2016-12-13 02:54:47 +03:00
if m != nil {
return m . FundingTxid
}
return nil
}
2018-01-11 07:17:18 +03:00
func ( m * ChannelPoint ) GetFundingTxidBytes ( ) [ ] byte {
if x , ok := m . GetFundingTxid ( ) . ( * ChannelPoint_FundingTxidBytes ) ; ok {
return x . FundingTxidBytes
}
return nil
}
2016-12-13 02:54:47 +03:00
func ( m * ChannelPoint ) GetFundingTxidStr ( ) string {
2018-01-11 07:17:18 +03:00
if x , ok := m . GetFundingTxid ( ) . ( * ChannelPoint_FundingTxidStr ) ; ok {
return x . FundingTxidStr
2016-12-13 02:54:47 +03:00
}
return ""
}
func ( m * ChannelPoint ) GetOutputIndex ( ) uint32 {
if m != nil {
return m . OutputIndex
}
return 0
}
2018-01-11 07:17:18 +03:00
// XXX_OneofFuncs is for the internal use of the proto package.
func ( * ChannelPoint ) 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 _ChannelPoint_OneofMarshaler , _ChannelPoint_OneofUnmarshaler , _ChannelPoint_OneofSizer , [ ] interface { } {
( * ChannelPoint_FundingTxidBytes ) ( nil ) ,
( * ChannelPoint_FundingTxidStr ) ( nil ) ,
}
}
func _ChannelPoint_OneofMarshaler ( msg proto . Message , b * proto . Buffer ) error {
m := msg . ( * ChannelPoint )
// funding_txid
switch x := m . FundingTxid . ( type ) {
case * ChannelPoint_FundingTxidBytes :
b . EncodeVarint ( 1 << 3 | proto . WireBytes )
b . EncodeRawBytes ( x . FundingTxidBytes )
case * ChannelPoint_FundingTxidStr :
b . EncodeVarint ( 2 << 3 | proto . WireBytes )
b . EncodeStringBytes ( x . FundingTxidStr )
case nil :
default :
return fmt . Errorf ( "ChannelPoint.FundingTxid has unexpected type %T" , x )
}
return nil
}
func _ChannelPoint_OneofUnmarshaler ( msg proto . Message , tag , wire int , b * proto . Buffer ) ( bool , error ) {
m := msg . ( * ChannelPoint )
switch tag {
case 1 : // funding_txid.funding_txid_bytes
if wire != proto . WireBytes {
return true , proto . ErrInternalBadWireType
}
x , err := b . DecodeRawBytes ( true )
m . FundingTxid = & ChannelPoint_FundingTxidBytes { x }
return true , err
case 2 : // funding_txid.funding_txid_str
if wire != proto . WireBytes {
return true , proto . ErrInternalBadWireType
}
x , err := b . DecodeStringBytes ( )
m . FundingTxid = & ChannelPoint_FundingTxidStr { x }
return true , err
default :
return false , nil
}
}
func _ChannelPoint_OneofSizer ( msg proto . Message ) ( n int ) {
m := msg . ( * ChannelPoint )
// funding_txid
switch x := m . FundingTxid . ( type ) {
case * ChannelPoint_FundingTxidBytes :
n += proto . SizeVarint ( 1 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( len ( x . FundingTxidBytes ) ) )
n += len ( x . FundingTxidBytes )
case * ChannelPoint_FundingTxidStr :
n += proto . SizeVarint ( 2 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( len ( x . FundingTxidStr ) ) )
n += len ( x . FundingTxidStr )
case nil :
default :
panic ( fmt . Sprintf ( "proto: unexpected type %T in oneof" , x ) )
}
return n
}
2016-06-21 22:33:35 +03:00
type LightningAddress struct {
2017-08-22 10:07:25 +03:00
// / The identity pubkey of the Lightning node
2016-10-28 05:41:42 +03:00
Pubkey string ` protobuf:"bytes,1,opt,name=pubkey" json:"pubkey,omitempty" `
2017-08-22 10:07:25 +03:00
// / The network location of the lightning node, e.g. `69.69.69.69:1337` or `localhost:10011`
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * LightningAddress ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 12 } }
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-08-22 10:07:25 +03:00
// / The map from addresses to amounts
2017-11-14 02:47:33 +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" `
2017-11-23 08:36:27 +03:00
// / The target number of blocks that this transaction should be confirmed by.
TargetConf int32 ` protobuf:"varint,3,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty" `
// / A manual fee rate set in sat/byte that should be used when crafting the transaction.
SatPerByte int64 ` protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty" `
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SendManyRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 13 } }
2015-12-30 23:19:09 +03:00
func ( m * SendManyRequest ) GetAddrToAmount ( ) map [ string ] int64 {
if m != nil {
return m . AddrToAmount
}
return nil
}
2017-11-23 08:36:27 +03:00
func ( m * SendManyRequest ) GetTargetConf ( ) int32 {
if m != nil {
return m . TargetConf
}
return 0
}
func ( m * SendManyRequest ) GetSatPerByte ( ) int64 {
if m != nil {
return m . SatPerByte
}
return 0
}
2015-12-30 23:19:09 +03:00
type SendManyResponse struct {
2017-08-22 10:07:25 +03:00
// / The id of the transaction
2015-12-30 23:19:09 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SendManyResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 14 } }
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 {
2017-08-22 10:07:25 +03:00
// / The address to send coins to
Addr string ` protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty" `
// / The amount in satoshis to send
Amount int64 ` protobuf:"varint,2,opt,name=amount" json:"amount,omitempty" `
2017-11-23 08:36:27 +03:00
// / The target number of blocks that this transaction should be confirmed by.
TargetConf int32 ` protobuf:"varint,3,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty" `
// / A manual fee rate set in sat/byte that should be used when crafting the transaction.
SatPerByte int64 ` protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty" `
2016-06-29 21:28:10 +03:00
}
func ( m * SendCoinsRequest ) Reset ( ) { * m = SendCoinsRequest { } }
func ( m * SendCoinsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SendCoinsRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SendCoinsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 15 } }
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
}
2017-11-23 08:36:27 +03:00
func ( m * SendCoinsRequest ) GetTargetConf ( ) int32 {
if m != nil {
return m . TargetConf
}
return 0
}
func ( m * SendCoinsRequest ) GetSatPerByte ( ) int64 {
if m != nil {
return m . SatPerByte
}
return 0
}
2016-06-29 21:28:10 +03:00
type SendCoinsResponse struct {
2017-08-22 10:07:25 +03:00
// / The transaction ID of the transaction
2016-06-29 21:28:10 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SendCoinsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 16 } }
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 ""
}
2017-08-22 10:07:25 +03:00
// *
// `AddressType` has to be one of:
//
// - `p2wkh`: Pay to witness key hash (`WITNESS_PUBKEY_HASH` = 0)
// - `np2wkh`: Pay to nested witness key hash (`NESTED_PUBKEY_HASH` = 1)
// - `p2pkh`: Pay to public key hash (`PUBKEY_HASH` = 2)
2015-12-30 23:19:09 +03:00
type NewAddressRequest struct {
2017-08-22 10:07:25 +03:00
// / The address type
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NewAddressRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 17 } }
2016-10-16 00:38:47 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NewWitnessAddressRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 18 } }
2015-12-30 23:19:09 +03:00
type NewAddressResponse struct {
2017-08-22 10:07:25 +03:00
// / The newly generated wallet address
2015-12-30 23:19:09 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NewAddressResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 19 } }
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 ""
}
2017-04-20 05:28:10 +03:00
type SignMessageRequest struct {
2017-08-22 10:07:25 +03:00
// / The message to be signed
2017-04-20 05:28:10 +03:00
Msg [ ] byte ` protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty" `
}
func ( m * SignMessageRequest ) Reset ( ) { * m = SignMessageRequest { } }
func ( m * SignMessageRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SignMessageRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SignMessageRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 20 } }
2017-04-20 05:28:10 +03:00
func ( m * SignMessageRequest ) GetMsg ( ) [ ] byte {
if m != nil {
return m . Msg
}
return nil
}
type SignMessageResponse struct {
2017-08-22 10:07:25 +03:00
// / The signature for the given message
2017-04-20 05:28:10 +03:00
Signature string ` protobuf:"bytes,1,opt,name=signature" json:"signature,omitempty" `
}
func ( m * SignMessageResponse ) Reset ( ) { * m = SignMessageResponse { } }
func ( m * SignMessageResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SignMessageResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * SignMessageResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 21 } }
2017-04-20 05:28:10 +03:00
func ( m * SignMessageResponse ) GetSignature ( ) string {
if m != nil {
return m . Signature
}
return ""
}
type VerifyMessageRequest struct {
2017-08-22 10:07:25 +03:00
// / The message over which the signature is to be verified
Msg [ ] byte ` protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty" `
2018-02-13 03:28:39 +03:00
// / The signature to be verified over the given message
2017-04-20 05:28:10 +03:00
Signature string ` protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty" `
}
func ( m * VerifyMessageRequest ) Reset ( ) { * m = VerifyMessageRequest { } }
func ( m * VerifyMessageRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * VerifyMessageRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * VerifyMessageRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 22 } }
2017-04-20 05:28:10 +03:00
func ( m * VerifyMessageRequest ) GetMsg ( ) [ ] byte {
if m != nil {
return m . Msg
}
return nil
}
func ( m * VerifyMessageRequest ) GetSignature ( ) string {
if m != nil {
return m . Signature
}
return ""
}
type VerifyMessageResponse struct {
2017-08-22 10:07:25 +03:00
// / Whether the signature was valid over the given message
Valid bool ` protobuf:"varint,1,opt,name=valid" json:"valid,omitempty" `
// / The pubkey recovered from the signature
2017-04-29 14:44:29 +03:00
Pubkey string ` protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty" `
2017-04-20 05:28:10 +03:00
}
func ( m * VerifyMessageResponse ) Reset ( ) { * m = VerifyMessageResponse { } }
func ( m * VerifyMessageResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * VerifyMessageResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * VerifyMessageResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 23 } }
2017-04-20 05:28:10 +03:00
func ( m * VerifyMessageResponse ) GetValid ( ) bool {
if m != nil {
return m . Valid
}
return false
}
2017-04-29 14:44:29 +03:00
func ( m * VerifyMessageResponse ) GetPubkey ( ) string {
if m != nil {
return m . Pubkey
}
return ""
}
2016-01-17 06:03:47 +03:00
type ConnectPeerRequest struct {
2017-08-22 10:07:25 +03:00
// / Lightning address of the peer, in the format `<pubkey>@host`
2016-06-21 22:33:35 +03:00
Addr * LightningAddress ` protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty" `
2017-08-22 10:07:25 +03:00
// * If set, the daemon will attempt to persistently connect to the target
// peer. Otherwise, the call will be synchronous.
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ConnectPeerRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 24 } }
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 {
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ConnectPeerResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 25 } }
2016-06-21 22:33:35 +03:00
2017-04-12 00:49:39 +03:00
type DisconnectPeerRequest struct {
2017-08-22 10:07:25 +03:00
// / The pubkey of the node to disconnect from
2017-04-12 00:49:39 +03:00
PubKey string ` protobuf:"bytes,1,opt,name=pub_key" json:"pub_key,omitempty" `
}
func ( m * DisconnectPeerRequest ) Reset ( ) { * m = DisconnectPeerRequest { } }
func ( m * DisconnectPeerRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * DisconnectPeerRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * DisconnectPeerRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 26 } }
2017-04-12 00:49:39 +03:00
func ( m * DisconnectPeerRequest ) GetPubKey ( ) string {
if m != nil {
return m . PubKey
}
return ""
}
type DisconnectPeerResponse struct {
}
func ( m * DisconnectPeerResponse ) Reset ( ) { * m = DisconnectPeerResponse { } }
func ( m * DisconnectPeerResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * DisconnectPeerResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * DisconnectPeerResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 27 } }
2017-04-12 00:49:39 +03:00
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" `
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * HTLC ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 28 } }
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
}
2016-06-21 22:33:35 +03:00
type ActiveChannel struct {
2017-08-22 10:07:25 +03:00
// / Whether this channel is active or not
Active bool ` protobuf:"varint,1,opt,name=active" json:"active,omitempty" `
// / The identity pubkey of the remote node
RemotePubkey string ` protobuf:"bytes,2,opt,name=remote_pubkey" json:"remote_pubkey,omitempty" `
// *
// The outpoint (txid:index) of the funding transaction. With this value, Bob
// will be able to generate a signature for Alice's version of the commitment
// transaction.
ChannelPoint string ` protobuf:"bytes,3,opt,name=channel_point" json:"channel_point,omitempty" `
// *
// The unique channel ID for the channel. The first 3 bytes are the block
// height, the next 3 the index within the block, and the last 2 bytes are the
// output index for the channel.
ChanId uint64 ` protobuf:"varint,4,opt,name=chan_id" json:"chan_id,omitempty" `
// / The total amount of funds held in this channel
Capacity int64 ` protobuf:"varint,5,opt,name=capacity" json:"capacity,omitempty" `
// / This node's current balance in this channel
LocalBalance int64 ` protobuf:"varint,6,opt,name=local_balance" json:"local_balance,omitempty" `
// / The counterparty's current balance in this channel
RemoteBalance int64 ` protobuf:"varint,7,opt,name=remote_balance" json:"remote_balance,omitempty" `
// *
// The amount calculated to be paid in fees for the current set of commitment
// transactions. The fee amount is persisted with the channel in order to
// allow the fee amount to be removed and recalculated with each channel state
// update, including updates that happen after a system restart.
CommitFee int64 ` protobuf:"varint,8,opt,name=commit_fee" json:"commit_fee,omitempty" `
// / The weight of the commitment transaction
CommitWeight int64 ` protobuf:"varint,9,opt,name=commit_weight" json:"commit_weight,omitempty" `
// *
// The required number of satoshis per kilo-weight that the requester will pay
// at all times, for both the funding transaction and commitment transaction.
// This value can later be updated once the channel is open.
FeePerKw int64 ` protobuf:"varint,10,opt,name=fee_per_kw" json:"fee_per_kw,omitempty" `
// / The unsettled balance in this channel
UnsettledBalance int64 ` protobuf:"varint,11,opt,name=unsettled_balance" json:"unsettled_balance,omitempty" `
// *
// The total number of satoshis we've sent within this channel.
TotalSatoshisSent int64 ` protobuf:"varint,12,opt,name=total_satoshis_sent" json:"total_satoshis_sent,omitempty" `
// *
// The total number of satoshis we've received within this channel.
TotalSatoshisReceived int64 ` protobuf:"varint,13,opt,name=total_satoshis_received" json:"total_satoshis_received,omitempty" `
// *
// The total number of updates conducted within this channel.
NumUpdates uint64 ` protobuf:"varint,14,opt,name=num_updates" json:"num_updates,omitempty" `
// *
// The list of active, uncleared HTLCs currently pending within the channel.
PendingHtlcs [ ] * HTLC ` protobuf:"bytes,15,rep,name=pending_htlcs" json:"pending_htlcs,omitempty" `
2017-12-06 04:27:30 +03:00
// *
// The CSV delay expressed in relative blocks. If the channel is force
// closed, we'll need to wait for this many blocks before we can regain our
// funds.
CsvDelay uint32 ` protobuf:"varint,16,opt,name=csv_delay" json:"csv_delay,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ActiveChannel ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 29 } }
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
}
2017-05-17 05:13:25 +03:00
func ( m * ActiveChannel ) GetCommitFee ( ) int64 {
if m != nil {
return m . CommitFee
}
return 0
}
func ( m * ActiveChannel ) GetCommitWeight ( ) int64 {
if m != nil {
return m . CommitWeight
}
return 0
}
func ( m * ActiveChannel ) GetFeePerKw ( ) int64 {
if m != nil {
return m . FeePerKw
}
return 0
}
2016-12-13 02:54:47 +03:00
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
}
2017-12-06 04:27:30 +03:00
func ( m * ActiveChannel ) GetCsvDelay ( ) uint32 {
if m != nil {
return m . CsvDelay
}
return 0
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListChannelsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 30 } }
2016-09-26 06:02:33 +03:00
type ListChannelsResponse struct {
2017-08-22 10:07:25 +03:00
// / The list of active channels
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListChannelsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 31 } }
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-08-22 10:07:25 +03:00
// / The identity pubkey of the peer
PubKey string ` protobuf:"bytes,1,opt,name=pub_key" json:"pub_key,omitempty" `
// / Network address of the peer; eg `127.0.0.1:10011`
Address string ` protobuf:"bytes,3,opt,name=address" json:"address,omitempty" `
// / Bytes of data transmitted to this peer
2017-02-28 06:03:43 +03:00
BytesSent uint64 ` protobuf:"varint,4,opt,name=bytes_sent" json:"bytes_sent,omitempty" `
2017-08-22 10:07:25 +03:00
// / Bytes of data transmitted from this peer
2017-02-28 06:03:43 +03:00
BytesRecv uint64 ` protobuf:"varint,5,opt,name=bytes_recv" json:"bytes_recv,omitempty" `
2017-08-22 10:07:25 +03:00
// / Satoshis sent to this peer
SatSent int64 ` protobuf:"varint,6,opt,name=sat_sent" json:"sat_sent,omitempty" `
// / Satoshis received from this peer
SatRecv int64 ` protobuf:"varint,7,opt,name=sat_recv" json:"sat_recv,omitempty" `
// / A channel is inbound if the counterparty initiated the channel
Inbound bool ` protobuf:"varint,8,opt,name=inbound" json:"inbound,omitempty" `
// / Ping time to this peer
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * Peer ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 32 } }
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 ) 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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListPeersRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 33 } }
2016-06-21 22:33:35 +03:00
type ListPeersResponse struct {
2017-08-22 10:07:25 +03:00
// / The list of currently connected peers
2016-06-21 22:33:35 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListPeersResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 34 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * GetInfoRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 35 } }
2016-07-06 04:52:05 +03:00
type GetInfoResponse struct {
2017-08-22 10:07:25 +03:00
// / The identity pubkey of the current node.
IdentityPubkey string ` protobuf:"bytes,1,opt,name=identity_pubkey" json:"identity_pubkey,omitempty" `
// / If applicable, the alias of the current node, e.g. "bob"
Alias string ` protobuf:"bytes,2,opt,name=alias" json:"alias,omitempty" `
// / Number of pending channels
NumPendingChannels uint32 ` protobuf:"varint,3,opt,name=num_pending_channels" json:"num_pending_channels,omitempty" `
// / Number of active channels
NumActiveChannels uint32 ` protobuf:"varint,4,opt,name=num_active_channels" json:"num_active_channels,omitempty" `
// / Number of peers
NumPeers uint32 ` protobuf:"varint,5,opt,name=num_peers" json:"num_peers,omitempty" `
// / The node's current view of the height of the best block
BlockHeight uint32 ` protobuf:"varint,6,opt,name=block_height" json:"block_height,omitempty" `
// / The node's current view of the hash of the best block
BlockHash string ` protobuf:"bytes,8,opt,name=block_hash" json:"block_hash,omitempty" `
// / Whether the wallet's view is synced to the main chain
SyncedToChain bool ` protobuf:"varint,9,opt,name=synced_to_chain" json:"synced_to_chain,omitempty" `
// / Whether the current node is connected to testnet
Testnet bool ` protobuf:"varint,10,opt,name=testnet" json:"testnet,omitempty" `
// / A list of active chains the node is connected to
Chains [ ] string ` protobuf:"bytes,11,rep,name=chains" json:"chains,omitempty" `
2018-01-07 08:50:30 +03:00
// / The URIs of the current node.
Uris [ ] string ` protobuf:"bytes,12,rep,name=uris" json:"uris,omitempty" `
2017-12-10 10:42:46 +03:00
// / Timestamp of the block best known to the wallet
BestHeaderTimestamp int64 ` protobuf:"varint,13,opt,name=best_header_timestamp" json:"best_header_timestamp,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * GetInfoResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 36 } }
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
}
2017-05-03 05:49:41 +03:00
func ( m * GetInfoResponse ) GetChains ( ) [ ] string {
if m != nil {
return m . Chains
}
return nil
}
2018-01-07 08:50:30 +03:00
func ( m * GetInfoResponse ) GetUris ( ) [ ] string {
if m != nil {
return m . Uris
}
return nil
}
2017-12-10 10:42:46 +03:00
func ( m * GetInfoResponse ) GetBestHeaderTimestamp ( ) int64 {
if m != nil {
return m . BestHeaderTimestamp
}
return 0
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ConfirmationUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 37 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelOpenUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 38 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelCloseUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 39 } }
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-08-22 10:07:25 +03:00
// *
// The outpoint (txid:index) of the funding transaction. With this value, Bob
// will be able to generate a signature for Alice's version of the commitment
// transaction.
2017-01-13 06:40:38 +03:00
ChannelPoint * ChannelPoint ` protobuf:"bytes,1,opt,name=channel_point,json=channelPoint" json:"channel_point,omitempty" `
2017-08-22 10:07:25 +03:00
// / If true, then the channel will be closed forcibly. This means the current commitment transaction will be signed and broadcast.
Force bool ` protobuf:"varint,2,opt,name=force" json:"force,omitempty" `
2017-11-23 08:36:27 +03:00
// / The target number of blocks that the closure transaction should be confirmed by.
TargetConf int32 ` protobuf:"varint,3,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty" `
// / A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
2018-01-11 07:17:18 +03:00
SatPerByte int64 ` protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * CloseChannelRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 40 } }
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 ) GetForce ( ) bool {
if m != nil {
return m . Force
}
return false
}
2017-11-23 08:36:27 +03:00
func ( m * CloseChannelRequest ) GetTargetConf ( ) int32 {
if m != nil {
return m . TargetConf
}
return 0
}
func ( m * CloseChannelRequest ) GetSatPerByte ( ) int64 {
if m != nil {
return m . SatPerByte
}
return 0
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * CloseStatusUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 41 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PendingUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 42 } }
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-08-22 10:07:25 +03:00
// / The pubkey of the node to open a channel with
NodePubkey [ ] byte ` protobuf:"bytes,2,opt,name=node_pubkey,proto3" json:"node_pubkey,omitempty" `
2018-02-13 03:28:39 +03:00
// / The hex encoded pubkey of the node to open a channel with
2017-08-22 10:07:25 +03:00
NodePubkeyString string ` protobuf:"bytes,3,opt,name=node_pubkey_string" json:"node_pubkey_string,omitempty" `
// / The number of satoshis the wallet should commit to the channel
LocalFundingAmount int64 ` protobuf:"varint,4,opt,name=local_funding_amount" json:"local_funding_amount,omitempty" `
// / The number of satoshis to push to the remote side as part of the initial commitment state
PushSat int64 ` protobuf:"varint,5,opt,name=push_sat" json:"push_sat,omitempty" `
2017-11-23 08:36:27 +03:00
// / The target number of blocks that the closure transaction should be confirmed by.
TargetConf int32 ` protobuf:"varint,6,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty" `
// / A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
SatPerByte int64 ` protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty" `
2017-11-14 04:06:50 +03:00
// / Whether this channel should be private, not announced to the greater network.
2017-11-14 02:47:33 +03:00
Private bool ` protobuf:"varint,8,opt,name=private" json:"private,omitempty" `
2017-12-17 01:58:08 +03:00
// / The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
MinHtlcMsat int64 ` protobuf:"varint,9,opt,name=min_htlc_msat" json:"min_htlc_msat,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * OpenChannelRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 43 } }
2016-06-21 22:33:35 +03:00
2016-12-13 02:54:47 +03:00
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
}
2017-11-23 08:36:27 +03:00
func ( m * OpenChannelRequest ) GetTargetConf ( ) int32 {
if m != nil {
return m . TargetConf
}
return 0
}
func ( m * OpenChannelRequest ) GetSatPerByte ( ) int64 {
if m != nil {
return m . SatPerByte
}
return 0
}
2017-11-14 02:47:33 +03:00
func ( m * OpenChannelRequest ) GetPrivate ( ) bool {
if m != nil {
return m . Private
}
return false
}
2017-12-17 01:58:08 +03:00
func ( m * OpenChannelRequest ) GetMinHtlcMsat ( ) int64 {
if m != nil {
return m . MinHtlcMsat
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * OpenStatusUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 44 } }
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
}
2017-11-09 06:27:45 +03:00
type PendingHTLC struct {
// / The direction within the channel that the htlc was sent
Incoming bool ` protobuf:"varint,1,opt,name=incoming" json:"incoming,omitempty" `
// / The total value of the htlc
Amount int64 ` protobuf:"varint,2,opt,name=amount" json:"amount,omitempty" `
// / The final output to be swept back to the user's wallet
Outpoint string ` protobuf:"bytes,3,opt,name=outpoint" json:"outpoint,omitempty" `
// / The next block height at which we can spend the current stage
MaturityHeight uint32 ` protobuf:"varint,4,opt,name=maturity_height" json:"maturity_height,omitempty" `
// *
// The number of blocks remaining until the current stage can be swept.
// Negative values indicate how many blocks have passed since becoming
// mature.
BlocksTilMaturity int32 ` protobuf:"varint,5,opt,name=blocks_til_maturity" json:"blocks_til_maturity,omitempty" `
// / Indicates whether the htlc is in its first or second stage of recovery
Stage uint32 ` protobuf:"varint,6,opt,name=stage" json:"stage,omitempty" `
}
func ( m * PendingHTLC ) Reset ( ) { * m = PendingHTLC { } }
func ( m * PendingHTLC ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingHTLC ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PendingHTLC ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 45 } }
2017-11-09 06:27:45 +03:00
func ( m * PendingHTLC ) GetIncoming ( ) bool {
if m != nil {
return m . Incoming
}
return false
}
func ( m * PendingHTLC ) GetAmount ( ) int64 {
if m != nil {
return m . Amount
}
return 0
}
func ( m * PendingHTLC ) GetOutpoint ( ) string {
if m != nil {
return m . Outpoint
}
return ""
}
func ( m * PendingHTLC ) GetMaturityHeight ( ) uint32 {
if m != nil {
return m . MaturityHeight
}
return 0
}
func ( m * PendingHTLC ) GetBlocksTilMaturity ( ) int32 {
if m != nil {
return m . BlocksTilMaturity
}
return 0
}
func ( m * PendingHTLC ) GetStage ( ) uint32 {
if m != nil {
return m . Stage
}
return 0
}
2018-01-04 23:20:25 +03:00
type PendingChannelsRequest struct {
2016-07-08 01:24:52 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsRequest ) Reset ( ) { * m = PendingChannelsRequest { } }
func ( m * PendingChannelsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingChannelsRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PendingChannelsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 46 } }
2016-07-08 01:24:52 +03:00
2018-01-04 23:20:25 +03:00
type PendingChannelsResponse struct {
2017-08-22 10:07:25 +03:00
// / The balance in satoshis encumbered in pending channels
TotalLimboBalance int64 ` protobuf:"varint,1,opt,name=total_limbo_balance" json:"total_limbo_balance,omitempty" `
// / Channels pending opening
2018-01-04 23:20:25 +03:00
PendingOpenChannels [ ] * PendingChannelsResponse_PendingOpenChannel ` protobuf:"bytes,2,rep,name=pending_open_channels" json:"pending_open_channels,omitempty" `
2017-08-22 10:07:25 +03:00
// / Channels pending closing
2018-01-04 23:20:25 +03:00
PendingClosingChannels [ ] * PendingChannelsResponse_ClosedChannel ` protobuf:"bytes,3,rep,name=pending_closing_channels" json:"pending_closing_channels,omitempty" `
2017-08-22 10:07:25 +03:00
// / Channels pending force closing
2018-01-04 23:20:25 +03:00
PendingForceClosingChannels [ ] * PendingChannelsResponse_ForceClosedChannel ` protobuf:"bytes,4,rep,name=pending_force_closing_channels" json:"pending_force_closing_channels,omitempty" `
2016-07-08 01:24:52 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse ) Reset ( ) { * m = PendingChannelsResponse { } }
func ( m * PendingChannelsResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingChannelsResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PendingChannelsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 47 } }
2016-07-08 01:24:52 +03:00
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse ) GetTotalLimboBalance ( ) int64 {
2016-06-21 22:33:35 +03:00
if m != nil {
2017-05-05 01:34:02 +03:00
return m . TotalLimboBalance
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse ) GetPendingOpenChannels ( ) [ ] * PendingChannelsResponse_PendingOpenChannel {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . PendingOpenChannels
}
return nil
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse ) GetPendingClosingChannels ( ) [ ] * PendingChannelsResponse_ClosedChannel {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . PendingClosingChannels
}
return nil
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse ) GetPendingForceClosingChannels ( ) [ ] * PendingChannelsResponse_ForceClosedChannel {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . PendingForceClosingChannels
2016-06-21 22:33:35 +03:00
}
return nil
}
2018-01-04 23:20:25 +03:00
type PendingChannelsResponse_PendingChannel struct {
2017-05-05 01:34:02 +03:00
RemoteNodePub string ` protobuf:"bytes,1,opt,name=remote_node_pub" json:"remote_node_pub,omitempty" `
ChannelPoint string ` protobuf:"bytes,2,opt,name=channel_point" json:"channel_point,omitempty" `
Capacity int64 ` protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty" `
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-06-21 22:33:35 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingChannel ) Reset ( ) {
* m = PendingChannelsResponse_PendingChannel { }
}
func ( m * PendingChannelsResponse_PendingChannel ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingChannelsResponse_PendingChannel ) ProtoMessage ( ) { }
func ( * PendingChannelsResponse_PendingChannel ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2018-02-02 07:16:40 +03:00
return fileDescriptor0 , [ ] int { 47 , 0 }
2016-07-08 01:24:52 +03:00
}
2016-06-21 22:33:35 +03:00
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingChannel ) GetRemoteNodePub ( ) string {
2016-12-13 02:54:47 +03:00
if m != nil {
2017-05-05 01:34:02 +03:00
return m . RemoteNodePub
2016-12-13 02:54:47 +03:00
}
return ""
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingChannel ) GetChannelPoint ( ) string {
2016-12-13 02:54:47 +03:00
if m != nil {
return m . ChannelPoint
}
return ""
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingChannel ) GetCapacity ( ) int64 {
2016-12-13 02:54:47 +03:00
if m != nil {
return m . Capacity
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingChannel ) GetLocalBalance ( ) int64 {
2016-12-13 02:54:47 +03:00
if m != nil {
return m . LocalBalance
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingChannel ) GetRemoteBalance ( ) int64 {
2016-12-13 02:54:47 +03:00
if m != nil {
return m . RemoteBalance
}
return 0
}
2018-01-04 23:20:25 +03:00
type PendingChannelsResponse_PendingOpenChannel struct {
2017-08-22 10:07:25 +03:00
// / The pending channel
2018-01-04 23:20:25 +03:00
Channel * PendingChannelsResponse_PendingChannel ` protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty" `
2017-08-22 10:07:25 +03:00
// / The height at which this channel will be confirmed
ConfirmationHeight uint32 ` protobuf:"varint,2,opt,name=confirmation_height" json:"confirmation_height,omitempty" `
// *
// The amount calculated to be paid in fees for the current set of
// commitment transactions. The fee amount is persisted with the channel
// in order to allow the fee amount to be removed and recalculated with
// each channel state update, including updates that happen after a system
// restart.
CommitFee int64 ` protobuf:"varint,4,opt,name=commit_fee" json:"commit_fee,omitempty" `
// / The weight of the commitment transaction
CommitWeight int64 ` protobuf:"varint,5,opt,name=commit_weight" json:"commit_weight,omitempty" `
// *
// The required number of satoshis per kilo-weight that the requester will
// pay at all times, for both the funding transaction and commitment
// transaction. This value can later be updated once the channel is open.
FeePerKw int64 ` protobuf:"varint,6,opt,name=fee_per_kw" json:"fee_per_kw,omitempty" `
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingOpenChannel ) Reset ( ) {
* m = PendingChannelsResponse_PendingOpenChannel { }
}
func ( m * PendingChannelsResponse_PendingOpenChannel ) String ( ) string {
return proto . CompactTextString ( m )
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( * PendingChannelsResponse_PendingOpenChannel ) ProtoMessage ( ) { }
func ( * PendingChannelsResponse_PendingOpenChannel ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2018-02-02 07:16:40 +03:00
return fileDescriptor0 , [ ] int { 47 , 1 }
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingOpenChannel ) GetChannel ( ) * PendingChannelsResponse_PendingChannel {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . Channel
}
return nil
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingOpenChannel ) GetConfirmationHeight ( ) uint32 {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . ConfirmationHeight
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingOpenChannel ) GetCommitFee ( ) int64 {
2017-05-17 05:13:25 +03:00
if m != nil {
return m . CommitFee
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingOpenChannel ) GetCommitWeight ( ) int64 {
2017-05-17 05:13:25 +03:00
if m != nil {
return m . CommitWeight
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_PendingOpenChannel ) GetFeePerKw ( ) int64 {
2017-05-17 05:13:25 +03:00
if m != nil {
return m . FeePerKw
}
return 0
}
2018-01-04 23:20:25 +03:00
type PendingChannelsResponse_ClosedChannel struct {
2017-08-22 10:07:25 +03:00
// / The pending channel to be closed
2018-01-04 23:20:25 +03:00
Channel * PendingChannelsResponse_PendingChannel ` protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty" `
2017-08-22 10:07:25 +03:00
// / The transaction id of the closing transaction
ClosingTxid string ` protobuf:"bytes,2,opt,name=closing_txid" json:"closing_txid,omitempty" `
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ClosedChannel ) Reset ( ) { * m = PendingChannelsResponse_ClosedChannel { } }
func ( m * PendingChannelsResponse_ClosedChannel ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingChannelsResponse_ClosedChannel ) ProtoMessage ( ) { }
func ( * PendingChannelsResponse_ClosedChannel ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2018-02-02 07:16:40 +03:00
return fileDescriptor0 , [ ] int { 47 , 2 }
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ClosedChannel ) GetChannel ( ) * PendingChannelsResponse_PendingChannel {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . Channel
}
return nil
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ClosedChannel ) GetClosingTxid ( ) string {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . ClosingTxid
}
return ""
}
2018-01-04 23:20:25 +03:00
type PendingChannelsResponse_ForceClosedChannel struct {
2017-08-22 10:07:25 +03:00
// / The pending channel to be force closed
2018-01-04 23:20:25 +03:00
Channel * PendingChannelsResponse_PendingChannel ` protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty" `
2017-08-22 10:07:25 +03:00
// / The transaction id of the closing transaction
ClosingTxid string ` protobuf:"bytes,2,opt,name=closing_txid" json:"closing_txid,omitempty" `
// / The balance in satoshis encumbered in this pending channel
LimboBalance int64 ` protobuf:"varint,3,opt,name=limbo_balance" json:"limbo_balance,omitempty" `
// / The height at which funds can be sweeped into the wallet
MaturityHeight uint32 ` protobuf:"varint,4,opt,name=maturity_height" json:"maturity_height,omitempty" `
2017-11-09 06:27:45 +03:00
//
// Remaining # of blocks until the commitment output can be swept.
// Negative values indicate how many blocks have passed since becoming
// mature.
BlocksTilMaturity int32 ` protobuf:"varint,5,opt,name=blocks_til_maturity" json:"blocks_til_maturity,omitempty" `
// / The total value of funds successfully recovered from this channel
RecoveredBalance int64 ` protobuf:"varint,6,opt,name=recovered_balance" json:"recovered_balance,omitempty" `
PendingHtlcs [ ] * PendingHTLC ` protobuf:"bytes,8,rep,name=pending_htlcs" json:"pending_htlcs,omitempty" `
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) Reset ( ) {
* m = PendingChannelsResponse_ForceClosedChannel { }
}
func ( m * PendingChannelsResponse_ForceClosedChannel ) String ( ) string {
return proto . CompactTextString ( m )
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( * PendingChannelsResponse_ForceClosedChannel ) ProtoMessage ( ) { }
func ( * PendingChannelsResponse_ForceClosedChannel ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2018-02-02 07:16:40 +03:00
return fileDescriptor0 , [ ] int { 47 , 3 }
2017-05-05 01:34:02 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetChannel ( ) * PendingChannelsResponse_PendingChannel {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . Channel
}
return nil
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetClosingTxid ( ) string {
2016-12-13 02:54:47 +03:00
if m != nil {
return m . ClosingTxid
}
return ""
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetLimboBalance ( ) int64 {
2016-12-13 02:54:47 +03:00
if m != nil {
2017-05-05 01:34:02 +03:00
return m . LimboBalance
2016-12-13 02:54:47 +03:00
}
2017-05-05 01:34:02 +03:00
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetMaturityHeight ( ) uint32 {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . MaturityHeight
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetBlocksTilMaturity ( ) int32 {
2017-05-05 01:34:02 +03:00
if m != nil {
return m . BlocksTilMaturity
}
return 0
2016-12-13 02:54:47 +03:00
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetRecoveredBalance ( ) int64 {
2017-11-09 06:27:45 +03:00
if m != nil {
return m . RecoveredBalance
}
return 0
}
2018-01-04 23:20:25 +03:00
func ( m * PendingChannelsResponse_ForceClosedChannel ) GetPendingHtlcs ( ) [ ] * PendingHTLC {
2017-11-09 06:27:45 +03:00
if m != nil {
return m . PendingHtlcs
}
return nil
}
2016-06-21 22:33:35 +03:00
type WalletBalanceRequest struct {
2017-08-22 10:07:25 +03:00
// / If only witness outputs should be considered when calculating the wallet's balance
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * WalletBalanceRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 48 } }
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 {
2017-08-22 10:07:25 +03:00
// / The balance of the wallet
2017-11-26 16:07:55 +03:00
TotalBalance int64 ` protobuf:"varint,1,opt,name=total_balance" json:"total_balance,omitempty" `
// / The confirmed balance of a wallet(with >= 1 confirmations)
ConfirmedBalance int64 ` protobuf:"varint,2,opt,name=confirmed_balance" json:"confirmed_balance,omitempty" `
// / The unconfirmed balance of a wallet(with 0 confirmations)
UnconfirmedBalance int64 ` protobuf:"varint,3,opt,name=unconfirmed_balance" json:"unconfirmed_balance,omitempty" `
2016-06-21 22:33:35 +03:00
}
func ( m * WalletBalanceResponse ) Reset ( ) { * m = WalletBalanceResponse { } }
func ( m * WalletBalanceResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * WalletBalanceResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * WalletBalanceResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 49 } }
2015-12-31 06:02:24 +03:00
2017-11-26 16:07:55 +03:00
func ( m * WalletBalanceResponse ) GetTotalBalance ( ) int64 {
2016-12-13 02:54:47 +03:00
if m != nil {
2017-11-26 16:07:55 +03:00
return m . TotalBalance
}
return 0
}
func ( m * WalletBalanceResponse ) GetConfirmedBalance ( ) int64 {
if m != nil {
return m . ConfirmedBalance
}
return 0
}
func ( m * WalletBalanceResponse ) GetUnconfirmedBalance ( ) int64 {
if m != nil {
return m . UnconfirmedBalance
2016-12-13 02:54:47 +03:00
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelBalanceRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 50 } }
2016-09-15 21:59:51 +03:00
type ChannelBalanceResponse struct {
2017-08-22 10:07:25 +03:00
// / Sum of channels balances denominated in satoshis
2016-09-15 21:59:51 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelBalanceResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 51 } }
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-08-22 10:07:25 +03:00
// / The 33-byte hex-encoded public key for the payment destination
2017-01-13 06:40:38 +03:00
PubKey string ` protobuf:"bytes,1,opt,name=pub_key,json=pubKey" json:"pub_key,omitempty" `
2017-08-22 10:07:25 +03:00
// / The amount to send expressed in satoshis
Amt int64 ` protobuf:"varint,2,opt,name=amt" json:"amt,omitempty" `
2018-02-13 03:28:39 +03:00
// / The max number of routes to return.
NumRoutes int32 ` protobuf:"varint,3,opt,name=num_routes,json=numRoutes" json:"num_routes,omitempty" `
2016-12-27 08:45:01 +03:00
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * QueryRoutesRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 52 } }
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
}
2018-02-13 03:28:39 +03:00
func ( m * QueryRoutesRequest ) GetNumRoutes ( ) int32 {
if m != nil {
return m . NumRoutes
}
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * QueryRoutesResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 53 } }
2017-03-21 05:01:32 +03:00
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-08-22 10:07:25 +03:00
// *
// The unique channel ID for the channel. The first 3 bytes are the block
// height, the next 3 the index within the block, and the last 2 bytes are the
// output index for the channel.
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" `
2017-08-03 07:13:45 +03:00
Expiry uint32 ` protobuf:"varint,5,opt,name=expiry" json:"expiry,omitempty" `
2016-12-27 08:45:01 +03:00
}
func ( m * Hop ) Reset ( ) { * m = Hop { } }
func ( m * Hop ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * Hop ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * Hop ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 54 } }
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
}
2017-08-03 07:13:45 +03:00
func ( m * Hop ) GetExpiry ( ) uint32 {
if m != nil {
return m . Expiry
}
return 0
}
2017-08-22 10:07:25 +03:00
// *
// A path through the channel graph which runs over one or more channels in
// succession. This struct carries all the information required to craft the
// Sphinx onion packet, and send the payment along the first hop in the path. A
// route is only selected as valid if all the channels have sufficient capacity to
// carry the initial payment amount after fees are accounted for.
2016-12-27 08:45:01 +03:00
type Route struct {
2017-08-22 10:07:25 +03:00
// *
// The cumulative (final) time lock across the entire route. This is the CLTV
// value that should be extended to the first hop in the route. All other hops
// will decrement the time-lock as advertised, leaving enough time for all
// hops to wait for or present the payment preimage to complete the payment.
2017-02-28 06:03:43 +03:00
TotalTimeLock uint32 ` protobuf:"varint,1,opt,name=total_time_lock" json:"total_time_lock,omitempty" `
2017-08-22 10:07:25 +03:00
// *
// The sum of the fees paid at each hop within the final route. In the case
// of a one-hop payment, this value will be zero as we don't need to pay a fee
// it ourself.
TotalFees int64 ` protobuf:"varint,2,opt,name=total_fees" json:"total_fees,omitempty" `
// *
// The total amount of funds required to complete a payment over this route.
// This value includes the cumulative fees at each hop. As a result, the HTLC
// extended to the first-hop in the route will need to have at least this many
// satoshis, otherwise the route will fail at an intermediate node due to an
// insufficient amount of fees.
TotalAmt int64 ` protobuf:"varint,3,opt,name=total_amt" json:"total_amt,omitempty" `
// *
// Contains details concerning the specific forwarding details at each hop.
Hops [ ] * Hop ` protobuf:"bytes,4,rep,name=hops" json:"hops,omitempty" `
2016-12-27 08:45:01 +03:00
}
func ( m * Route ) Reset ( ) { * m = Route { } }
func ( m * Route ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * Route ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * Route ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 55 } }
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-08-22 10:07:25 +03:00
// / The 33-byte hex-encoded compressed public of the target node
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NodeInfoRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 56 } }
2016-12-27 08:45:01 +03:00
func ( m * NodeInfoRequest ) GetPubKey ( ) string {
if m != nil {
return m . PubKey
}
return ""
}
type NodeInfo struct {
2017-08-22 10:07:25 +03:00
// *
// An individual vertex/node within the channel graph. A node is
// connected to other nodes by one or more channel edges emanating from it. As
// the graph is directed, a node will also have an incoming edge attached to
// it for each outgoing edge.
2016-12-27 08:45:01 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NodeInfo ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 57 } }
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
}
2017-08-22 10:07:25 +03:00
// *
// An individual vertex/node within the channel graph. A node is
// connected to other nodes by one or more channel edges emanating from it. As the
// graph is directed, a node will also have an incoming edge attached to it for
// each outgoing edge.
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" `
2017-12-03 05:35:49 +03:00
Color string ` protobuf:"bytes,5,opt,name=color" json:"color,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * LightningNode ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 58 } }
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
}
2017-12-03 05:35:49 +03:00
func ( m * LightningNode ) GetColor ( ) string {
if m != nil {
return m . Color
}
return ""
}
2017-02-17 12:29:23 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NodeAddress ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 59 } }
2017-02-17 12:29:23 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * RoutingPolicy ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 60 } }
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
2017-08-22 10:07:25 +03:00
// *
// A fully authenticated channel along with all its unique attributes.
// Once an authenticated channel announcement has been processed on the network,
// then a instance of ChannelEdgeInfo encapsulating the channels attributes is
// stored. The other portions relevant to routing policy of a channel are stored
// within a ChannelEdgePolicy for each direction of the channel.
2016-12-27 08:45:01 +03:00
type ChannelEdge struct {
2017-08-22 10:07:25 +03:00
// *
// The unique channel ID for the channel. The first 3 bytes are the block
// height, the next 3 the index within the block, and the last 2 bytes are the
// output index for the channel.
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelEdge ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 61 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelGraphRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 62 } }
2016-12-27 08:45:01 +03:00
2017-08-22 10:07:25 +03:00
// / Returns a new instance of the directed channel graph.
2016-12-27 08:45:01 +03:00
type ChannelGraph struct {
2017-08-22 10:07:25 +03:00
// / The list of `LightningNode`s in this channel graph
2016-12-27 08:45:01 +03:00
Nodes [ ] * LightningNode ` protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty" `
2017-08-22 10:07:25 +03:00
// / The list of `ChannelEdge`s in this channel graph
Edges [ ] * ChannelEdge ` protobuf:"bytes,2,rep,name=edges" json:"edges,omitempty" `
2016-12-27 08:45:01 +03:00
}
func ( m * ChannelGraph ) Reset ( ) { * m = ChannelGraph { } }
func ( m * ChannelGraph ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ChannelGraph ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelGraph ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 63 } }
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-08-22 10:07:25 +03:00
// *
// The unique channel ID for the channel. The first 3 bytes are the block
// height, the next 3 the index within the block, and the last 2 bytes are the
// output index for the channel.
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChanInfoRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 64 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NetworkInfoRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 65 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NetworkInfo ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 66 } }
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-05-12 00:55:56 +03:00
type StopRequest struct {
}
func ( m * StopRequest ) Reset ( ) { * m = StopRequest { } }
func ( m * StopRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * StopRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * StopRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 67 } }
2017-05-12 00:55:56 +03:00
type StopResponse struct {
}
func ( m * StopResponse ) Reset ( ) { * m = StopResponse { } }
func ( m * StopResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * StopResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * StopResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 68 } }
2017-05-12 00:55:56 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * GraphTopologySubscription ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 69 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * GraphTopologyUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 70 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * NodeUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 71 } }
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 {
2017-08-22 10:07:25 +03:00
// *
// The unique channel ID for the channel. The first 3 bytes are the block
// height, the next 3 the index within the block, and the last 2 bytes are the
// output index for the channel.
2017-03-14 06:37:25 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelEdgeUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 72 } }
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 {
2017-08-22 10:07:25 +03:00
// *
// The unique channel ID for the channel. The first 3 bytes are the block
// height, the next 3 the index within the block, and the last 2 bytes are the
// output index for the channel.
2017-03-14 06:37:25 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ClosedChannelUpdate ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 73 } }
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-09-19 21:52:23 +03:00
type Invoice struct {
2017-09-05 19:01:01 +03:00
// *
// An optional memo to attach along with the invoice. Used for record keeping
// purposes for the invoice's creator, and will also be set in the description
// field of the encoded payment request if the description_hash field is not
// being used.
2017-08-22 10:07:25 +03:00
Memo string ` protobuf:"bytes,1,opt,name=memo" json:"memo,omitempty" `
// / An optional cryptographic receipt of payment
Receipt [ ] byte ` protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty" `
// *
// The hex-encoded preimage (32 byte) which will allow settling an incoming
// HTLC payable to this preimage
RPreimage [ ] byte ` protobuf:"bytes,3,opt,name=r_preimage,proto3" json:"r_preimage,omitempty" `
// / The hash of the preimage
RHash [ ] byte ` protobuf:"bytes,4,opt,name=r_hash,proto3" json:"r_hash,omitempty" `
// / The value of this invoice in satoshis
Value int64 ` protobuf:"varint,5,opt,name=value" json:"value,omitempty" `
// / Whether this invoice has been fulfilled
Settled bool ` protobuf:"varint,6,opt,name=settled" json:"settled,omitempty" `
// / When this invoice was created
CreationDate int64 ` protobuf:"varint,7,opt,name=creation_date" json:"creation_date,omitempty" `
// / When this invoice was settled
SettleDate int64 ` protobuf:"varint,8,opt,name=settle_date" json:"settle_date,omitempty" `
// *
// A bare-bones invoice for a payment within the Lightning Network. With the
// details of the invoice, the sender has all the data necessary to send a
// payment to the recipient.
2017-02-28 06:03:43 +03:00
PaymentRequest string ` protobuf:"bytes,9,opt,name=payment_request" json:"payment_request,omitempty" `
2017-09-05 19:01:01 +03:00
// *
// Hash (SHA-256) of a description of the payment. Used if the description of
// payment (memo) is too long to naturally fit within the description field
// of an encoded payment request.
DescriptionHash [ ] byte ` protobuf:"bytes,10,opt,name=description_hash,proto3" json:"description_hash,omitempty" `
// / Payment request expiry time in seconds. Default is 3600 (1 hour).
Expiry int64 ` protobuf:"varint,11,opt,name=expiry" json:"expiry,omitempty" `
// / Fallback on-chain address.
FallbackAddr string ` protobuf:"bytes,12,opt,name=fallback_addr" json:"fallback_addr,omitempty" `
2017-10-19 08:13:40 +03:00
// / Delta to use for the time-lock of the CLTV extended to the final hop.
CltvExpiry uint64 ` protobuf:"varint,13,opt,name=cltv_expiry" json:"cltv_expiry,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * Invoice ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 74 } }
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 ""
}
2017-09-05 19:01:01 +03:00
func ( m * Invoice ) GetDescriptionHash ( ) [ ] byte {
if m != nil {
return m . DescriptionHash
}
return nil
}
func ( m * Invoice ) GetExpiry ( ) int64 {
if m != nil {
return m . Expiry
}
return 0
}
func ( m * Invoice ) GetFallbackAddr ( ) string {
if m != nil {
return m . FallbackAddr
}
return ""
}
2017-10-19 08:13:40 +03:00
func ( m * Invoice ) GetCltvExpiry ( ) uint64 {
if m != nil {
return m . CltvExpiry
}
return 0
}
2016-09-19 21:52:23 +03:00
type AddInvoiceResponse struct {
2017-08-22 10:07:25 +03:00
RHash [ ] byte ` protobuf:"bytes,1,opt,name=r_hash,proto3" json:"r_hash,omitempty" `
// *
// A bare-bones invoice for a payment within the Lightning Network. With the
// details of the invoice, the sender has all the data necessary to send a
// payment to the recipient.
2017-02-28 06:03:43 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * AddInvoiceResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 75 } }
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-08-22 10:07:25 +03:00
// *
// The hex-encoded payment hash of the invoice to be looked up. The passed
// payment hash must be exactly 32 bytes, otherwise an error is returned.
2017-02-28 06:03:43 +03:00
RHashStr string ` protobuf:"bytes,1,opt,name=r_hash_str" json:"r_hash_str,omitempty" `
2017-08-22 10:07:25 +03:00
// / The payment hash of the invoice to be looked up.
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PaymentHash ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 76 } }
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-08-22 10:07:25 +03:00
// / Toggles if all invoices should be returned, or only those that are currently unsettled.
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListInvoiceRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 77 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListInvoiceResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 78 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * InvoiceSubscription ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 79 } }
2016-10-16 00:38:47 +03:00
2016-12-05 14:59:36 +03:00
type Payment struct {
2017-08-22 10:07:25 +03:00
// / The payment hash
PaymentHash string ` protobuf:"bytes,1,opt,name=payment_hash" json:"payment_hash,omitempty" `
// / The value of the payment in satoshis
Value int64 ` protobuf:"varint,2,opt,name=value" json:"value,omitempty" `
// / The date of this payment
CreationDate int64 ` protobuf:"varint,3,opt,name=creation_date" json:"creation_date,omitempty" `
// / The path this payment took
Path [ ] string ` protobuf:"bytes,4,rep,name=path" json:"path,omitempty" `
// / The fee paid for this payment in satoshis
Fee int64 ` protobuf:"varint,5,opt,name=fee" json:"fee,omitempty" `
2017-12-14 04:04:18 +03:00
// / The payment preimage
PaymentPreimage string ` protobuf:"bytes,6,opt,name=payment_preimage" json:"payment_preimage,omitempty" `
2016-12-05 14:59:36 +03:00
}
func ( m * Payment ) Reset ( ) { * m = Payment { } }
func ( m * Payment ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * Payment ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * Payment ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 80 } }
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
}
2017-12-14 04:04:18 +03:00
func ( m * Payment ) GetPaymentPreimage ( ) string {
if m != nil {
return m . PaymentPreimage
}
return ""
}
2016-12-05 14:59:36 +03:00
type ListPaymentsRequest struct {
}
func ( m * ListPaymentsRequest ) Reset ( ) { * m = ListPaymentsRequest { } }
func ( m * ListPaymentsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListPaymentsRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListPaymentsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 81 } }
2016-12-05 14:59:36 +03:00
type ListPaymentsResponse struct {
2017-08-22 10:07:25 +03:00
// / The list of payments
2016-12-05 14:59:36 +03:00
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ListPaymentsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 82 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * DeleteAllPaymentsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 83 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * DeleteAllPaymentsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 84 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * DebugLevelRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 85 } }
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * DebugLevelResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 86 } }
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-08-22 10:07:25 +03:00
// / The payment request string to be decoded
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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PayReqString ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 87 } }
2017-01-18 00:24:55 +03:00
func ( m * PayReqString ) GetPayReq ( ) string {
if m != nil {
return m . PayReq
}
return ""
}
type PayReq struct {
2017-09-05 19:01:01 +03:00
Destination string ` protobuf:"bytes,1,opt,name=destination" json:"destination,omitempty" `
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" `
Timestamp int64 ` protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty" `
Expiry int64 ` protobuf:"varint,5,opt,name=expiry" json:"expiry,omitempty" `
Description string ` protobuf:"bytes,6,opt,name=description" json:"description,omitempty" `
DescriptionHash string ` protobuf:"bytes,7,opt,name=description_hash" json:"description_hash,omitempty" `
FallbackAddr string ` protobuf:"bytes,8,opt,name=fallback_addr" json:"fallback_addr,omitempty" `
2017-10-19 08:13:40 +03:00
CltvExpiry int64 ` protobuf:"varint,9,opt,name=cltv_expiry" json:"cltv_expiry,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 ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PayReq ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 88 } }
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
}
2017-09-05 19:01:01 +03:00
func ( m * PayReq ) GetTimestamp ( ) int64 {
if m != nil {
return m . Timestamp
}
return 0
}
func ( m * PayReq ) GetExpiry ( ) int64 {
if m != nil {
return m . Expiry
}
return 0
}
func ( m * PayReq ) GetDescription ( ) string {
if m != nil {
return m . Description
}
return ""
}
func ( m * PayReq ) GetDescriptionHash ( ) string {
if m != nil {
return m . DescriptionHash
}
return ""
}
func ( m * PayReq ) GetFallbackAddr ( ) string {
if m != nil {
return m . FallbackAddr
}
return ""
}
2017-10-19 08:13:40 +03:00
func ( m * PayReq ) GetCltvExpiry ( ) int64 {
if m != nil {
return m . CltvExpiry
}
return 0
}
2017-08-22 10:07:25 +03:00
type FeeReportRequest struct {
}
func ( m * FeeReportRequest ) Reset ( ) { * m = FeeReportRequest { } }
func ( m * FeeReportRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * FeeReportRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * FeeReportRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 89 } }
2017-08-22 10:07:25 +03:00
type ChannelFeeReport struct {
// / The channel that this fee report belongs to.
ChanPoint string ` protobuf:"bytes,1,opt,name=chan_point,json=channel_point" json:"chan_point,omitempty" `
// / The base fee charged regardless of the number of milli-satoshis sent.
BaseFeeMsat int64 ` protobuf:"varint,2,opt,name=base_fee_msat" json:"base_fee_msat,omitempty" `
// / The amount charged per milli-satoshis transferred expressed in millionths of a satoshi.
FeePerMil int64 ` protobuf:"varint,3,opt,name=fee_per_mil" json:"fee_per_mil,omitempty" `
// / The effective fee rate in milli-satoshis. Computed by dividing the fee_per_mil value by 1 million.
FeeRate float64 ` protobuf:"fixed64,4,opt,name=fee_rate" json:"fee_rate,omitempty" `
}
func ( m * ChannelFeeReport ) Reset ( ) { * m = ChannelFeeReport { } }
func ( m * ChannelFeeReport ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ChannelFeeReport ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * ChannelFeeReport ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 90 } }
2017-08-22 10:07:25 +03:00
func ( m * ChannelFeeReport ) GetChanPoint ( ) string {
if m != nil {
return m . ChanPoint
}
return ""
}
func ( m * ChannelFeeReport ) GetBaseFeeMsat ( ) int64 {
if m != nil {
return m . BaseFeeMsat
}
return 0
}
func ( m * ChannelFeeReport ) GetFeePerMil ( ) int64 {
if m != nil {
return m . FeePerMil
}
return 0
}
func ( m * ChannelFeeReport ) GetFeeRate ( ) float64 {
if m != nil {
return m . FeeRate
}
return 0
}
type FeeReportResponse struct {
// / An array of channel fee reports which describes the current fee schedule for each channel.
ChannelFees [ ] * ChannelFeeReport ` protobuf:"bytes,1,rep,name=channel_fees" json:"channel_fees,omitempty" `
2018-02-28 09:22:06 +03:00
// / The total amount of fee revenue (in satoshis) the switch has collected over the past 24 hrs.
DayFeeSum uint64 ` protobuf:"varint,2,opt,name=day_fee_sum" json:"day_fee_sum,omitempty" `
// / The total amount of fee revenue (in satoshis) the switch has collected over the past 1 week.
WeekFeeSum uint64 ` protobuf:"varint,3,opt,name=week_fee_sum" json:"week_fee_sum,omitempty" `
// / The total amount of fee revenue (in satoshis) the switch has collected over the past 1 month.
MonthFeeSum uint64 ` protobuf:"varint,4,opt,name=month_fee_sum" json:"month_fee_sum,omitempty" `
2017-08-22 10:07:25 +03:00
}
func ( m * FeeReportResponse ) Reset ( ) { * m = FeeReportResponse { } }
func ( m * FeeReportResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * FeeReportResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * FeeReportResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 91 } }
2017-08-22 10:07:25 +03:00
func ( m * FeeReportResponse ) GetChannelFees ( ) [ ] * ChannelFeeReport {
if m != nil {
return m . ChannelFees
}
return nil
}
2018-02-28 09:22:06 +03:00
func ( m * FeeReportResponse ) GetDayFeeSum ( ) uint64 {
if m != nil {
return m . DayFeeSum
}
return 0
}
func ( m * FeeReportResponse ) GetWeekFeeSum ( ) uint64 {
if m != nil {
return m . WeekFeeSum
}
return 0
}
func ( m * FeeReportResponse ) GetMonthFeeSum ( ) uint64 {
if m != nil {
return m . MonthFeeSum
}
return 0
}
2017-12-16 00:11:23 +03:00
type PolicyUpdateRequest struct {
2017-08-22 10:07:25 +03:00
// Types that are valid to be assigned to Scope:
2017-12-16 00:11:23 +03:00
// *PolicyUpdateRequest_Global
// *PolicyUpdateRequest_ChanPoint
Scope isPolicyUpdateRequest_Scope ` protobuf_oneof:"scope" `
2017-08-22 10:07:25 +03:00
// / The base fee charged regardless of the number of milli-satoshis sent.
BaseFeeMsat int64 ` protobuf:"varint,3,opt,name=base_fee_msat" json:"base_fee_msat,omitempty" `
// / The effective fee rate in milli-satoshis. The precision of this value goes up to 6 decimal places, so 1e-6.
FeeRate float64 ` protobuf:"fixed64,4,opt,name=fee_rate" json:"fee_rate,omitempty" `
2017-12-16 00:11:23 +03:00
// / The required timelock delta for HTLCs forwarded over the channel.
TimeLockDelta uint32 ` protobuf:"varint,5,opt,name=time_lock_delta" json:"time_lock_delta,omitempty" `
2017-08-22 10:07:25 +03:00
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) Reset ( ) { * m = PolicyUpdateRequest { } }
func ( m * PolicyUpdateRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PolicyUpdateRequest ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PolicyUpdateRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 92 } }
2017-08-22 10:07:25 +03:00
2017-12-16 00:11:23 +03:00
type isPolicyUpdateRequest_Scope interface {
isPolicyUpdateRequest_Scope ( )
2017-08-22 10:07:25 +03:00
}
2017-12-16 00:11:23 +03:00
type PolicyUpdateRequest_Global struct {
2017-08-22 10:07:25 +03:00
Global bool ` protobuf:"varint,1,opt,name=global,oneof" `
}
2017-12-16 00:11:23 +03:00
type PolicyUpdateRequest_ChanPoint struct {
2017-08-22 10:07:25 +03:00
ChanPoint * ChannelPoint ` protobuf:"bytes,2,opt,name=chan_point,oneof" `
}
2017-12-16 00:11:23 +03:00
func ( * PolicyUpdateRequest_Global ) isPolicyUpdateRequest_Scope ( ) { }
func ( * PolicyUpdateRequest_ChanPoint ) isPolicyUpdateRequest_Scope ( ) { }
2017-08-22 10:07:25 +03:00
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) GetScope ( ) isPolicyUpdateRequest_Scope {
2017-08-22 10:07:25 +03:00
if m != nil {
return m . Scope
}
return nil
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) GetGlobal ( ) bool {
if x , ok := m . GetScope ( ) . ( * PolicyUpdateRequest_Global ) ; ok {
2017-08-22 10:07:25 +03:00
return x . Global
}
return false
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) GetChanPoint ( ) * ChannelPoint {
if x , ok := m . GetScope ( ) . ( * PolicyUpdateRequest_ChanPoint ) ; ok {
2017-08-22 10:07:25 +03:00
return x . ChanPoint
}
return nil
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) GetBaseFeeMsat ( ) int64 {
2017-08-22 10:07:25 +03:00
if m != nil {
return m . BaseFeeMsat
}
return 0
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) GetFeeRate ( ) float64 {
2017-08-22 10:07:25 +03:00
if m != nil {
return m . FeeRate
}
return 0
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateRequest ) GetTimeLockDelta ( ) uint32 {
if m != nil {
return m . TimeLockDelta
}
return 0
}
2017-08-22 10:07:25 +03:00
// XXX_OneofFuncs is for the internal use of the proto package.
2017-12-16 00:11:23 +03:00
func ( * PolicyUpdateRequest ) 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 _PolicyUpdateRequest_OneofMarshaler , _PolicyUpdateRequest_OneofUnmarshaler , _PolicyUpdateRequest_OneofSizer , [ ] interface { } {
( * PolicyUpdateRequest_Global ) ( nil ) ,
( * PolicyUpdateRequest_ChanPoint ) ( nil ) ,
2017-08-22 10:07:25 +03:00
}
}
2017-12-16 00:11:23 +03:00
func _PolicyUpdateRequest_OneofMarshaler ( msg proto . Message , b * proto . Buffer ) error {
m := msg . ( * PolicyUpdateRequest )
2017-08-22 10:07:25 +03:00
// scope
switch x := m . Scope . ( type ) {
2017-12-16 00:11:23 +03:00
case * PolicyUpdateRequest_Global :
2017-08-22 10:07:25 +03:00
t := uint64 ( 0 )
if x . Global {
t = 1
}
b . EncodeVarint ( 1 << 3 | proto . WireVarint )
b . EncodeVarint ( t )
2017-12-16 00:11:23 +03:00
case * PolicyUpdateRequest_ChanPoint :
2017-08-22 10:07:25 +03:00
b . EncodeVarint ( 2 << 3 | proto . WireBytes )
if err := b . EncodeMessage ( x . ChanPoint ) ; err != nil {
return err
}
case nil :
default :
2017-12-16 00:11:23 +03:00
return fmt . Errorf ( "PolicyUpdateRequest.Scope has unexpected type %T" , x )
2017-08-22 10:07:25 +03:00
}
return nil
}
2017-12-16 00:11:23 +03:00
func _PolicyUpdateRequest_OneofUnmarshaler ( msg proto . Message , tag , wire int , b * proto . Buffer ) ( bool , error ) {
m := msg . ( * PolicyUpdateRequest )
2017-08-22 10:07:25 +03:00
switch tag {
case 1 : // scope.global
if wire != proto . WireVarint {
return true , proto . ErrInternalBadWireType
}
x , err := b . DecodeVarint ( )
2017-12-16 00:11:23 +03:00
m . Scope = & PolicyUpdateRequest_Global { x != 0 }
2017-08-22 10:07:25 +03:00
return true , err
case 2 : // scope.chan_point
if wire != proto . WireBytes {
return true , proto . ErrInternalBadWireType
}
msg := new ( ChannelPoint )
err := b . DecodeMessage ( msg )
2017-12-16 00:11:23 +03:00
m . Scope = & PolicyUpdateRequest_ChanPoint { msg }
2017-08-22 10:07:25 +03:00
return true , err
default :
return false , nil
}
}
2017-12-16 00:11:23 +03:00
func _PolicyUpdateRequest_OneofSizer ( msg proto . Message ) ( n int ) {
m := msg . ( * PolicyUpdateRequest )
2017-08-22 10:07:25 +03:00
// scope
switch x := m . Scope . ( type ) {
2017-12-16 00:11:23 +03:00
case * PolicyUpdateRequest_Global :
2017-08-22 10:07:25 +03:00
n += proto . SizeVarint ( 1 << 3 | proto . WireVarint )
n += 1
2017-12-16 00:11:23 +03:00
case * PolicyUpdateRequest_ChanPoint :
2017-08-22 10:07:25 +03:00
s := proto . Size ( x . ChanPoint )
n += proto . SizeVarint ( 2 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( s ) )
n += s
case nil :
default :
panic ( fmt . Sprintf ( "proto: unexpected type %T in oneof" , x ) )
}
return n
}
2017-12-16 00:11:23 +03:00
type PolicyUpdateResponse struct {
2017-08-22 10:07:25 +03:00
}
2017-12-16 00:11:23 +03:00
func ( m * PolicyUpdateResponse ) Reset ( ) { * m = PolicyUpdateResponse { } }
func ( m * PolicyUpdateResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PolicyUpdateResponse ) ProtoMessage ( ) { }
2018-02-02 07:16:40 +03:00
func ( * PolicyUpdateResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 93 } }
2017-08-22 10:07:25 +03:00
2018-02-28 09:22:06 +03:00
type ForwardingHistoryRequest struct {
// / Start time is the starting point of the forwarding history request. All records beyond this point will be included, respecting the end time, and the index offset.
StartTime uint64 ` protobuf:"varint,1,opt,name=start_time" json:"start_time,omitempty" `
// / End time is the end point of the forwarding history request. The response will carry at most 50k records between the start time and the end time. The index offset can be used to implement pagination.
EndTime uint64 ` protobuf:"varint,2,opt,name=end_time" json:"end_time,omitempty" `
// / Index offset is the offset in the time series to start at. As each response can only contain 50k records, callers can use this to skip around within a packed time series.
IndexOffset uint32 ` protobuf:"varint,3,opt,name=index_offset" json:"index_offset,omitempty" `
// / The max number of events to return in the response to this query.
NumMaxEvents uint32 ` protobuf:"varint,4,opt,name=num_max_events" json:"num_max_events,omitempty" `
}
func ( m * ForwardingHistoryRequest ) Reset ( ) { * m = ForwardingHistoryRequest { } }
func ( m * ForwardingHistoryRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ForwardingHistoryRequest ) ProtoMessage ( ) { }
func ( * ForwardingHistoryRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 94 } }
func ( m * ForwardingHistoryRequest ) GetStartTime ( ) uint64 {
if m != nil {
return m . StartTime
}
return 0
}
func ( m * ForwardingHistoryRequest ) GetEndTime ( ) uint64 {
if m != nil {
return m . EndTime
}
return 0
}
func ( m * ForwardingHistoryRequest ) GetIndexOffset ( ) uint32 {
if m != nil {
return m . IndexOffset
}
return 0
}
func ( m * ForwardingHistoryRequest ) GetNumMaxEvents ( ) uint32 {
if m != nil {
return m . NumMaxEvents
}
return 0
}
type ForwardingEvent struct {
// / Timestamp is the time (unix epoch offset) that this circuit was completed.
Timestamp uint64 ` protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty" `
// / The incoming channel ID that carried the HTLC that created the circuit.
ChanIdIn uint64 ` protobuf:"varint,2,opt,name=chan_id_in" json:"chan_id_in,omitempty" `
// / The outgoing channel ID that carried the preimage that completed the circuit.
ChanIdOut uint64 ` protobuf:"varint,4,opt,name=chan_id_out" json:"chan_id_out,omitempty" `
// / The total amount of the incoming HTLC that created half the circuit.
AmtIn uint64 ` protobuf:"varint,5,opt,name=amt_in" json:"amt_in,omitempty" `
// / The total amount of the outgoign HTLC that created the second half of the circuit.
AmtOut uint64 ` protobuf:"varint,6,opt,name=amt_out" json:"amt_out,omitempty" `
// / The total fee that this payment circuit carried.
Fee uint64 ` protobuf:"varint,7,opt,name=fee" json:"fee,omitempty" `
}
func ( m * ForwardingEvent ) Reset ( ) { * m = ForwardingEvent { } }
func ( m * ForwardingEvent ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ForwardingEvent ) ProtoMessage ( ) { }
func ( * ForwardingEvent ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 95 } }
func ( m * ForwardingEvent ) GetTimestamp ( ) uint64 {
if m != nil {
return m . Timestamp
}
return 0
}
func ( m * ForwardingEvent ) GetChanIdIn ( ) uint64 {
if m != nil {
return m . ChanIdIn
}
return 0
}
func ( m * ForwardingEvent ) GetChanIdOut ( ) uint64 {
if m != nil {
return m . ChanIdOut
}
return 0
}
func ( m * ForwardingEvent ) GetAmtIn ( ) uint64 {
if m != nil {
return m . AmtIn
}
return 0
}
func ( m * ForwardingEvent ) GetAmtOut ( ) uint64 {
if m != nil {
return m . AmtOut
}
return 0
}
func ( m * ForwardingEvent ) GetFee ( ) uint64 {
if m != nil {
return m . Fee
}
return 0
}
type ForwardingHistoryResponse struct {
// / A list of forwarding events from the time slice of the time series specified in the request.
ForwardingEvents [ ] * ForwardingEvent ` protobuf:"bytes,1,rep,name=forwarding_events" json:"forwarding_events,omitempty" `
// / The index of the last time in the set of returned forwarding events. Can be used to seek further, pagination style.
LastOffsetIndex uint32 ` protobuf:"varint,2,opt,name=last_offset_index" json:"last_offset_index,omitempty" `
}
func ( m * ForwardingHistoryResponse ) Reset ( ) { * m = ForwardingHistoryResponse { } }
func ( m * ForwardingHistoryResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ForwardingHistoryResponse ) ProtoMessage ( ) { }
func ( * ForwardingHistoryResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 96 } }
func ( m * ForwardingHistoryResponse ) GetForwardingEvents ( ) [ ] * ForwardingEvent {
if m != nil {
return m . ForwardingEvents
}
return nil
}
func ( m * ForwardingHistoryResponse ) GetLastOffsetIndex ( ) uint32 {
if m != nil {
return m . LastOffsetIndex
}
return 0
}
2015-12-30 23:19:09 +03:00
func init ( ) {
2018-02-02 07:16:40 +03:00
proto . RegisterType ( ( * GenSeedRequest ) ( nil ) , "lnrpc.GenSeedRequest" )
proto . RegisterType ( ( * GenSeedResponse ) ( nil ) , "lnrpc.GenSeedResponse" )
proto . RegisterType ( ( * InitWalletRequest ) ( nil ) , "lnrpc.InitWalletRequest" )
proto . RegisterType ( ( * InitWalletResponse ) ( nil ) , "lnrpc.InitWalletResponse" )
2017-10-12 12:10:29 +03:00
proto . RegisterType ( ( * UnlockWalletRequest ) ( nil ) , "lnrpc.UnlockWalletRequest" )
proto . RegisterType ( ( * UnlockWalletResponse ) ( nil ) , "lnrpc.UnlockWalletResponse" )
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" )
2017-04-20 05:28:10 +03:00
proto . RegisterType ( ( * SignMessageRequest ) ( nil ) , "lnrpc.SignMessageRequest" )
proto . RegisterType ( ( * SignMessageResponse ) ( nil ) , "lnrpc.SignMessageResponse" )
proto . RegisterType ( ( * VerifyMessageRequest ) ( nil ) , "lnrpc.VerifyMessageRequest" )
proto . RegisterType ( ( * VerifyMessageResponse ) ( nil ) , "lnrpc.VerifyMessageResponse" )
2016-01-17 06:03:47 +03:00
proto . RegisterType ( ( * ConnectPeerRequest ) ( nil ) , "lnrpc.ConnectPeerRequest" )
proto . RegisterType ( ( * ConnectPeerResponse ) ( nil ) , "lnrpc.ConnectPeerResponse" )
2017-04-12 00:49:39 +03:00
proto . RegisterType ( ( * DisconnectPeerRequest ) ( nil ) , "lnrpc.DisconnectPeerRequest" )
proto . RegisterType ( ( * DisconnectPeerResponse ) ( nil ) , "lnrpc.DisconnectPeerResponse" )
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" )
2017-11-09 06:27:45 +03:00
proto . RegisterType ( ( * PendingHTLC ) ( nil ) , "lnrpc.PendingHTLC" )
2018-01-04 23:20:25 +03:00
proto . RegisterType ( ( * PendingChannelsRequest ) ( nil ) , "lnrpc.PendingChannelsRequest" )
proto . RegisterType ( ( * PendingChannelsResponse ) ( nil ) , "lnrpc.PendingChannelsResponse" )
proto . RegisterType ( ( * PendingChannelsResponse_PendingChannel ) ( nil ) , "lnrpc.PendingChannelsResponse.PendingChannel" )
proto . RegisterType ( ( * PendingChannelsResponse_PendingOpenChannel ) ( nil ) , "lnrpc.PendingChannelsResponse.PendingOpenChannel" )
proto . RegisterType ( ( * PendingChannelsResponse_ClosedChannel ) ( nil ) , "lnrpc.PendingChannelsResponse.ClosedChannel" )
proto . RegisterType ( ( * PendingChannelsResponse_ForceClosedChannel ) ( nil ) , "lnrpc.PendingChannelsResponse.ForceClosedChannel" )
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-05-12 00:55:56 +03:00
proto . RegisterType ( ( * StopRequest ) ( nil ) , "lnrpc.StopRequest" )
proto . RegisterType ( ( * StopResponse ) ( nil ) , "lnrpc.StopResponse" )
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-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" )
2017-08-22 10:07:25 +03:00
proto . RegisterType ( ( * FeeReportRequest ) ( nil ) , "lnrpc.FeeReportRequest" )
proto . RegisterType ( ( * ChannelFeeReport ) ( nil ) , "lnrpc.ChannelFeeReport" )
proto . RegisterType ( ( * FeeReportResponse ) ( nil ) , "lnrpc.FeeReportResponse" )
2017-12-16 00:11:23 +03:00
proto . RegisterType ( ( * PolicyUpdateRequest ) ( nil ) , "lnrpc.PolicyUpdateRequest" )
proto . RegisterType ( ( * PolicyUpdateResponse ) ( nil ) , "lnrpc.PolicyUpdateResponse" )
2018-02-28 09:22:06 +03:00
proto . RegisterType ( ( * ForwardingHistoryRequest ) ( nil ) , "lnrpc.ForwardingHistoryRequest" )
proto . RegisterType ( ( * ForwardingEvent ) ( nil ) , "lnrpc.ForwardingEvent" )
proto . RegisterType ( ( * ForwardingHistoryResponse ) ( nil ) , "lnrpc.ForwardingHistoryResponse" )
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
2017-10-12 12:10:29 +03:00
// Client API for WalletUnlocker service
type WalletUnlockerClient interface {
2018-02-02 07:16:40 +03:00
// *
// GenSeed is the first method that should be used to instantiate a new lnd
// instance. This method allows a caller to generate a new aezeed cipher seed
// given an optional passphrase. If provided, the passphrase will be necessary
// to decrypt the cipherseed to expose the internal wallet seed.
//
// Once the cipherseed is obtained and verified by the user, the InitWallet
// method should be used to commit the newly generated seed, and create the
// wallet.
GenSeed ( ctx context . Context , in * GenSeedRequest , opts ... grpc . CallOption ) ( * GenSeedResponse , error )
// * lncli: `init`
// InitWallet is used when lnd is starting up for the first time to fully
// initialize the daemon and its internal wallet. At the very least a wallet
// password must be provided. This will be used to encrypt sensitive material
// on disk.
//
// In the case of a recovery scenario, the user can also specify their aezeed
// mnemonic and passphrase. If set, then the daemon will use this prior state
// to initialize its internal wallet.
//
// Alternatively, this can be used along with the GenSeed RPC to obtain a
// seed, then present it to the user. Once it has been verified by the user,
// the seed can be fed into this RPC in order to commit the new wallet.
InitWallet ( ctx context . Context , in * InitWalletRequest , opts ... grpc . CallOption ) ( * InitWalletResponse , error )
2017-10-12 12:10:29 +03:00
// * lncli: `unlock`
// UnlockWallet is used at startup of lnd to provide a password to unlock
// the wallet database.
UnlockWallet ( ctx context . Context , in * UnlockWalletRequest , opts ... grpc . CallOption ) ( * UnlockWalletResponse , error )
}
type walletUnlockerClient struct {
cc * grpc . ClientConn
}
func NewWalletUnlockerClient ( cc * grpc . ClientConn ) WalletUnlockerClient {
return & walletUnlockerClient { cc }
}
2018-02-02 07:16:40 +03:00
func ( c * walletUnlockerClient ) GenSeed ( ctx context . Context , in * GenSeedRequest , opts ... grpc . CallOption ) ( * GenSeedResponse , error ) {
out := new ( GenSeedResponse )
err := grpc . Invoke ( ctx , "/lnrpc.WalletUnlocker/GenSeed" , in , out , c . cc , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletUnlockerClient ) InitWallet ( ctx context . Context , in * InitWalletRequest , opts ... grpc . CallOption ) ( * InitWalletResponse , error ) {
out := new ( InitWalletResponse )
err := grpc . Invoke ( ctx , "/lnrpc.WalletUnlocker/InitWallet" , in , out , c . cc , opts ... )
2017-10-12 12:10:29 +03:00
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletUnlockerClient ) UnlockWallet ( ctx context . Context , in * UnlockWalletRequest , opts ... grpc . CallOption ) ( * UnlockWalletResponse , error ) {
out := new ( UnlockWalletResponse )
err := grpc . Invoke ( ctx , "/lnrpc.WalletUnlocker/UnlockWallet" , in , out , c . cc , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
// Server API for WalletUnlocker service
type WalletUnlockerServer interface {
2018-02-02 07:16:40 +03:00
// *
// GenSeed is the first method that should be used to instantiate a new lnd
// instance. This method allows a caller to generate a new aezeed cipher seed
// given an optional passphrase. If provided, the passphrase will be necessary
// to decrypt the cipherseed to expose the internal wallet seed.
//
// Once the cipherseed is obtained and verified by the user, the InitWallet
// method should be used to commit the newly generated seed, and create the
// wallet.
GenSeed ( context . Context , * GenSeedRequest ) ( * GenSeedResponse , error )
// * lncli: `init`
// InitWallet is used when lnd is starting up for the first time to fully
// initialize the daemon and its internal wallet. At the very least a wallet
// password must be provided. This will be used to encrypt sensitive material
// on disk.
//
// In the case of a recovery scenario, the user can also specify their aezeed
// mnemonic and passphrase. If set, then the daemon will use this prior state
// to initialize its internal wallet.
//
// Alternatively, this can be used along with the GenSeed RPC to obtain a
// seed, then present it to the user. Once it has been verified by the user,
// the seed can be fed into this RPC in order to commit the new wallet.
InitWallet ( context . Context , * InitWalletRequest ) ( * InitWalletResponse , error )
2017-10-12 12:10:29 +03:00
// * lncli: `unlock`
// UnlockWallet is used at startup of lnd to provide a password to unlock
// the wallet database.
UnlockWallet ( context . Context , * UnlockWalletRequest ) ( * UnlockWalletResponse , error )
}
func RegisterWalletUnlockerServer ( s * grpc . Server , srv WalletUnlockerServer ) {
s . RegisterService ( & _WalletUnlocker_serviceDesc , srv )
}
2018-02-02 07:16:40 +03:00
func _WalletUnlocker_GenSeed_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GenSeedRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletUnlockerServer ) . GenSeed ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.WalletUnlocker/GenSeed" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletUnlockerServer ) . GenSeed ( ctx , req . ( * GenSeedRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletUnlocker_InitWallet_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( InitWalletRequest )
2017-10-12 12:10:29 +03:00
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
2018-02-02 07:16:40 +03:00
return srv . ( WalletUnlockerServer ) . InitWallet ( ctx , in )
2017-10-12 12:10:29 +03:00
}
info := & grpc . UnaryServerInfo {
Server : srv ,
2018-02-02 07:16:40 +03:00
FullMethod : "/lnrpc.WalletUnlocker/InitWallet" ,
2017-10-12 12:10:29 +03:00
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
2018-02-02 07:16:40 +03:00
return srv . ( WalletUnlockerServer ) . InitWallet ( ctx , req . ( * InitWalletRequest ) )
2017-10-12 12:10:29 +03:00
}
return interceptor ( ctx , in , info , handler )
}
func _WalletUnlocker_UnlockWallet_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UnlockWalletRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletUnlockerServer ) . UnlockWallet ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.WalletUnlocker/UnlockWallet" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletUnlockerServer ) . UnlockWallet ( ctx , req . ( * UnlockWalletRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
var _WalletUnlocker_serviceDesc = grpc . ServiceDesc {
ServiceName : "lnrpc.WalletUnlocker" ,
HandlerType : ( * WalletUnlockerServer ) ( nil ) ,
Methods : [ ] grpc . MethodDesc {
{
2018-02-02 07:16:40 +03:00
MethodName : "GenSeed" ,
Handler : _WalletUnlocker_GenSeed_Handler ,
} ,
{
MethodName : "InitWallet" ,
Handler : _WalletUnlocker_InitWallet_Handler ,
2017-10-12 12:10:29 +03:00
} ,
{
MethodName : "UnlockWallet" ,
Handler : _WalletUnlocker_UnlockWallet_Handler ,
} ,
} ,
Streams : [ ] grpc . StreamDesc { } ,
Metadata : "rpc.proto" ,
}
2015-12-30 23:19:09 +03:00
// Client API for Lightning service
type LightningClient interface {
2017-08-22 10:07:25 +03:00
// * lncli: `walletbalance`
2018-02-02 07:16:40 +03:00
// WalletBalance returns total unspent outputs(confirmed and unconfirmed), all
// confirmed unspent outputs and all unconfirmed unspent outputs under control
2017-08-22 10:07:25 +03:00
// by the wallet. This method can be modified by having the request specify
// only witness outputs should be factored into the final output sum.
2016-06-29 21:28:10 +03:00
WalletBalance ( ctx context . Context , in * WalletBalanceRequest , opts ... grpc . CallOption ) ( * WalletBalanceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `channelbalance`
// ChannelBalance returns the total funds available across all open channels
// in satoshis.
2016-09-15 21:59:51 +03:00
ChannelBalance ( ctx context . Context , in * ChannelBalanceRequest , opts ... grpc . CallOption ) ( * ChannelBalanceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listchaintxns`
// GetTransactions returns a list describing all the known transactions
// relevant to the wallet.
2016-10-16 00:38:47 +03:00
GetTransactions ( ctx context . Context , in * GetTransactionsRequest , opts ... grpc . CallOption ) ( * TransactionDetails , error )
2017-08-22 10:07:25 +03:00
// * lncli: `sendcoins`
// SendCoins executes a request to send coins to a particular address. Unlike
2017-11-23 08:36:27 +03:00
// SendMany, this RPC call only allows creating a single output at a time. If
// neither target_conf, or sat_per_byte are set, then the internal wallet will
// consult its fee model to determine a fee for the default confirmation
// target.
2016-06-29 21:28:10 +03:00
SendCoins ( ctx context . Context , in * SendCoinsRequest , opts ... grpc . CallOption ) ( * SendCoinsResponse , error )
2017-08-22 10:07:25 +03:00
// *
// SubscribeTransactions creates a uni-directional stream from the server to
// the client in which any newly discovered transactions relevant to the
// wallet are sent over.
2016-10-16 00:38:47 +03:00
SubscribeTransactions ( ctx context . Context , in * GetTransactionsRequest , opts ... grpc . CallOption ) ( Lightning_SubscribeTransactionsClient , error )
2017-08-22 10:07:25 +03:00
// * lncli: `sendmany`
// SendMany handles a request for a transaction that creates multiple specified
2017-11-23 08:36:27 +03:00
// outputs in parallel. If neither target_conf, or sat_per_byte are set, then
// the internal wallet will consult its fee model to determine a fee for the
// default confirmation target.
2016-10-16 00:38:47 +03:00
SendMany ( ctx context . Context , in * SendManyRequest , opts ... grpc . CallOption ) ( * SendManyResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `newaddress`
// NewAddress creates a new address under control of the local wallet.
2015-12-30 23:19:09 +03:00
NewAddress ( ctx context . Context , in * NewAddressRequest , opts ... grpc . CallOption ) ( * NewAddressResponse , error )
2017-08-22 10:07:25 +03:00
// *
// NewWitnessAddress creates a new witness address under control of the local wallet.
2016-10-16 00:38:47 +03:00
NewWitnessAddress ( ctx context . Context , in * NewWitnessAddressRequest , opts ... grpc . CallOption ) ( * NewAddressResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `signmessage`
// SignMessage signs a message with this node's private key. The returned
// signature string is `zbase32` encoded and pubkey recoverable, meaning that
// only the message digest and signature are needed for verification.
2017-04-20 05:28:10 +03:00
SignMessage ( ctx context . Context , in * SignMessageRequest , opts ... grpc . CallOption ) ( * SignMessageResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `verifymessage`
// VerifyMessage verifies a signature over a msg. The signature must be
// zbase32 encoded and signed by an active node in the resident node's
// channel database. In addition to returning the validity of the signature,
// VerifyMessage also returns the recovered pubkey from the signature.
2017-04-20 05:28:10 +03:00
VerifyMessage ( ctx context . Context , in * VerifyMessageRequest , opts ... grpc . CallOption ) ( * VerifyMessageResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `connect`
// ConnectPeer attempts to establish a connection to a remote peer. This is at
// the networking level, and is used for communication between nodes. This is
// distinct from establishing a channel with a peer.
2016-01-17 06:03:47 +03:00
ConnectPeer ( ctx context . Context , in * ConnectPeerRequest , opts ... grpc . CallOption ) ( * ConnectPeerResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `disconnect`
// DisconnectPeer attempts to disconnect one peer from another identified by a
// given pubKey. In the case that we currently have a pending or active channel
// with the target peer, then this action will be not be allowed.
2017-04-12 00:49:39 +03:00
DisconnectPeer ( ctx context . Context , in * DisconnectPeerRequest , opts ... grpc . CallOption ) ( * DisconnectPeerResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listpeers`
// ListPeers returns a verbose listing of all currently active peers.
2016-06-21 22:33:35 +03:00
ListPeers ( ctx context . Context , in * ListPeersRequest , opts ... grpc . CallOption ) ( * ListPeersResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getinfo`
// GetInfo returns general information concerning the lightning node including
// it's identity pubkey, alias, the chains it is connected to, and information
// concerning the number of open+pending channels.
2016-07-06 04:52:05 +03:00
GetInfo ( ctx context . Context , in * GetInfoRequest , opts ... grpc . CallOption ) ( * GetInfoResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `pendingchannels`
// PendingChannels returns a list of all the channels that are currently
// considered "pending". A channel is pending if it has finished the funding
// workflow and is waiting for confirmations for the funding txn, or is in the
// process of closure, either initiated cooperatively or non-cooperatively.
2018-01-04 23:20:25 +03:00
PendingChannels ( ctx context . Context , in * PendingChannelsRequest , opts ... grpc . CallOption ) ( * PendingChannelsResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listchannels`
// ListChannels returns a description of all the open channels that this node
// is a participant in.
2016-09-26 06:02:33 +03:00
ListChannels ( ctx context . Context , in * ListChannelsRequest , opts ... grpc . CallOption ) ( * ListChannelsResponse , error )
2017-08-22 10:07:25 +03:00
// *
// OpenChannelSync is a synchronous version of the OpenChannel RPC call. This
// call is meant to be consumed by clients to the REST proxy. As with all
// other sync calls, all byte slices are intended to be populated as hex
// encoded strings.
2016-11-11 04:33:24 +03:00
OpenChannelSync ( ctx context . Context , in * OpenChannelRequest , opts ... grpc . CallOption ) ( * ChannelPoint , error )
2017-08-22 10:07:25 +03:00
// * lncli: `openchannel`
// OpenChannel attempts to open a singly funded channel specified in the
2017-11-23 08:36:27 +03:00
// request to a remote peer. Users are able to specify a target number of
// blocks that the funding transaction should be confirmed in, or a manual fee
// rate to us for the funding transaction. If neither are specified, then a
// lax block confirmation target is used.
2016-10-16 00:38:47 +03:00
OpenChannel ( ctx context . Context , in * OpenChannelRequest , opts ... grpc . CallOption ) ( Lightning_OpenChannelClient , error )
2017-08-22 10:07:25 +03:00
// * lncli: `closechannel`
// CloseChannel attempts to close an active channel identified by its channel
// outpoint (ChannelPoint). The actions of this method can additionally be
// augmented to attempt a force close after a timeout period in the case of an
2017-11-23 08:36:27 +03:00
// inactive peer. If a non-force close (cooperative closure) is requested,
// then the user can specify either a target number of blocks until the
// closure transaction is confirmed, or a manual fee rate. If neither are
// specified, then a default lax, block confirmation target is used.
2016-10-16 00:38:47 +03:00
CloseChannel ( ctx context . Context , in * CloseChannelRequest , opts ... grpc . CallOption ) ( Lightning_CloseChannelClient , error )
2017-08-22 10:07:25 +03:00
// * lncli: `sendpayment`
// SendPayment dispatches a bi-directional streaming RPC for sending payments
// through the Lightning Network. A single RPC invocation creates a persistent
// bi-directional stream allowing clients to rapidly send payments through the
// Lightning Network with a single persistent connection.
2016-07-13 03:36:34 +03:00
SendPayment ( ctx context . Context , opts ... grpc . CallOption ) ( Lightning_SendPaymentClient , error )
2017-08-22 10:07:25 +03:00
// *
// SendPaymentSync is the synchronous non-streaming version of SendPayment.
// This RPC is intended to be consumed by clients of the REST proxy.
// Additionally, this RPC expects the destination's public key and the payment
// hash (if any) to be encoded as hex strings.
2016-11-11 04:33:24 +03:00
SendPaymentSync ( ctx context . Context , in * SendRequest , opts ... grpc . CallOption ) ( * SendResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `addinvoice`
// AddInvoice attempts to add a new invoice to the invoice database. Any
// duplicated invoices are rejected, therefore all invoices *must* have a
// unique payment preimage.
2016-09-19 21:52:23 +03:00
AddInvoice ( ctx context . Context , in * Invoice , opts ... grpc . CallOption ) ( * AddInvoiceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listinvoices`
// ListInvoices returns a list of all the invoices currently stored within the
// database. Any active debug invoices are ignored.
2016-09-19 21:52:23 +03:00
ListInvoices ( ctx context . Context , in * ListInvoiceRequest , opts ... grpc . CallOption ) ( * ListInvoiceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `lookupinvoice`
2018-02-13 03:28:39 +03:00
// LookupInvoice attempts to look up an invoice according to its payment hash.
2017-08-22 10:07:25 +03:00
// The passed payment hash *must* be exactly 32 bytes, if not, an error is
// returned.
2016-10-16 00:38:47 +03:00
LookupInvoice ( ctx context . Context , in * PaymentHash , opts ... grpc . CallOption ) ( * Invoice , error )
2017-08-22 10:07:25 +03:00
// *
// SubscribeInvoices returns a uni-directional stream (sever -> client) for
// notifying the client of newly added/settled invoices.
2016-10-16 00:38:47 +03:00
SubscribeInvoices ( ctx context . Context , in * InvoiceSubscription , opts ... grpc . CallOption ) ( Lightning_SubscribeInvoicesClient , error )
2017-08-22 10:07:25 +03:00
// * lncli: `decodepayreq`
// DecodePayReq takes an encoded payment request string and attempts to decode
// it, returning a full description of the conditions encoded within the
// payment request.
2017-01-18 00:24:55 +03:00
DecodePayReq ( ctx context . Context , in * PayReqString , opts ... grpc . CallOption ) ( * PayReq , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listpayments`
// ListPayments returns a list of all outgoing payments.
2016-12-05 14:59:36 +03:00
ListPayments ( ctx context . Context , in * ListPaymentsRequest , opts ... grpc . CallOption ) ( * ListPaymentsResponse , error )
2017-08-22 10:07:25 +03:00
// *
// DeleteAllPayments deletes all outgoing payments from DB.
2016-12-05 14:59:36 +03:00
DeleteAllPayments ( ctx context . Context , in * DeleteAllPaymentsRequest , opts ... grpc . CallOption ) ( * DeleteAllPaymentsResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `describegraph`
// DescribeGraph returns a description of the latest graph state from the
// point of view of the node. The graph information is partitioned into two
// components: all the nodes/vertexes, and all the edges that connect the
// vertexes themselves. As this is a directed graph, the edges also contain
// the node directional specific routing policy which includes: the time lock
// delta, fee information, etc.
2016-12-27 08:45:01 +03:00
DescribeGraph ( ctx context . Context , in * ChannelGraphRequest , opts ... grpc . CallOption ) ( * ChannelGraph , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getchaninfo`
// GetChanInfo returns the latest authenticated network announcement for the
// given channel identified by its channel ID: an 8-byte integer which
// uniquely identifies the location of transaction's funding output within the
// blockchain.
2016-12-27 08:45:01 +03:00
GetChanInfo ( ctx context . Context , in * ChanInfoRequest , opts ... grpc . CallOption ) ( * ChannelEdge , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getnodeinfo`
// GetNodeInfo returns the latest advertised, aggregated, and authenticated
// channel information for the specified node identified by its public key.
2016-12-27 08:45:01 +03:00
GetNodeInfo ( ctx context . Context , in * NodeInfoRequest , opts ... grpc . CallOption ) ( * NodeInfo , error )
2017-08-22 10:07:25 +03:00
// * lncli: `queryroutes`
// QueryRoutes attempts to query the daemon's Channel Router for a possible
// route to a target destination capable of carrying a specific amount of
// satoshis. The retuned route contains the full details required to craft and
// send an HTLC, also including the necessary information that should be
2018-02-13 03:28:39 +03:00
// present within the Sphinx packet encapsulated within the HTLC.
2017-03-21 05:01:32 +03:00
QueryRoutes ( ctx context . Context , in * QueryRoutesRequest , opts ... grpc . CallOption ) ( * QueryRoutesResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getnetworkinfo`
// GetNetworkInfo returns some basic stats about the known channel graph from
// the point of view of the node.
2016-12-27 08:45:01 +03:00
GetNetworkInfo ( ctx context . Context , in * NetworkInfoRequest , opts ... grpc . CallOption ) ( * NetworkInfo , error )
2017-08-22 10:07:25 +03:00
// * lncli: `stop`
// StopDaemon will send a shutdown request to the interrupt handler, triggering
// a graceful shutdown of the daemon.
2017-05-12 00:55:56 +03:00
StopDaemon ( ctx context . Context , in * StopRequest , opts ... grpc . CallOption ) ( * StopResponse , error )
2017-08-22 10:07:25 +03:00
// *
// SubscribeChannelGraph launches a streaming RPC that allows the caller to
// receive notifications upon any changes to the channel graph topology from
// the point of view of the responding node. Events notified include: new
// nodes coming online, nodes updating their authenticated attributes, new
// channels being advertised, updates in the routing policy for a directional
// channel edge, and when channels are closed on-chain.
2017-03-14 06:37:25 +03:00
SubscribeChannelGraph ( ctx context . Context , in * GraphTopologySubscription , opts ... grpc . CallOption ) ( Lightning_SubscribeChannelGraphClient , error )
2017-08-22 10:07:25 +03:00
// * lncli: `debuglevel`
// DebugLevel allows a caller to programmatically set the logging verbosity of
// lnd. The logging can be targeted according to a coarse daemon-wide logging
// level, or in a granular fashion to specify the logging for a target
// sub-system.
2017-01-15 05:14:03 +03:00
DebugLevel ( ctx context . Context , in * DebugLevelRequest , opts ... grpc . CallOption ) ( * DebugLevelResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `feereport`
// FeeReport allows the caller to obtain a report detailing the current fee
// schedule enforced by the node globally for each channel.
FeeReport ( ctx context . Context , in * FeeReportRequest , opts ... grpc . CallOption ) ( * FeeReportResponse , error )
2017-12-16 00:11:23 +03:00
// * lncli: `updatechanpolicy`
// UpdateChannelPolicy allows the caller to update the fee schedule and
// channel policies for all channels globally, or a particular channel.
UpdateChannelPolicy ( ctx context . Context , in * PolicyUpdateRequest , opts ... grpc . CallOption ) ( * PolicyUpdateResponse , error )
2018-02-28 09:22:06 +03:00
// * lncli: `forwardinghistory`
// ForwardingHistory allows the caller to query the htlcswitch for a record of
// all HTLC's forwarded within the target time range, and integer offset
// within that time range. If no time-range is specified, then the first chunk
// of the past 24 hrs of forwarding history are returned.
//
// A list of forwarding events are returned. The size of each forwarding event
// is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
// As a result each message can only contain 50k entries. Each response has
// the index offset of the last entry. The index offset can be provided to the
// request to allow the caller to skip a series of records.
ForwardingHistory ( ctx context . Context , in * ForwardingHistoryRequest , opts ... grpc . CallOption ) ( * ForwardingHistoryResponse , 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
}
2017-04-20 05:28:10 +03:00
func ( c * lightningClient ) SignMessage ( ctx context . Context , in * SignMessageRequest , opts ... grpc . CallOption ) ( * SignMessageResponse , error ) {
out := new ( SignMessageResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/SignMessage" , in , out , c . cc , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * lightningClient ) VerifyMessage ( ctx context . Context , in * VerifyMessageRequest , opts ... grpc . CallOption ) ( * VerifyMessageResponse , error ) {
out := new ( VerifyMessageResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/VerifyMessage" , 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
}
2017-04-12 00:49:39 +03:00
func ( c * lightningClient ) DisconnectPeer ( ctx context . Context , in * DisconnectPeerRequest , opts ... grpc . CallOption ) ( * DisconnectPeerResponse , error ) {
out := new ( DisconnectPeerResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/DisconnectPeer" , in , out , c . cc , opts ... )
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
}
2018-01-04 23:20:25 +03:00
func ( c * lightningClient ) PendingChannels ( ctx context . Context , in * PendingChannelsRequest , opts ... grpc . CallOption ) ( * PendingChannelsResponse , error ) {
out := new ( PendingChannelsResponse )
2016-10-16 00:38:47 +03:00
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-05-12 00:55:56 +03:00
func ( c * lightningClient ) StopDaemon ( ctx context . Context , in * StopRequest , opts ... grpc . CallOption ) ( * StopResponse , error ) {
out := new ( StopResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/StopDaemon" , 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
}
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
}
2017-08-22 10:07:25 +03:00
func ( c * lightningClient ) FeeReport ( ctx context . Context , in * FeeReportRequest , opts ... grpc . CallOption ) ( * FeeReportResponse , error ) {
out := new ( FeeReportResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/FeeReport" , in , out , c . cc , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2017-12-16 00:11:23 +03:00
func ( c * lightningClient ) UpdateChannelPolicy ( ctx context . Context , in * PolicyUpdateRequest , opts ... grpc . CallOption ) ( * PolicyUpdateResponse , error ) {
out := new ( PolicyUpdateResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/UpdateChannelPolicy" , in , out , c . cc , opts ... )
2017-08-22 10:07:25 +03:00
if err != nil {
return nil , err
}
return out , nil
}
2018-02-28 09:22:06 +03:00
func ( c * lightningClient ) ForwardingHistory ( ctx context . Context , in * ForwardingHistoryRequest , opts ... grpc . CallOption ) ( * ForwardingHistoryResponse , error ) {
out := new ( ForwardingHistoryResponse )
err := grpc . Invoke ( ctx , "/lnrpc.Lightning/ForwardingHistory" , 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 {
2017-08-22 10:07:25 +03:00
// * lncli: `walletbalance`
2018-02-02 07:16:40 +03:00
// WalletBalance returns total unspent outputs(confirmed and unconfirmed), all
// confirmed unspent outputs and all unconfirmed unspent outputs under control
2017-08-22 10:07:25 +03:00
// by the wallet. This method can be modified by having the request specify
// only witness outputs should be factored into the final output sum.
2016-06-29 21:28:10 +03:00
WalletBalance ( context . Context , * WalletBalanceRequest ) ( * WalletBalanceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `channelbalance`
// ChannelBalance returns the total funds available across all open channels
// in satoshis.
2016-09-15 21:59:51 +03:00
ChannelBalance ( context . Context , * ChannelBalanceRequest ) ( * ChannelBalanceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listchaintxns`
// GetTransactions returns a list describing all the known transactions
// relevant to the wallet.
2016-10-16 00:38:47 +03:00
GetTransactions ( context . Context , * GetTransactionsRequest ) ( * TransactionDetails , error )
2017-08-22 10:07:25 +03:00
// * lncli: `sendcoins`
// SendCoins executes a request to send coins to a particular address. Unlike
2017-11-23 08:36:27 +03:00
// SendMany, this RPC call only allows creating a single output at a time. If
// neither target_conf, or sat_per_byte are set, then the internal wallet will
// consult its fee model to determine a fee for the default confirmation
// target.
2016-06-29 21:28:10 +03:00
SendCoins ( context . Context , * SendCoinsRequest ) ( * SendCoinsResponse , error )
2017-08-22 10:07:25 +03:00
// *
// SubscribeTransactions creates a uni-directional stream from the server to
// the client in which any newly discovered transactions relevant to the
// wallet are sent over.
2016-10-16 00:38:47 +03:00
SubscribeTransactions ( * GetTransactionsRequest , Lightning_SubscribeTransactionsServer ) error
2017-08-22 10:07:25 +03:00
// * lncli: `sendmany`
// SendMany handles a request for a transaction that creates multiple specified
2017-11-23 08:36:27 +03:00
// outputs in parallel. If neither target_conf, or sat_per_byte are set, then
// the internal wallet will consult its fee model to determine a fee for the
// default confirmation target.
2016-10-16 00:38:47 +03:00
SendMany ( context . Context , * SendManyRequest ) ( * SendManyResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `newaddress`
// NewAddress creates a new address under control of the local wallet.
2015-12-30 23:19:09 +03:00
NewAddress ( context . Context , * NewAddressRequest ) ( * NewAddressResponse , error )
2017-08-22 10:07:25 +03:00
// *
// NewWitnessAddress creates a new witness address under control of the local wallet.
2016-10-16 00:38:47 +03:00
NewWitnessAddress ( context . Context , * NewWitnessAddressRequest ) ( * NewAddressResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `signmessage`
// SignMessage signs a message with this node's private key. The returned
// signature string is `zbase32` encoded and pubkey recoverable, meaning that
// only the message digest and signature are needed for verification.
2017-04-20 05:28:10 +03:00
SignMessage ( context . Context , * SignMessageRequest ) ( * SignMessageResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `verifymessage`
// VerifyMessage verifies a signature over a msg. The signature must be
// zbase32 encoded and signed by an active node in the resident node's
// channel database. In addition to returning the validity of the signature,
// VerifyMessage also returns the recovered pubkey from the signature.
2017-04-20 05:28:10 +03:00
VerifyMessage ( context . Context , * VerifyMessageRequest ) ( * VerifyMessageResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `connect`
// ConnectPeer attempts to establish a connection to a remote peer. This is at
// the networking level, and is used for communication between nodes. This is
// distinct from establishing a channel with a peer.
2016-01-17 06:03:47 +03:00
ConnectPeer ( context . Context , * ConnectPeerRequest ) ( * ConnectPeerResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `disconnect`
// DisconnectPeer attempts to disconnect one peer from another identified by a
// given pubKey. In the case that we currently have a pending or active channel
// with the target peer, then this action will be not be allowed.
2017-04-12 00:49:39 +03:00
DisconnectPeer ( context . Context , * DisconnectPeerRequest ) ( * DisconnectPeerResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listpeers`
// ListPeers returns a verbose listing of all currently active peers.
2016-06-21 22:33:35 +03:00
ListPeers ( context . Context , * ListPeersRequest ) ( * ListPeersResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getinfo`
// GetInfo returns general information concerning the lightning node including
// it's identity pubkey, alias, the chains it is connected to, and information
// concerning the number of open+pending channels.
2016-07-06 04:52:05 +03:00
GetInfo ( context . Context , * GetInfoRequest ) ( * GetInfoResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `pendingchannels`
// PendingChannels returns a list of all the channels that are currently
// considered "pending". A channel is pending if it has finished the funding
// workflow and is waiting for confirmations for the funding txn, or is in the
// process of closure, either initiated cooperatively or non-cooperatively.
2018-01-04 23:20:25 +03:00
PendingChannels ( context . Context , * PendingChannelsRequest ) ( * PendingChannelsResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listchannels`
// ListChannels returns a description of all the open channels that this node
// is a participant in.
2016-09-26 06:02:33 +03:00
ListChannels ( context . Context , * ListChannelsRequest ) ( * ListChannelsResponse , error )
2017-08-22 10:07:25 +03:00
// *
// OpenChannelSync is a synchronous version of the OpenChannel RPC call. This
// call is meant to be consumed by clients to the REST proxy. As with all
// other sync calls, all byte slices are intended to be populated as hex
// encoded strings.
2016-11-11 04:33:24 +03:00
OpenChannelSync ( context . Context , * OpenChannelRequest ) ( * ChannelPoint , error )
2017-08-22 10:07:25 +03:00
// * lncli: `openchannel`
// OpenChannel attempts to open a singly funded channel specified in the
2017-11-23 08:36:27 +03:00
// request to a remote peer. Users are able to specify a target number of
// blocks that the funding transaction should be confirmed in, or a manual fee
// rate to us for the funding transaction. If neither are specified, then a
// lax block confirmation target is used.
2016-10-16 00:38:47 +03:00
OpenChannel ( * OpenChannelRequest , Lightning_OpenChannelServer ) error
2017-08-22 10:07:25 +03:00
// * lncli: `closechannel`
// CloseChannel attempts to close an active channel identified by its channel
// outpoint (ChannelPoint). The actions of this method can additionally be
// augmented to attempt a force close after a timeout period in the case of an
2017-11-23 08:36:27 +03:00
// inactive peer. If a non-force close (cooperative closure) is requested,
// then the user can specify either a target number of blocks until the
// closure transaction is confirmed, or a manual fee rate. If neither are
// specified, then a default lax, block confirmation target is used.
2016-10-16 00:38:47 +03:00
CloseChannel ( * CloseChannelRequest , Lightning_CloseChannelServer ) error
2017-08-22 10:07:25 +03:00
// * lncli: `sendpayment`
// SendPayment dispatches a bi-directional streaming RPC for sending payments
// through the Lightning Network. A single RPC invocation creates a persistent
// bi-directional stream allowing clients to rapidly send payments through the
// Lightning Network with a single persistent connection.
2016-07-13 03:36:34 +03:00
SendPayment ( Lightning_SendPaymentServer ) error
2017-08-22 10:07:25 +03:00
// *
// SendPaymentSync is the synchronous non-streaming version of SendPayment.
// This RPC is intended to be consumed by clients of the REST proxy.
// Additionally, this RPC expects the destination's public key and the payment
// hash (if any) to be encoded as hex strings.
2016-11-11 04:33:24 +03:00
SendPaymentSync ( context . Context , * SendRequest ) ( * SendResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `addinvoice`
// AddInvoice attempts to add a new invoice to the invoice database. Any
// duplicated invoices are rejected, therefore all invoices *must* have a
// unique payment preimage.
2016-09-19 21:52:23 +03:00
AddInvoice ( context . Context , * Invoice ) ( * AddInvoiceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listinvoices`
// ListInvoices returns a list of all the invoices currently stored within the
// database. Any active debug invoices are ignored.
2016-09-19 21:52:23 +03:00
ListInvoices ( context . Context , * ListInvoiceRequest ) ( * ListInvoiceResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `lookupinvoice`
2018-02-13 03:28:39 +03:00
// LookupInvoice attempts to look up an invoice according to its payment hash.
2017-08-22 10:07:25 +03:00
// The passed payment hash *must* be exactly 32 bytes, if not, an error is
// returned.
2016-10-16 00:38:47 +03:00
LookupInvoice ( context . Context , * PaymentHash ) ( * Invoice , error )
2017-08-22 10:07:25 +03:00
// *
// SubscribeInvoices returns a uni-directional stream (sever -> client) for
// notifying the client of newly added/settled invoices.
2016-10-16 00:38:47 +03:00
SubscribeInvoices ( * InvoiceSubscription , Lightning_SubscribeInvoicesServer ) error
2017-08-22 10:07:25 +03:00
// * lncli: `decodepayreq`
// DecodePayReq takes an encoded payment request string and attempts to decode
// it, returning a full description of the conditions encoded within the
// payment request.
2017-01-18 00:24:55 +03:00
DecodePayReq ( context . Context , * PayReqString ) ( * PayReq , error )
2017-08-22 10:07:25 +03:00
// * lncli: `listpayments`
// ListPayments returns a list of all outgoing payments.
2016-12-05 14:59:36 +03:00
ListPayments ( context . Context , * ListPaymentsRequest ) ( * ListPaymentsResponse , error )
2017-08-22 10:07:25 +03:00
// *
// DeleteAllPayments deletes all outgoing payments from DB.
2016-12-05 14:59:36 +03:00
DeleteAllPayments ( context . Context , * DeleteAllPaymentsRequest ) ( * DeleteAllPaymentsResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `describegraph`
// DescribeGraph returns a description of the latest graph state from the
// point of view of the node. The graph information is partitioned into two
// components: all the nodes/vertexes, and all the edges that connect the
// vertexes themselves. As this is a directed graph, the edges also contain
// the node directional specific routing policy which includes: the time lock
// delta, fee information, etc.
2016-12-27 08:45:01 +03:00
DescribeGraph ( context . Context , * ChannelGraphRequest ) ( * ChannelGraph , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getchaninfo`
// GetChanInfo returns the latest authenticated network announcement for the
// given channel identified by its channel ID: an 8-byte integer which
// uniquely identifies the location of transaction's funding output within the
// blockchain.
2016-12-27 08:45:01 +03:00
GetChanInfo ( context . Context , * ChanInfoRequest ) ( * ChannelEdge , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getnodeinfo`
// GetNodeInfo returns the latest advertised, aggregated, and authenticated
// channel information for the specified node identified by its public key.
2016-12-27 08:45:01 +03:00
GetNodeInfo ( context . Context , * NodeInfoRequest ) ( * NodeInfo , error )
2017-08-22 10:07:25 +03:00
// * lncli: `queryroutes`
// QueryRoutes attempts to query the daemon's Channel Router for a possible
// route to a target destination capable of carrying a specific amount of
// satoshis. The retuned route contains the full details required to craft and
// send an HTLC, also including the necessary information that should be
2018-02-13 03:28:39 +03:00
// present within the Sphinx packet encapsulated within the HTLC.
2017-03-21 05:01:32 +03:00
QueryRoutes ( context . Context , * QueryRoutesRequest ) ( * QueryRoutesResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `getnetworkinfo`
// GetNetworkInfo returns some basic stats about the known channel graph from
// the point of view of the node.
2016-12-27 08:45:01 +03:00
GetNetworkInfo ( context . Context , * NetworkInfoRequest ) ( * NetworkInfo , error )
2017-08-22 10:07:25 +03:00
// * lncli: `stop`
// StopDaemon will send a shutdown request to the interrupt handler, triggering
// a graceful shutdown of the daemon.
2017-05-12 00:55:56 +03:00
StopDaemon ( context . Context , * StopRequest ) ( * StopResponse , error )
2017-08-22 10:07:25 +03:00
// *
// SubscribeChannelGraph launches a streaming RPC that allows the caller to
// receive notifications upon any changes to the channel graph topology from
// the point of view of the responding node. Events notified include: new
// nodes coming online, nodes updating their authenticated attributes, new
// channels being advertised, updates in the routing policy for a directional
// channel edge, and when channels are closed on-chain.
2017-03-14 06:37:25 +03:00
SubscribeChannelGraph ( * GraphTopologySubscription , Lightning_SubscribeChannelGraphServer ) error
2017-08-22 10:07:25 +03:00
// * lncli: `debuglevel`
// DebugLevel allows a caller to programmatically set the logging verbosity of
// lnd. The logging can be targeted according to a coarse daemon-wide logging
// level, or in a granular fashion to specify the logging for a target
// sub-system.
2017-01-15 05:14:03 +03:00
DebugLevel ( context . Context , * DebugLevelRequest ) ( * DebugLevelResponse , error )
2017-08-22 10:07:25 +03:00
// * lncli: `feereport`
// FeeReport allows the caller to obtain a report detailing the current fee
// schedule enforced by the node globally for each channel.
FeeReport ( context . Context , * FeeReportRequest ) ( * FeeReportResponse , error )
2017-12-16 00:11:23 +03:00
// * lncli: `updatechanpolicy`
// UpdateChannelPolicy allows the caller to update the fee schedule and
// channel policies for all channels globally, or a particular channel.
UpdateChannelPolicy ( context . Context , * PolicyUpdateRequest ) ( * PolicyUpdateResponse , error )
2018-02-28 09:22:06 +03:00
// * lncli: `forwardinghistory`
// ForwardingHistory allows the caller to query the htlcswitch for a record of
// all HTLC's forwarded within the target time range, and integer offset
// within that time range. If no time-range is specified, then the first chunk
// of the past 24 hrs of forwarding history are returned.
//
// A list of forwarding events are returned. The size of each forwarding event
// is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
// As a result each message can only contain 50k entries. Each response has
// the index offset of the last entry. The index offset can be provided to the
// request to allow the caller to skip a series of records.
ForwardingHistory ( context . Context , * ForwardingHistoryRequest ) ( * ForwardingHistoryResponse , 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 )
}
2017-04-20 05:28:10 +03:00
func _Lightning_SignMessage_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SignMessageRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( LightningServer ) . SignMessage ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.Lightning/SignMessage" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( LightningServer ) . SignMessage ( ctx , req . ( * SignMessageRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _Lightning_VerifyMessage_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( VerifyMessageRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( LightningServer ) . VerifyMessage ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.Lightning/VerifyMessage" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( LightningServer ) . VerifyMessage ( ctx , req . ( * VerifyMessageRequest ) )
}
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
}
2017-04-12 00:49:39 +03:00
func _Lightning_DisconnectPeer_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( DisconnectPeerRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( LightningServer ) . DisconnectPeer ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.Lightning/DisconnectPeer" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( LightningServer ) . DisconnectPeer ( ctx , req . ( * DisconnectPeerRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
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 ) {
2018-01-04 23:20:25 +03:00
in := new ( PendingChannelsRequest )
2016-10-16 00:38:47 +03:00
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 ) {
2018-01-04 23:20:25 +03:00
return srv . ( LightningServer ) . PendingChannels ( ctx , req . ( * PendingChannelsRequest ) )
2016-10-16 00:38:47 +03:00
}
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-05-12 00:55:56 +03:00
func _Lightning_StopDaemon_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( StopRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( LightningServer ) . StopDaemon ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.Lightning/StopDaemon" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( LightningServer ) . StopDaemon ( ctx , req . ( * StopRequest ) )
}
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 )
}
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 )
}
2017-08-22 10:07:25 +03:00
func _Lightning_FeeReport_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( FeeReportRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( LightningServer ) . FeeReport ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.Lightning/FeeReport" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( LightningServer ) . FeeReport ( ctx , req . ( * FeeReportRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2017-12-16 00:11:23 +03:00
func _Lightning_UpdateChannelPolicy_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( PolicyUpdateRequest )
2017-08-22 10:07:25 +03:00
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
2017-12-16 00:11:23 +03:00
return srv . ( LightningServer ) . UpdateChannelPolicy ( ctx , in )
2017-08-22 10:07:25 +03:00
}
info := & grpc . UnaryServerInfo {
Server : srv ,
2017-12-16 00:11:23 +03:00
FullMethod : "/lnrpc.Lightning/UpdateChannelPolicy" ,
2017-08-22 10:07:25 +03:00
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
2017-12-16 00:11:23 +03:00
return srv . ( LightningServer ) . UpdateChannelPolicy ( ctx , req . ( * PolicyUpdateRequest ) )
2017-08-22 10:07:25 +03:00
}
return interceptor ( ctx , in , info , handler )
}
2018-02-28 09:22:06 +03:00
func _Lightning_ForwardingHistory_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ForwardingHistoryRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( LightningServer ) . ForwardingHistory ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/lnrpc.Lightning/ForwardingHistory" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( LightningServer ) . ForwardingHistory ( ctx , req . ( * ForwardingHistoryRequest ) )
}
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 ,
} ,
2017-04-20 05:28:10 +03:00
{
MethodName : "SignMessage" ,
Handler : _Lightning_SignMessage_Handler ,
} ,
{
MethodName : "VerifyMessage" ,
Handler : _Lightning_VerifyMessage_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
} ,
2017-04-12 00:49:39 +03:00
{
MethodName : "DisconnectPeer" ,
Handler : _Lightning_DisconnectPeer_Handler ,
} ,
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 ,
} ,
2017-05-12 00:55:56 +03:00
{
MethodName : "StopDaemon" ,
Handler : _Lightning_StopDaemon_Handler ,
} ,
2017-01-15 05:14:03 +03:00
{
MethodName : "DebugLevel" ,
Handler : _Lightning_DebugLevel_Handler ,
} ,
2017-08-22 10:07:25 +03:00
{
MethodName : "FeeReport" ,
Handler : _Lightning_FeeReport_Handler ,
} ,
{
2017-12-16 00:11:23 +03:00
MethodName : "UpdateChannelPolicy" ,
Handler : _Lightning_UpdateChannelPolicy_Handler ,
2017-08-22 10:07:25 +03:00
} ,
2018-02-28 09:22:06 +03:00
{
MethodName : "ForwardingHistory" ,
Handler : _Lightning_ForwardingHistory_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 {
2018-02-28 09:22:06 +03:00
// 5312 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0xbc , 0x5c , 0x4b , 0x90 , 0x1c , 0xc9 ,
0x59 , 0x56 , 0xf5 , 0xf4 , 0x3c , 0xfa , 0xef , 0x9e , 0x57 , 0xce , 0x68 , 0xd4 , 0xea , 0x95 , 0x65 , 0x6d ,
0xb1 , 0xb1 , 0x12 , 0x62 , 0xd1 , 0x68 , 0xc7 , 0xf6 , 0xb2 , 0x5e , 0x81 , 0x1d , 0x7a , 0xcf , 0xda , 0xb3 ,
0xf2 , 0xb8 , 0x46 , 0xf2 , 0x82 , 0x17 , 0x68 , 0xd7 , 0x74 , 0xe7 , 0xf4 , 0x94 , 0xd5 , 0x5d , 0x55 , 0x5b ,
0x95 , 0x3d , 0xa3 , 0xde , 0x45 , 0x11 , 0x3c , 0x22 , 0x38 , 0x41 , 0xf8 , 0x00 , 0x11 , 0x84 , 0x21 , 0xcc ,
0xc1 , 0xbe , 0xc0 , 0x81 , 0x23 , 0x07 , 0xc2 , 0x04 , 0xdc , 0x1d , 0x41 , 0x70 , 0xf0 , 0x89 , 0xe0 , 0x06 ,
0x9c , 0xcc , 0x99 , 0x0b , 0x27 , 0xe2 , 0xff , 0xf3 , 0x51 , 0x99 , 0x55 , 0x35 , 0x92 , 0x6c , 0x03 , 0xb7 ,
0xce , 0x2f , 0x33 , 0xff , 0x7c , 0xfd , 0xf9 , 0xbf , 0xf2 , 0xaf , 0x86 , 0x56 , 0x96 , 0x0e , 0x6e , 0xa4 ,
0x59 , 0x22 , 0x12 , 0x36 , 0x3f , 0x8e , 0xb3 , 0x74 , 0xd0 , 0xbb , 0x34 , 0x4a , 0x92 , 0xd1 , 0x98 , 0x6f ,
0x87 , 0x69 , 0xb4 , 0x1d , 0xc6 , 0x71 , 0x22 , 0x42 , 0x11 , 0x25 , 0x71 , 0x2e , 0x1b , 0xf9 , 0xdf , 0x82 ,
0x95 , 0x87 , 0x3c , 0x3e , 0xe0 , 0x7c , 0x18 , 0xf0 , 0x8f , 0xa7 , 0x3c , 0x17 , 0xec , 0x97 , 0x60 , 0x3d ,
0xe4 , 0x9f , 0x70 , 0x3e , 0xec , 0xa7 , 0x61 , 0x9e , 0xa7 , 0xc7 , 0x59 , 0x98 , 0xf3 , 0xae , 0x77 , 0xc5 ,
0xbb , 0xd6 , 0x09 , 0xd6 , 0x64 , 0xc5 , 0xbe , 0xc1 , 0xd9 , 0xeb , 0xd0 , 0xc9 , 0xb1 , 0x29 , 0x8f , 0x45 ,
0x96 , 0xa4 , 0xb3 , 0x6e , 0x83 , 0xda , 0xb5 , 0x11 , 0xbb , 0x2f , 0x21 , 0x7f , 0x0c , 0xab , 0x66 , 0x84 ,
0x3c , 0x4d , 0xe2 , 0x9c , 0xb3 , 0x9b , 0xb0 , 0x39 , 0x88 , 0xd2 , 0x63 , 0x9e , 0xf5 , 0xa9 , 0xf3 , 0x24 ,
0xe6 , 0x93 , 0x24 , 0x8e , 0x06 , 0x5d , 0xef , 0xca , 0xdc , 0xb5 , 0x56 , 0xc0 , 0x64 , 0x1d , 0xf6 , 0xf8 ,
0x40 , 0xd5 , 0xb0 , 0xab , 0xb0 , 0xca , 0x63 , 0x89 , 0xf3 , 0x21 , 0xf5 , 0x52 , 0x43 , 0xad , 0x14 , 0x30 ,
0x76 , 0xf0 , 0xff , 0xc2 , 0x83 , 0xf5 , 0xf7 , 0xe3 , 0x48 , 0x7c , 0x18 , 0x8e , 0xc7 , 0x5c , 0xe8 , 0x35 ,
0x5d , 0x85 , 0xd5 , 0x53 , 0x02 , 0x68 , 0x4d , 0xa7 , 0x49 , 0x36 , 0x54 , 0x2b , 0x5a , 0x91 , 0xf0 , 0xbe ,
0x42 , 0xcf , 0x9c , 0x59 , 0xe3 , 0xcc , 0x99 , 0xd5 , 0x6e , 0xd7 , 0x5c , 0xfd , 0x76 , 0xf9 , 0x9b , 0xc0 ,
0xec , 0xc9 , 0xc9 , 0xed , 0xf0 , 0xbf , 0x04 , 0x1b , 0x4f , 0xe2 , 0x71 , 0x32 , 0x78 , 0xfa , 0xb3 , 0x4d ,
0xda , 0xdf , 0x82 , 0x4d , 0xb7 , 0xbf , 0xa2 , 0xfb , 0xdd , 0x06 , 0xb4 , 0x1f , 0x67 , 0x61 , 0x9c , 0x87 ,
0x03 , 0x3c , 0x72 , 0xd6 , 0x85 , 0x45 , 0xf1 , 0xac , 0x7f , 0x1c , 0xe6 , 0xc7 , 0x44 , 0xa8 , 0x15 , 0xe8 ,
0x22 , 0xdb , 0x82 , 0x85 , 0x70 , 0x92 , 0x4c , 0x63 , 0x41 , 0xbb , 0x3a , 0x17 , 0xa8 , 0x12 , 0x7b , 0x0b ,
0xd6 , 0xe3 , 0xe9 , 0xa4 , 0x3f , 0x48 , 0xe2 , 0xa3 , 0x28 , 0x9b , 0x48 , 0xc6 , 0xa1 , 0xc5 , 0xcd , 0x07 ,
0xd5 , 0x0a , 0x76 , 0x19 , 0xe0 , 0x10 , 0xa7 , 0x21 , 0x87 , 0x68 , 0xd2 , 0x10 , 0x16 , 0xc2 , 0x7c , 0xe8 ,
0xa8 , 0x12 , 0x8f , 0x46 , 0xc7 , 0xa2 , 0x3b , 0x4f , 0x84 , 0x1c , 0x0c , 0x69 , 0x88 , 0x68 , 0xc2 , 0xfb ,
0xb9 , 0x08 , 0x27 , 0x69 , 0x77 , 0x81 , 0x66 , 0x63 , 0x21 , 0x54 , 0x9f , 0x88 , 0x70 , 0xdc , 0x3f , 0xe2 ,
0x3c , 0xef , 0x2e , 0xaa , 0x7a , 0x83 , 0xb0 , 0x37 , 0x61 , 0x65 , 0xc8 , 0x73 , 0xd1 , 0x0f , 0x87 , 0xc3 ,
0x8c , 0xe7 , 0x39 , 0xcf , 0xbb , 0x4b , 0x74 , 0x74 , 0x25 , 0xd4 , 0xef , 0xc2 , 0xd6 , 0x43 , 0x2e , 0xac ,
0xdd , 0xc9 , 0xd5 , 0xb6 , 0xfb , 0x7b , 0xc0 , 0x2c , 0xf8 , 0x1e , 0x17 , 0x61 , 0x34 , 0xce , 0xd9 , 0x3b ,
0xd0 , 0x11 , 0x56 , 0x63 , 0x62 , 0xd5 , 0xf6 , 0x0e , 0xbb , 0x41 , 0x77 , 0xec , 0x86 , 0xd5 , 0x21 , 0x70 ,
0xda , 0xf9 , 0xff , 0xed , 0x41 , 0xfb , 0x80 , 0xc7 , 0xe6 , 0x76 , 0x31 , 0x68 , 0xe2 , 0x4c , 0xd4 , 0x49 ,
0xd2 , 0x6f , 0xf6 , 0x59 , 0x68 , 0xd3 , 0xec , 0x72 , 0x91 , 0x45 , 0xf1 , 0x88 , 0x8e , 0xa0 , 0x15 , 0x00 ,
0x42 , 0x07 , 0x84 , 0xb0 , 0x35 , 0x98 , 0x0b , 0x27 , 0x82 , 0x36 , 0x7e , 0x2e , 0xc0 , 0x9f , 0x78 , 0xef ,
0xd2 , 0x70 , 0x36 , 0xe1 , 0xb1 , 0x28 , 0x36 , 0xbb , 0x13 , 0xb4 , 0x15 , 0xb6 , 0x8b , 0xbb , 0x7d , 0x03 ,
0x36 , 0xec , 0x26 , 0x9a , 0xfa , 0x3c , 0x51 , 0x5f , 0xb7 , 0x5a , 0xaa , 0x41 , 0xae , 0xc2 , 0xaa , 0x6e ,
0x9f , 0xc9 , 0xc9 , 0xd2 , 0xf6 , 0xb7 , 0x82 , 0x15 , 0x05 , 0xeb , 0x25 , 0x5c , 0x83 , 0xb5 , 0xa3 , 0x28 ,
0x0e , 0xc7 , 0xfd , 0xc1 , 0x58 , 0x9c , 0xf4 , 0x87 , 0x7c , 0x2c , 0x42 , 0x3a , 0x88 , 0xf9 , 0x60 , 0x85 ,
0xf0 , 0xbb , 0x63 , 0x71 , 0x72 , 0x0f , 0x51 , 0xff , 0x4f , 0x3d , 0xe8 , 0xc8 , 0xc5 , 0xab , 0x8b , 0xff ,
0x06 , 0x2c , 0xeb , 0x31 , 0x78 , 0x96 , 0x25 , 0x99 , 0xe2 , 0x43 , 0x17 , 0x64 , 0xd7 , 0x61 , 0x4d , 0x03 ,
0x69 , 0xc6 , 0xa3 , 0x49 , 0x38 , 0xe2 , 0xea , 0xb6 , 0x57 , 0x70 , 0xb6 , 0x53 , 0x50 , 0xcc , 0x92 , 0xa9 ,
0x90 , 0x57 , 0xaf , 0xbd , 0xd3 , 0x51 , 0x07 , 0x13 , 0x20 , 0x16 , 0xb8 , 0x4d , 0xfc , 0xef , 0x7b , 0xd0 ,
0xb9 , 0x7b , 0x1c , 0xc6 , 0x31 , 0x1f , 0xef , 0x27 , 0x51 , 0x2c , 0xd8 , 0x4d , 0x60 , 0x47 , 0xd3 , 0x78 ,
0x18 , 0xc5 , 0xa3 , 0xbe , 0x78 , 0x16 , 0x0d , 0xfb , 0x87 , 0x33 , 0xc1 , 0x73 , 0x79 , 0x44 , 0xbb , 0xe7 ,
0x82 , 0x9a , 0x3a , 0xf6 , 0x16 , 0xac , 0x39 , 0x68 , 0x2e , 0x32 , 0x79 , 0x6e , 0xbb , 0xe7 , 0x82 , 0x4a ,
0x0d , 0x32 , 0x7e , 0x32 , 0x15 , 0xe9 , 0x54 , 0xf4 , 0xa3 , 0x78 , 0xc8 , 0x9f , 0xd1 , 0x1c , 0x97 , 0x03 ,
0x07 , 0xbb , 0xb3 , 0x02 , 0x1d , 0xbb , 0x9f , 0xff , 0x25 , 0x58 , 0xdb , 0xc3 , 0x1b , 0x11 , 0x47 , 0xf1 ,
0xe8 , 0xb6 , 0x64 , 0x5b , 0xbc , 0xa6 , 0xe9 , 0xf4 , 0xf0 , 0x29 , 0x9f , 0xa9 , 0x7d , 0x53 , 0x25 , 0x64 ,
0xaa , 0xe3 , 0x24 , 0x17 , 0x8a , 0x73 , 0xe8 , 0xb7 , 0xff , 0xef , 0x1e , 0xac , 0xe2 , 0xde , 0x7f , 0x10 ,
0xc6 , 0x33 , 0x7d , 0x72 , 0x7b , 0xd0 , 0x41 , 0x52 , 0x8f , 0x93 , 0xdb , 0xf2 , 0xb2 , 0x4b , 0x26 , 0xbe ,
0xa6 , 0xf6 , 0xaa , 0xd4 , 0xfa , 0x86 , 0xdd , 0x14 , 0x85 , 0xf9 , 0x2c , 0x70 , 0x7a , 0x23 , 0xdb , 0x8a ,
0x30 , 0x1b , 0x71 , 0x41 , 0x62 , 0x40 , 0x89 , 0x05 , 0x90 , 0xd0 , 0xdd , 0x24 , 0x3e , 0x62 , 0x57 , 0xa0 ,
0x93 , 0x87 , 0xa2 , 0x9f , 0xf2 , 0x8c , 0x76 , 0x8d , 0x58 , 0x6f , 0x2e , 0x80 , 0x3c , 0x14 , 0xfb , 0x3c ,
0xbb , 0x33 , 0x13 , 0xbc , 0xf7 , 0x65 , 0x58 , 0xaf , 0x8c , 0x82 , 0xdc , 0x5e , 0x2c , 0x11 , 0x7f , 0xb2 ,
0x4d , 0x98 , 0x3f , 0x09 , 0xc7 , 0x53 , 0xae , 0xa4 , 0x93 , 0x2c , 0xbc , 0xd7 , 0x78 , 0xd7 , 0xf3 , 0xdf ,
0x84 , 0xb5 , 0x62 , 0xda , 0x8a , 0xc9 , 0x18 , 0x34 , 0x71 , 0x07 , 0x15 , 0x01 , 0xfa , 0xed , 0xff , 0x9e ,
0x27 , 0x1b , 0xde , 0x4d , 0x22 , 0x73 , 0xd3 , 0xb1 , 0x21 , 0x0a , 0x04 , 0xdd , 0x10 , 0x7f , 0x9f , 0x29 ,
0x09 , 0x7f , 0xfe , 0xc5 , 0xfa , 0x57 , 0x61 , 0xdd , 0x9a , 0xc2 , 0x0b , 0x26 , 0xfb , 0x97 , 0x1e , 0xac ,
0x3f , 0xe2 , 0xa7 , 0xea , 0xd4 , 0xf5 , 0x6c , 0xdf , 0x85 , 0xa6 , 0x98 , 0xa5 , 0x52 , 0x15 , 0xaf , 0xec ,
0xbc , 0xa1 , 0x0e , 0xad , 0xd2 , 0xee , 0x86 , 0x2a , 0x3e , 0x9e , 0xa5 , 0x3c , 0xa0 , 0x1e , 0xfe , 0xd7 ,
0xa0 , 0x6d , 0x81 , 0xec , 0x02 , 0x6c , 0x7c , 0xf8 , 0xfe , 0xe3 , 0x47 , 0xf7 , 0x0f , 0x0e , 0xfa , 0xfb ,
0x4f , 0xee , 0x7c , 0xf5 , 0xfe , 0x6f , 0xf4 , 0x77 , 0x6f , 0x1f , 0xec , 0xae , 0x9d , 0x63 , 0x5b , 0xc0 ,
0x1e , 0xdd , 0x3f , 0x78 , 0x7c , 0xff , 0x9e , 0x83 , 0x7b , 0x6c , 0x15 , 0xda , 0x36 , 0xd0 , 0xf0 , 0x7b ,
0xd0 , 0x7d , 0xc4 , 0x4f , 0x3f , 0x8c , 0x44 , 0xcc , 0xf3 , 0xdc , 0x1d , 0xde , 0xbf , 0x01 , 0xcc , 0x9e ,
0x93 , 0x5a , 0x66 , 0x17 , 0x16 , 0x95 , 0xec , 0xd5 , 0xaa , 0x47 , 0x15 , 0xfd , 0x37 , 0x81 , 0x1d , 0x44 ,
0xa3 , 0xf8 , 0x03 , 0x9e , 0xe7 , 0xe1 , 0x88 , 0xeb , 0xc5 , 0xae , 0xc1 , 0xdc , 0x24 , 0x1f , 0x29 , 0x29 ,
0x89 , 0x3f , 0xfd , 0xcf , 0xc1 , 0x86 , 0xd3 , 0x4e , 0x11 , 0xbe , 0x04 , 0xad , 0x3c , 0x1a , 0xc5 , 0xa1 ,
0x98 , 0x66 , 0x5c , 0x91 , 0x2e , 0x00 , 0xff , 0x01 , 0x6c , 0x7e , 0x83 , 0x67 , 0xd1 , 0xd1 , 0xec , 0x65 ,
0xe4 , 0x5d , 0x3a , 0x8d , 0x32 , 0x9d , 0xfb , 0x70 , 0xbe , 0x44 , 0x47 , 0x0d , 0x2f , 0x39 , 0x53 , 0x9d ,
0xdf , 0x52 , 0x20 , 0x0b , 0xd6 , 0x3d , 0x6d , 0xd8 , 0xf7 , 0xd4 , 0x7f , 0x02 , 0xec , 0x6e , 0x12 , 0xc7 ,
0x7c , 0x20 , 0xf6 , 0x39 , 0xcf , 0x0a , 0x83 , 0xab , 0x60 , 0xc3 , 0xf6 , 0xce , 0x05 , 0x75 , 0xb0 , 0xe5 ,
0xcb , 0xaf , 0xf8 , 0x93 , 0x41 , 0x33 , 0xe5 , 0xd9 , 0x84 , 0x08 , 0x2f , 0x05 , 0xf4 , 0xdb , 0x3f , 0x0f ,
0x1b , 0x0e , 0x59 , 0xa5 , 0xfe , 0xdf , 0x86 , 0xf3 , 0xf7 , 0xa2 , 0x7c , 0x50 , 0x1d , 0xb0 , 0x0b , 0x8b ,
0xe9 , 0xf4 , 0xb0 , 0x5f , 0x5c , 0x32 , 0x5d , 0x44 , 0xad , 0x58 , 0xee , 0xa2 , 0x88 , 0xfd , 0xa1 , 0x07 ,
0xcd , 0xdd , 0xc7 , 0x7b , 0x77 , 0x59 , 0x0f , 0x96 , 0xa2 , 0x78 , 0x90 , 0x4c , 0x50 , 0x97 , 0xc8 , 0x45 ,
0x9b , 0xf2 , 0x99 , 0x97 , 0xe7 , 0x12 , 0xb4 , 0x48 , 0x05 , 0xa1 , 0xa2 , 0x57 , 0xb6 , 0x51 , 0x01 , 0xa0 ,
0x91 , 0xc1 , 0x9f , 0xa5 , 0x51 , 0x46 , 0x56 , 0x84 , 0xb6 , 0x0d , 0x9a , 0x24 , 0x22 , 0xab , 0x15 , 0xfe ,
0x4f , 0x9a , 0xb0 , 0x7c , 0x7b , 0x20 , 0xa2 , 0x13 , 0xae , 0x44 , 0x38 , 0x8d , 0x4a , 0x80 , 0x9a , 0x8f ,
0x2a , 0xa1 , 0xb2 , 0xc9 , 0xf8 , 0x24 , 0x11 , 0xbc , 0xef , 0x1c , 0x86 , 0x0b , 0x62 , 0xab , 0x81 , 0x24 ,
0xd4 , 0x4f , 0x51 , 0x19 , 0xd0 , 0xfc , 0x5a , 0x81 , 0x0b , 0xe2 , 0x96 , 0x21 , 0xd0 , 0x8f , 0x86 , 0x34 ,
0xb3 , 0x66 , 0xa0 , 0x8b , 0xb8 , 0x1f , 0x83 , 0x30 , 0x0d , 0x07 , 0x91 , 0x98 , 0xa9 , 0x3b , 0x6f , 0xca ,
0x48 , 0x7b , 0x9c , 0x0c , 0xc2 , 0x71 , 0xff , 0x30 , 0x1c , 0x87 , 0xf1 , 0x80 , 0x2b , 0x7b , 0xc6 , 0x05 ,
0xd1 , 0x64 , 0x51 , 0x53 , 0xd2 , 0xcd , 0xa4 , 0x59 , 0x53 , 0x42 , 0xd1 , 0xf4 , 0x19 , 0x24 , 0x93 , 0x49 ,
0x24 , 0xd0 , 0xd2 , 0xe9 , 0x2e , 0x49 , 0xf9 , 0x52 , 0x20 , 0xb4 , 0x12 , 0x59 , 0x3a , 0x95 , 0x7b , 0xd8 ,
0x92 , 0xa3 , 0x39 , 0x20 , 0x52 , 0x39 , 0xe2 , 0x9c , 0xe4 , 0xd4 , 0xd3 , 0xd3 , 0x2e , 0x48 , 0x2a , 0x05 ,
0x82 , 0xa7 , 0x31 , 0x8d , 0x73 , 0x2e , 0xc4 , 0x98 , 0x0f , 0xcd , 0x84 , 0xda , 0xd4 , 0xac , 0x5a , 0xc1 ,
0x6e , 0xc2 , 0x86 , 0x34 , 0xbe , 0xf2 , 0x50 , 0x24 , 0xf9 , 0x71 , 0x94 , 0xf7 , 0x73 , 0x1e , 0x8b , 0x6e ,
0x87 , 0xda , 0xd7 , 0x55 , 0xb1 , 0x77 , 0xe1 , 0x42 , 0x09 , 0xce , 0xf8 , 0x80 , 0x47 , 0x27 , 0x7c , 0xd8 ,
0x5d , 0xa6 , 0x5e , 0x67 , 0x55 , 0xb3 , 0x2b , 0xd0 , 0x46 , 0x9b , 0x73 , 0x9a , 0x0e , 0x43 , 0x54 , 0xcf ,
0x2b , 0x74 , 0x0e , 0x36 , 0xc4 , 0xde , 0x86 , 0xe5 , 0x94 , 0x4b , 0x1d , 0x7a , 0x2c , 0xc6 , 0x83 , 0xbc ,
0xbb , 0x4a , 0x0a , 0xae , 0xad , 0xae , 0x14 , 0xf2 , 0x6f , 0xe0 , 0xb6 , 0x40 , 0xd6 , 0x1c , 0xe4 , 0x64 ,
0xc5 , 0x84 , 0xb3 , 0xee , 0x1a , 0x31 , 0x5d , 0x01 , 0xe0 , 0xcd , 0xda , 0x8b , 0x72 , 0xa1 , 0x38 , 0xcd ,
0xc8 , 0xb8 , 0x5d , 0xd8 , 0x74 , 0x61 , 0xe3 , 0xd7 , 0x2c , 0x29 , 0xb6 , 0xc9 , 0xbb , 0x6d , 0x1a , 0x7a ,
0x53 , 0x0d , 0xed , 0x70 , 0x6c , 0x60 , 0x5a , 0xf9 , 0x3f , 0xf1 , 0xa0 , 0x89 , 0xf7 , 0xec , 0xec , 0x3b ,
0x69 , 0x8b , 0xce , 0x39 , 0x47 , 0x74 , 0x92 , 0xbd , 0x8d , 0xd6 , 0x88 , 0xdc , 0x73 , 0xc9 , 0x97 , 0x16 ,
0x52 , 0xd4 , 0x67 , 0x7c , 0x70 , 0x42 , 0xcc , 0x69 , 0xea , 0x11 , 0x41 , 0xd6 , 0x45 , 0x95 , 0x45 , 0xbd ,
0x25 , 0x67 , 0x9a , 0xb2 , 0xae , 0xa3 , 0x9e , 0x8b , 0x45 , 0x1d , 0xf5 , 0xeb , 0xc2 , 0x62 , 0x14 , 0x1f ,
0x26 , 0xd3 , 0x78 , 0x48 , 0x5c , 0xb8 , 0x14 , 0xe8 , 0x22 , 0xee , 0x66 , 0x4a , 0x16 , 0x4c , 0x34 , 0xe1 ,
0x8a , 0xfd , 0x0a , 0xc0 , 0x67 , 0x68 , 0xd2 , 0xe4 , 0x24 , 0x57 , 0xcc , 0x56 , 0xbe , 0x03 , 0xeb , 0x16 ,
0xa6 , 0xf6 , 0xf1 , 0x75 , 0x98 , 0x4f , 0x11 , 0x50 , 0x06 , 0x8a , 0x3e , 0x3f , 0x12 , 0x48 , 0xb2 , 0xc6 ,
0x5f , 0x43 , 0xbf , 0x55 , 0xbc , 0x1f , 0x1f , 0x25 , 0x9a , 0xd2 , 0x3f , 0xce , 0xa1 , 0xa3 , 0xa9 , 0x20 ,
0x45 , 0xe8 , 0x1a , 0xac , 0x46 , 0x43 , 0x1e , 0x8b , 0x48 , 0xcc , 0xfa , 0x8e , 0xe5 , 0x54 , 0x86 , 0x51 ,
0x90 , 0x87 , 0xe3 , 0x28 , 0xcc , 0x95 , 0x90 , 0x90 , 0x05 , 0xb6 , 0x03 , 0x9b , 0xc8 , 0x5f , 0x9a , 0x65 ,
0xcc , 0xe1 , 0x4a , 0x03 , 0xae , 0xb6 , 0x0e , 0xaf , 0x04 , 0xe2 , 0x52 , 0x08 , 0x15 , 0x5d , 0xa4 , 0x40 ,
0xab , 0xab , 0xc2 , 0x5d , 0x93 , 0x94 , 0x70 , 0xc9 , 0xf3 , 0x92 , 0x07 , 0x0d , 0x50 , 0xf1 , 0x9a , 0x16 ,
0xa4 , 0xf1 , 0x58 , 0xf6 , 0x9a , 0x2c , 0xcf , 0x6b , 0xa9 , 0xe2 , 0x79 , 0x5d , 0x83 , 0xd5 , 0x7c , 0x16 ,
0x0f , 0xf8 , 0xb0 , 0x2f , 0x12 , 0x1c , 0x37 , 0x8a , 0xe9 , 0x74 , 0x96 , 0x82 , 0x32 , 0x4c , 0x3e , 0x22 ,
0xcf , 0x45 , 0xcc , 0x05 , 0xc9 , 0x86 , 0xa5 , 0x40 , 0x17 , 0x51 , 0xcc , 0x52 , 0x13 , 0xc9 , 0xda , 0xad ,
0x40 , 0x95 , 0x50 , 0x23 , 0x4d , 0xb3 , 0x28 , 0xef , 0x76 , 0x08 , 0xa5 , 0xdf , 0xec , 0xf3 , 0x70 , 0xfe ,
0x10 , 0x3d , 0x9a , 0x63 , 0x1e , 0x0e , 0x79 , 0x46 , 0xa7 , 0x2f , 0x1d , 0x3a , 0x79 , 0xc5 , 0xeb , 0x2b ,
0xfd , 0x4f , 0x48 , 0x3d , 0x1a , 0x87 , 0xf2 , 0x09 , 0xdd , 0x6a , 0xf6 , 0x1a , 0xb4 , 0xe4 , 0x4a , 0xf2 ,
0xe3 , 0x50 , 0x69 , 0xec , 0x25 , 0x02 , 0x0e , 0x8e , 0x43 , 0xf4 , 0x83 , 0x9c , 0xcd , 0x69 , 0x90 , 0x5d ,
0xd6 , 0x26 , 0x6c , 0x57 , 0xee , 0xcd , 0x1b , 0xb0 , 0xa2 , 0x5d , 0xd5 , 0xbc , 0x3f , 0xe6 , 0x47 , 0x42 ,
0x9b , 0xdf , 0xf1 , 0x74 , 0x82 , 0xc3 , 0xe5 , 0x7b , 0xfc , 0x48 , 0xf8 , 0x8f , 0x60 , 0x5d , 0xdd , 0xce ,
0xaf , 0xa5 , 0x5c , 0x0f , 0xfd , 0xc5 , 0xb2 , 0x6e , 0x90 , 0x2a , 0x7a , 0x43 , 0xf1 , 0xa3 , 0xed , 0x43 ,
0x94 , 0x14 , 0x86 , 0x1f , 0x00 , 0x53 , 0xd5 , 0x77 , 0xc7 , 0x49 , 0xce , 0x15 , 0x41 , 0x1f , 0x3a , 0x83 ,
0x71 , 0x92 , 0x6b , 0x23 , 0x5f , 0x2d , 0xc7 , 0xc1 , 0xf0 , 0x04 , 0xf2 , 0xe9 , 0x60 , 0x80 , 0xf7 , 0x5d ,
0x2a , 0x79 , 0x5d , 0xf4 , 0xff , 0xca , 0x83 , 0x0d , 0xa2 , 0xa6 , 0xe5 , 0x88 , 0xb1 , 0x0c , 0x5f , 0x7d ,
0x9a , 0x9d , 0x81 , 0xed , 0xf8 , 0x6c , 0xc2 , 0xfc , 0x51 , 0x92 , 0x0d , 0xb8 , 0x1a , 0x49 , 0x16 , 0x7e ,
0x7a , 0x5b , 0xb7 , 0x59 , 0xb1 , 0x75 , 0xff , 0xc5 , 0x83 , 0x75 , 0x9a , 0xea , 0x81 , 0x08 , 0xc5 , 0x34 ,
0x57 , 0xcb , 0xff , 0x55 , 0x58 , 0xc6 , 0xa5 , 0x72 , 0x7d , 0x69 , 0xd4 , 0x44 , 0x37 , 0xcd , 0xfd , 0x26 ,
0x54 , 0x36 , 0xde , 0x3d , 0x17 , 0xb8 , 0x8d , 0xd9 , 0x97 , 0xa1 , 0x63 , 0xc7 , 0x1b , 0x68 , 0xce , 0xed ,
0x9d , 0x8b , 0x7a , 0x95 , 0x15 , 0xce , 0xd9 , 0x3d , 0x17 , 0x38 , 0x1d , 0xd8 , 0x2d , 0x00 , 0xd2 , 0xda ,
0x44 , 0x56 , 0x39 , 0x8a , 0x17 , 0xdd , 0x4d , 0xb2 , 0x0e , 0x6b , 0xf7 , 0x5c , 0x60 , 0x35 , 0xbf , 0xb3 ,
0x04 , 0x0b , 0x52 , 0xcd , 0xf8 , 0x0f , 0x61 , 0xd9 , 0x99 , 0xa9 , 0x63 , 0xc3 , 0x77 , 0xa4 , 0x0d , 0x5f ,
0x71 , 0xf9 , 0x1a , 0x55 , 0x97 , 0xcf , 0xff , 0xbb , 0x06 , 0x30 , 0xe4 , 0xb6 , 0xd2 , 0x71 , 0xa2 , 0x9e ,
0x4b , 0x86 , 0x8e , 0xd5 , 0xd2 , 0x09 , 0x6c , 0x88 , 0xdd , 0x00 , 0x66 , 0x15 , 0xb5 , 0x67 , 0x2f , 0xb5 ,
0x43 , 0x4d , 0x0d , 0x8a , 0x31 , 0x69 , 0x72 , 0x68 , 0x0f , 0x53 , 0x59 , 0x69 , 0xf2 , 0xdc , 0x6a , 0xeb ,
0x50 , 0x01 , 0xa4 , 0xd3 , 0xfc , 0x18 , 0xf5 , 0xb0 , 0xb6 , 0x6b , 0x74 , 0xb9 , 0xcc , 0x20 , 0x0b , 0x2f ,
0x65 , 0x90 , 0xc5 , 0x32 , 0x83 , 0x90 , 0xbe , 0xcb , 0xa2 , 0x93 , 0x50 , 0x70 , 0xad , 0x43 , 0x54 , 0x11 ,
0xcd , 0x98 , 0x49 , 0x14 , 0x93 , 0x7a , 0xee , 0x4f , 0x70 , 0x74 , 0x65 , 0xc6 , 0x38 , 0xa0 , 0xff , 0x63 ,
0x0f , 0xd6 , 0x70 , 0xef , 0x1c , 0xfe , 0x7a , 0x0f , 0x88 , 0xbd , 0x5f , 0x91 , 0xbd , 0x9c , 0xb6 , 0x3f ,
0x3f , 0x77 , 0xbd , 0x0b , 0x2d , 0x22 , 0x98 , 0xa4 , 0x3c , 0x56 , 0xcc , 0xd5 , 0x75 , 0x99 , 0xab , 0x90 ,
0x2c , 0xbb , 0xe7 , 0x82 , 0xa2 , 0xb1 , 0xc5 , 0x5a , 0xff , 0xec , 0x41 , 0x5b , 0x4d , 0xf3 , 0x67 , 0x36 ,
0xb6 , 0x7b , 0xb0 , 0x84 , 0x5c , 0x66 , 0xd9 , 0xb2 , 0xa6 , 0x8c , 0x7a , 0x60 , 0x82 , 0x1e , 0x0d , 0x2a ,
0x3e , 0xc7 , 0xd0 , 0x2e , 0xc3 , 0xa8 , 0xc5 , 0x48 , 0x88 , 0xe6 , 0x7d , 0x11 , 0x8d , 0xfb , 0xba , 0x56 ,
0x85 , 0xec , 0xea , 0xaa , 0x50 , 0x96 , 0xe4 , 0x22 , 0x1c , 0x71 , 0xa5 , 0xa0 , 0x64 , 0x01 , 0x3d , 0x0a ,
0xb5 , 0xa0 , 0xb2 , 0x11 , 0xf5 , 0x23 , 0x80 , 0x0b , 0x95 , 0x2a , 0x63 , 0x48 , 0x29 , 0xdb , 0x71 , 0x1c ,
0x4d , 0x0e , 0x13 , 0x63 , 0x86 , 0x7a , 0xb6 , 0x59 , 0xe9 , 0x54 , 0xb1 , 0x11 , 0x9c , 0xd7 , 0x9a , 0x18 ,
0xf7 , 0xb4 , 0xd0 , 0xbb , 0x0d , 0x32 , 0x21 , 0xde , 0x76 , 0x79 , 0xa0 , 0x3c , 0xa0 , 0xc6 , 0xed , 0xdb ,
0x58 , 0x4f , 0x8f , 0x1d , 0x43 , 0xd7 , 0xa8 , 0x7c , 0x25 , 0xb6 , 0x2d , 0xb3 , 0x00 , 0xc7 , 0x7a , 0xeb ,
0x25 , 0x63 , 0x91 , 0x8c , 0x19 , 0xea , 0x61 , 0xce , 0xa4 , 0xc6 , 0x66 , 0x70 , 0x59 , 0xd7 , 0x91 , 0x5c ,
0xae , 0x8e , 0xd7 , 0x7c , 0xa5 , 0xb5 , 0x3d , 0xc0 , 0xce , 0xee , 0xa0 , 0x2f , 0x21 , 0xdc , 0xfb , 0x91 ,
0x07 , 0x2b , 0x2e , 0x39 , 0x64 , 0x1d , 0xe5 , 0x8f , 0x68 , 0x01 , 0xa3 , 0x4d , 0xa9 , 0x12 , 0x5c , 0xf5 ,
0xa8 , 0x1a , 0x75 , 0x1e , 0x95 , 0xed , 0x37 , 0xcd , 0xbd , 0xcc , 0x6f , 0x6a , 0xbe , 0x9a , 0xdf , 0x34 ,
0x5f , 0xe7 , 0x37 , 0xf5 , 0xfe , 0xcb , 0x03 , 0x56 , 0x3d , 0x5f , 0xf6 , 0x50 , 0xba , 0x74 , 0x31 , 0x1f ,
0x2b , 0x39 , 0xf1 , 0xcb , 0xaf , 0xc6 , 0x23 , 0x7a , 0x0f , 0x75 , 0x6f , 0x64 , 0x56 , 0x5b , 0x10 , 0xd8 ,
0xa6 , 0xc8 , 0x72 , 0x50 , 0x57 , 0x55 , 0xf2 , 0xe4 , 0x9a , 0x2f , 0xf7 , 0xe4 , 0xe6 , 0x5f , 0xee , 0xc9 ,
0x2d , 0x94 , 0x3d , 0xb9 , 0xde , 0xef , 0xc0 , 0xb2 , 0x73 , 0xea , 0xff , 0x7b , 0x2b , 0x2e , 0x9b , 0x31 ,
0xf2 , 0x80 , 0x1d , 0xac , 0xf7 , 0x9f , 0x0d , 0x60 , 0x55 , 0xce , 0xfb , 0x7f , 0x9d , 0x03 , 0xf1 , 0x91 ,
0x23 , 0x40 , 0xe6 , 0x14 , 0x1f , 0x39 , 0xa2 , 0xe3 , 0xff , 0x52 , 0x28 , 0xbe , 0x05 , 0xeb , 0x19 , 0x1f ,
0x24 , 0x27 , 0xf4 , 0x6c , 0xe5 , 0x46 , 0x01 , 0xaa , 0x15 , 0x68 , 0xc8 , 0xb9 , 0xfe , 0xeb , 0x92 , 0xf3 ,
0xca , 0x60 , 0x69 , 0x86 , 0x92 , 0x1b , 0xeb , 0x7f , 0x11 , 0x36 , 0xe5 , 0xe3 , 0xcf , 0x1d , 0x49 , 0x4a ,
0xdb , 0x12 , 0xaf , 0x43 , 0xe7 , 0x54 , 0x86 , 0xe9 , 0xfa , 0x49 , 0x3c , 0x9e , 0x29 , 0x25 , 0xd2 , 0x56 ,
0xd8 , 0xd7 , 0xe2 , 0xf1 , 0xcc , 0xff , 0x9e , 0x07 , 0xe7 , 0x4b , 0x7d , 0x8b , 0x68 , 0xbd , 0x14 , 0xb5 ,
0xae , 0xfc , 0x75 , 0x41 , 0x5c , 0xa2 , 0xe2 , 0x71 , 0x6b , 0x89 , 0x52 , 0x25 , 0x55 , 0x2b , 0x70 , 0x0b ,
0xa7 , 0x71 , 0xb5 , 0xbd , 0x3c , 0x98 , 0xba , 0x2a , 0xff , 0x02 , 0x9c , 0x57 , 0x87 , 0xef , 0xae , 0xcd ,
0xdf , 0x81 , 0xad , 0x72 , 0x45 , 0x11 , 0x6d , 0x74 , 0xa7 , 0xac , 0x8b , 0xfe , 0x6f , 0x03 , 0xfb , 0xfa ,
0x94 , 0x67 , 0x33 , 0x7a , 0x17 , 0x30 , 0xa1 , 0xd5 , 0x0b , 0x65 , 0xe7 , 0x7b , 0x21 , 0x9d , 0x1e , 0x7e ,
0x95 , 0xcf , 0xf4 , 0xc3 , 0x4b , 0xa3 , 0x78 , 0x78 , 0xf9 , 0x0c , 0x00 , 0x7a , 0x13 , 0xf4 , 0x90 , 0xa0 ,
0x9f , 0xc2 , 0xd0 , 0x59 , 0x93 , 0x04 , 0xfd , 0x5b , 0xb0 , 0xe1 , 0xd0 , 0x37 , 0x3b , 0xb9 , 0xa0 , 0x7a ,
0x48 , 0x8f , 0xd6 , 0x7d , 0x9e , 0x50 , 0x75 , 0xfe , 0x9f , 0x79 , 0x30 , 0xb7 , 0x9b , 0xa4 , 0x76 , 0xb0 ,
0xc9 , 0x73 , 0x83 , 0x4d , 0x4a , 0xb4 , 0xf6 , 0x8d , 0xe4 , 0x6c , 0x28 , 0xc1 , 0x60 , 0x83 , 0x28 , 0x18 ,
0xc3 , 0x89 , 0x40 , 0x9f , 0xee , 0x28 , 0xc9 , 0x4e , 0xc3 , 0x6c , 0xa8 , 0xb6 , 0xb7 , 0x84 , 0xe2 , 0xea ,
0x0a , 0xf9 , 0x83 , 0x3f , 0xd1 , 0xa6 , 0xa0 , 0x88 , 0xdb , 0x4c , 0xb9 , 0xa1 , 0xaa , 0xe4 , 0x7f , 0xc7 ,
0x83 , 0x79 , 0x9a , 0x2b , 0x5e , 0x16 , 0x79 , 0xfc , 0xf4 , 0x26 , 0x47 , 0x01 , 0x3d , 0x4f , 0x5e , 0x96 ,
0x12 , 0x5c , 0x7a , 0xa9 , 0x6b , 0x54 , 0x5e , 0xea , 0x2e , 0x41 , 0x4b , 0x96 , 0x8a , 0xa7 , 0xad , 0x02 ,
0x60 , 0x97 , 0xa1 , 0x79 , 0x9c , 0xa4 , 0x5a , 0xc5 , 0x81 , 0x8e , 0xe0 , 0x24 , 0x69 , 0x40 , 0xb8 , 0x7f ,
0x1d , 0x56 , 0x1f , 0x25 , 0x43 , 0x6e , 0x05 , 0x00 , 0xce , 0x3c , 0x45 , 0xff , 0x77 , 0x3d , 0x58 , 0xd2 ,
0x8d , 0xd9 , 0x35 , 0x68 , 0xa2 , 0xa6 , 0x2a , 0xd9 , 0x86 , 0x26 , 0xda , 0x8a , 0xed , 0x02 , 0x6a , 0x81 ,
0x12 , 0x86 , 0x1c , 0xc7 , 0xc2 , 0x92 , 0xd0 , 0x6e , 0x63 , 0xa1 , 0xa3 , 0xdf , 0x84 , 0x15 , 0x39 , 0xe7 ,
0x92 , 0x2e , 0x2b , 0xa1 , 0xfe , 0x5f , 0x7b , 0xb0 , 0xec , 0x8c , 0x81 , 0x56 , 0xfe , 0x38 , 0xcc , 0x85 ,
0x8a , 0x5d , 0xa9 , 0x4d , 0xb4 , 0x21 , 0x3b , 0x24 , 0xd4 , 0x70 , 0x43 , 0x42 , 0x26 , 0x58 , 0x31 , 0x67 ,
0x07 , 0x2b , 0x6e , 0x42 , 0xab , 0x78 , 0xf5 , 0x6c , 0x3a , 0x92 , 0x03 , 0x47 , 0xd4 , 0x71 , 0xe4 , 0xa2 ,
0x11 , 0xd2 , 0x19 , 0x24 , 0xe3 , 0x24 , 0x53 , 0x8f , 0x82 , 0xb2 , 0xe0 , 0xdf , 0x82 , 0xb6 , 0xd5 , 0x1e ,
0xa7 , 0x11 , 0x73 , 0x71 , 0x9a , 0x64 , 0x4f , 0x75 , 0x64 , 0x4a , 0x15 , 0xcd , 0xfb , 0x49 , 0xa3 , 0x78 ,
0x3f , 0xf1 , 0xff , 0xc6 , 0x83 , 0x65 , 0xe4 , 0x94 , 0x28 , 0x1e , 0xed , 0x27 , 0xe3 , 0x68 , 0x30 , 0x23 ,
0x8e , 0xd1 , 0x4c , 0xa1 , 0x5e , 0x0b , 0x35 , 0xc7 , 0xb8 , 0x30 , 0x9a , 0x04 , 0xda , 0xc8 , 0x57 , 0xfc ,
0x62 , 0xca , 0xc8 , 0xf9 , 0xa8 , 0xda , 0x0e , 0xc3 , 0x9c , 0x4b , 0xaf , 0x40 , 0x89 , 0x72 , 0x07 , 0x44 ,
0xe9 , 0x82 , 0x40 , 0x16 , 0x0a , 0xde , 0x9f , 0x44 , 0xe3 , 0x71 , 0x24 , 0xdb , 0x4a , 0x0e , 0xaf , 0xab ,
0xf2 , 0x7f , 0xd8 , 0x80 , 0xb6 , 0x92 , 0x22 , 0xf7 , 0x87 , 0x23 , 0x19 , 0x64 , 0x55 , 0x76 , 0x8a , 0xb9 ,
0x7e , 0x16 , 0xa2 , 0xeb , 0x1d , 0xcb , 0xc6 , 0x42 , 0xca , 0xc7 , 0x3a , 0x57 , 0x3d , 0xd6 , 0x4b , 0xd0 ,
0x42 , 0xf6 , 0x7a , 0x9b , 0x4c , 0x28 , 0xf9 , 0x48 , 0x5e , 0x00 , 0xba , 0x76 , 0x87 , 0x6a , 0xe7 , 0x8b ,
0x5a , 0x02 , 0x1c , 0xa3 , 0x69 , 0xa1 , 0x64 , 0x34 , 0xbd , 0x0b , 0x1d , 0x45 , 0x86 , 0xf6 , 0x9d , 0x7c ,
0xae , 0x82 , 0xc1 , 0x9d , 0x33 , 0x09 , 0x9c , 0x96 , 0xba , 0xe7 , 0x8e , 0xee , 0xb9 , 0xf4 , 0xb2 , 0x9e ,
0xba , 0x25 , 0xbd , 0x3c , 0xc8 , 0xbd , 0x79 , 0x98 , 0x85 , 0xe9 , 0xb1 , 0x96 , 0xcc , 0x43 , 0xf3 , 0xbe ,
0x4a , 0x30 , 0xbb , 0x0e , 0xf3 , 0xd8 , 0x4d , 0x4b , 0xbf , 0xfa , 0x4b , 0x27 , 0x9b , 0xb0 , 0x6b , 0x30 ,
0xcf , 0x87 , 0x23 , 0xae , 0x0d , 0x77 , 0xe6 , 0xba , 0x50 , 0x78 , 0x46 , 0x81 , 0x6c , 0x80 , 0x22 , 0x00 ,
0xd1 , 0x92 , 0x08 , 0x70 , 0x25 , 0xe7 , 0x02 , 0x16 , 0xdf , 0x1f , 0xfa , 0x9b , 0xc0 , 0x1e , 0x49 , 0xae ,
0xb5 , 0x43 , 0x86 , 0x7f , 0x30 , 0x07 , 0x6d , 0x0b , 0xc6 , 0xdb , 0x3c , 0xc2 , 0x09 , 0xf7 , 0x87 , 0x51 ,
0x38 , 0xe1 , 0x82 , 0x67 , 0x8a , 0x53 , 0x4b , 0x28 , 0x09 , 0xd8 , 0x93 , 0x51 , 0x3f , 0x99 , 0x8a , 0xfe ,
0x90 , 0x8f , 0x32 , 0x2e , 0xf5 , 0x9d , 0x17 , 0x94 , 0x50 , 0x6c , 0x37 , 0x09 , 0x9f , 0xd9 , 0xed , 0x24 ,
0x3f , 0x94 , 0x50 , 0x1d , 0x00 , 0x94 , 0x7b , 0xd4 , 0x2c , 0x02 , 0x80 , 0x72 , 0x47 , 0xca , 0x72 , 0x68 ,
0xbe , 0x46 , 0x0e , 0xbd , 0x03 , 0x5b , 0x52 , 0xe2 , 0xa8 , 0xbb , 0xd9 , 0x2f , 0xb1 , 0xc9 , 0x19 , 0xb5 ,
0xec , 0x3a , 0xac , 0xe1 , 0x9c , 0x35 , 0x83 , 0xe7 , 0xd1 , 0x27 , 0xd2 , 0x59 , 0xf7 , 0x82 , 0x0a , 0x8e ,
0x6d , 0xf1 , 0x3a , 0x3a , 0x6d , 0xe5 , 0x2b , 0x44 , 0x05 , 0xa7 , 0xb6 , 0xe1 , 0x33 , 0xb7 , 0x6d , 0x4b ,
0xb5 , 0x2d , 0xe1 , 0xfe , 0x32 , 0xb4 , 0x0f , 0x44 , 0x92 , 0xea , 0x43 , 0x59 , 0x81 , 0x8e , 0x2c , 0xaa ,
0x97 , 0xa7 , 0xd7 , 0xe0 , 0x22 , 0x71 , 0xd1 , 0xe3 , 0x24 , 0x4d , 0xc6 , 0xc9 , 0x68 , 0x76 , 0x30 , 0x3d ,
0xcc , 0x07 , 0x59 , 0x94 , 0xa2 , 0x41 , 0xed , 0xff , 0x93 , 0x07 , 0x1b , 0x4e , 0xad , 0x8a , 0x04 , 0x7c ,
0x5e , 0xb2 , 0xb4 , 0x79 , 0x2c , 0x90 , 0x8c , 0xb7 , 0x6e , 0x89 , 0x43 , 0xd9 , 0x50 , 0xc6 , 0x55 , 0x9e ,
0xa8 , 0xf7 , 0x83 , 0xdb , 0xb0 , 0xaa , 0x67 , 0xa6 , 0x3b , 0x4a , 0x2e , 0xec , 0x56 , 0xb9 , 0x50 , 0xf5 ,
0x5f , 0x51 , 0x1d , 0x34 , 0x89 , 0x5f , 0x93 , 0x66 , 0x29 , 0x1f , 0xd2 , 0x1a , 0xb5 , 0x4b , 0xd8 , 0xd3 ,
0xfd , 0x6d , 0x5b , 0x58 , 0xcf , 0x60 , 0x60 , 0xc0 , 0xdc , 0xff , 0x23 , 0x0f , 0xa0 , 0x98 , 0x1d , 0x32 ,
0x46 , 0x21 , 0xd2 , 0x65 , 0x76 , 0x94 , 0x25 , 0xbe , 0x5f , 0x87 , 0x8e , 0x09 , 0x63 , 0x17 , 0x5a , 0xa2 ,
0xad , 0x31 , 0x34 , 0x60 , 0xae , 0xc2 , 0xea , 0x68 , 0x9c , 0x1c , 0x92 , 0xce , 0xa5 , 0xa7 , 0xcc , 0x5c ,
0xbd , 0xbf , 0xad , 0x48 , 0xf8 , 0x81 , 0x42 , 0x0b , 0x95 , 0xd2 , 0xb4 , 0x54 , 0x8a , 0xff , 0xc7 , 0x0d ,
0x13 , 0x16 , 0x2d , 0xd6 , 0x7c , 0xe6 , 0x2d , 0x63 , 0x3b , 0x15 , 0xe1 , 0x78 , 0x46 , 0x14 , 0x92 , 0x82 ,
0x1f , 0xfb , 0x2f , 0xf5 , 0x03 , 0x6f , 0xc1 , 0x4a , 0x26 , 0xa5 , 0x8f , 0x16 , 0x4d , 0xcd , 0x17 , 0x88 ,
0xa6 , 0xe5 , 0xcc , 0xd1 , 0x3b , 0xbf , 0x08 , 0x6b , 0xe1 , 0xf0 , 0x84 , 0x67 , 0x22 , 0x22 , 0x87 , 0x80 ,
0x94 , 0xbe , 0x14 , 0xa8 , 0xab , 0x16 , 0x4e , 0xba , 0xf8 , 0x2a , 0xac , 0xaa , 0x37 , 0x4f , 0xd3 , 0x52 ,
0xa5 , 0xbe , 0x14 , 0x30 , 0x36 , 0xf4 , 0x7f , 0xa0 , 0x23 , 0xb0 , 0xee , 0x19 , 0x9e , 0xbd , 0x23 , 0xf6 ,
0xea , 0x1a , 0xa5 , 0xd5 , 0xfd , 0x82 , 0x8a , 0x86 , 0x0e , 0xb5 , 0xd7 , 0xa1 , 0xe2 , 0xd2 , 0x12 , 0x54 ,
0xd1 , 0x6b , 0x77 , 0x4b , 0x9b , 0xaf , 0xb2 , 0xa5 , 0xfe , 0xf7 , 0xe6 , 0x60 , 0xf1 , 0xfd , 0xf8 , 0x24 ,
0x89 , 0x06 , 0x14 , 0x9b , 0x9c , 0xf0 , 0x49 , 0xa2 , 0xf3 , 0x0b , 0xf0 , 0x37 , 0x6a , 0x74 , 0x7a , 0x54 ,
0x4b , 0x85 , 0x0a , 0x2e , 0xea , 0x22 , 0x6a , 0xb7 , 0xac , 0xc8 , 0xb9 , 0x91 , 0x9c , 0x62 , 0x21 , 0x68 ,
0x1f , 0x66 , 0x76 , 0xc2 , 0x91 , 0x2a , 0x15 , 0x09 , 0x1a , 0xf3 , 0x56 , 0x82 , 0x06 , 0x45 , 0xb2 , 0xe5 ,
0x7b , 0x21 , 0x6d , 0xe7 , 0x52 , 0xa0 , 0x8b , 0x64 , 0xc7 , 0x66 , 0x5c , 0xfa , 0xc4 , 0xa4 , 0x27 , 0x17 ,
0x95 , 0x1d , 0x6b , 0x83 , 0xa8 , 0x4b , 0x65 , 0x07 , 0xd9 , 0x46 , 0xca , 0x1a , 0x1b , 0x42 , 0xdb , 0xa2 ,
0x9c , 0xb3 , 0xd4 , 0x92 , 0x47 , 0x5c , 0x82 , 0x51 , 0x20 , 0x0d , 0xb9 , 0x91 , 0x1b , 0x72 , 0x0d , 0x20 ,
0x73 , 0x8a , 0xca , 0xb8 , 0x65 , 0x05 , 0xcb , 0x77 , 0x4f , 0x55 , 0x22 , 0x1b , 0x24 , 0x1c , 0x8f , 0x0f ,
0xc3 , 0xc1 , 0x53 , 0xca , 0x24 , 0xa3 , 0x67 , 0xce , 0x56 , 0xe0 , 0x82 , 0x38 , 0x6b , 0x4a , 0x8c , 0x52 ,
0x24 , 0x96 , 0xe5 , 0x33 , 0xa5 , 0x05 , 0xf9 , 0xdf , 0x00 , 0x76 , 0x7b , 0x38 , 0x54 , 0x27 , 0x64 , 0x7c ,
0x84 , 0x62 , 0x6f , 0x3d , 0x67 , 0x6f , 0x6b , 0xd6 , 0xd8 , 0xa8 , 0x5d , 0xa3 , 0x7f , 0x1f , 0xda , 0xfb ,
0x56 , 0x02 , 0x18 , 0x1d , 0xa6 , 0x4e , 0xfd , 0x52 , 0x0c , 0x60 , 0x21 , 0xd6 , 0x80 , 0x0d , 0x7b , 0x40 ,
0xff , 0x57 , 0x80 , 0xed , 0x45 , 0xb9 , 0x30 , 0xf3 , 0x33 , 0x9e , 0xa4 , 0x09 , 0x88 , 0x59 , 0x9e , 0xa4 ,
0xc2 , 0xc8 , 0x93 , 0xbc , 0x2d , 0x5f , 0x4b , 0xcb , 0x0b , 0xbb , 0x0e , 0x4b , 0x91 , 0x84 , 0xb4 , 0x1c ,
0x5e , 0x51 , 0x0c , 0xac , 0x5b , 0x9a , 0x7a , 0x34 , 0x28 , 0x14 , 0xe8 , 0x88 , 0xf9 , 0x1f , 0x7a , 0xb0 ,
0xa8 , 0x96 , 0x86 , 0xea , 0xd0 , 0x49 , 0x7d , 0x93 , 0x0b , 0x73 , 0xb0 , 0xfa , 0x84 , 0xa1 , 0x2a , 0xd7 ,
0xcd , 0xd5 , 0x71 , 0x1d , 0x83 , 0x66 , 0x1a , 0x8a , 0x63 , 0xb2 , 0xa0 , 0x5b , 0x01 , 0xfd , 0xd6 , 0x9e ,
0xd2 , 0x7c , 0xe1 , 0x29 , 0xd5 , 0xe5 , 0xa8 , 0x49 , 0x99 , 0x51 , 0xc1 , 0xf5 , 0x2b , 0xb2 , 0x5a , 0x80 ,
0x09 , 0x80 , 0xde , 0x91 , 0xaf , 0xc8 , 0x05 , 0x5c , 0xec , 0x97 , 0x22 , 0x51 , 0xde , 0x2f , 0xd5 , 0x34 ,
0x30 , 0xf5 , 0x7e , 0x0f , 0xba , 0xf7 , 0xf8 , 0x98 , 0x0b , 0x7e , 0x7b , 0x3c , 0x2e , 0xd3 , 0x7f , 0x0d ,
0x2e , 0xd6 , 0xd4 , 0x29 , 0xad , 0xfa , 0x00 , 0xd6 , 0xef , 0xf1 , 0xc3 , 0xe9 , 0x68 , 0x8f , 0x9f , 0x14 ,
0x2f , 0x0f , 0x0c , 0x9a , 0xf9 , 0x71 , 0x72 , 0xaa , 0xce , 0x96 , 0x7e , 0xa3 , 0xc3 , 0x3b , 0xc6 , 0x36 ,
0xfd , 0x3c , 0xe5 , 0x03 , 0x9d , 0x19 , 0x43 , 0xc8 , 0x41 , 0xca , 0x07 , 0xfe , 0x3b , 0xc0 , 0x6c , 0x3a ,
0x6a , 0x09 , 0x78 , 0x73 , 0xa7 , 0x87 , 0xfd , 0x7c , 0x96 , 0x0b , 0x3e , 0xd1 , 0x29 , 0x3f , 0x36 , 0xe4 ,
0x5f , 0x85 , 0xce , 0x7e , 0x38 , 0x0b , 0xf8 , 0xc7 , 0x2a , 0xfb , 0x10 , 0x9d , 0xb7 , 0x70 , 0x86 , 0xac ,
0x6c , 0x9c , 0x37 , 0xaa , 0xf6 , 0xff , 0xa1 , 0x01 , 0x0b , 0xb2 , 0x25 , 0x52 , 0x1d , 0xf2 , 0x5c , 0x44 ,
0xb1 , 0x8c , 0xd0 , 0x2b , 0xaa , 0x16 , 0x54 , 0xe1 , 0x8d , 0x46 , 0x0d , 0x6f , 0x28 , 0x73 , 0x4a , 0xe7 ,
0x17 , 0x28 , 0x26 , 0x70 , 0x30 , 0xf2 , 0x4d , 0xcd , 0x9b , 0x65 , 0x53 , 0xf9 , 0xa6 , 0x1a , 0x28 , 0x79 ,
0xc9 , 0x85 , 0x7c , 0x90 , 0xf3 , 0xd3 , 0x4c , 0xab , 0xd8 , 0xc1 , 0x86 , 0x6a , 0xa5 , 0xd0 , 0xa2 , 0xe4 ,
0x9a , 0x8a , 0x14 , 0xaa , 0x48 , 0x9b , 0xa5 , 0x57 , 0x90 , 0x36 , 0xd2 , 0xc6 , 0x72 , 0xa4 , 0x0d , 0x83 ,
0xb5 , 0x07 , 0x9c , 0x07 , 0x3c , 0x4d , 0x32 , 0x9d , 0xc2 , 0xe9 , 0x7f , 0xd7 , 0x83 , 0x35 , 0xa5 , 0x3d ,
0x4c , 0x1d , 0x7b , 0xdd , 0x51 , 0x35 , 0x5e , 0x5d , 0xd0 , 0xf6 , 0x0d , 0x58 , 0x26 , 0x67 , 0x0b , 0x3d ,
0x29 , 0xf2 , 0xac , 0x54 , 0xfc , 0xc1 , 0x01 , 0x71 , 0x4e , 0x3a , 0x0c , 0x39 , 0x89 , 0xc6 , 0x6a , 0x83 ,
0x6d , 0x08 , 0xd5 , 0xa2 , 0x76 , 0xc6 , 0x68 , 0x7b , 0xbd , 0xc0 , 0x94 , 0xfd , 0xbf , 0xf7 , 0x60 , 0xdd ,
0x9a , 0xb0 , 0xe2 , 0xa8 , 0x5b , 0xa0 , 0x5f , 0x2e , 0x65 , 0x3c , 0x41 , 0x5e , 0x8c , 0x0b , 0xae , 0x26 ,
0x2c , 0xba , 0x39 , 0x8d , 0xe9 , 0x60 , 0xc2 , 0x19 , 0x4d , 0x30 , 0x9f , 0xca , 0xdc , 0xa9 , 0x66 , 0x60 ,
0x43 , 0xc8 , 0x14 , 0xa7 , 0x9c , 0x3f , 0x35 , 0x4d , 0xe6 , 0xa8 , 0x89 , 0x83 , 0xd1 , 0xc3 , 0x54 , 0x12 ,
0x8b , 0x63 , 0xd3 , 0x48 , 0x66 , 0x5c , 0xb8 , 0xa0 , 0xff , 0xaf , 0x1e , 0x6c , 0x48 , 0x0b , 0x44 , 0xd9 ,
0x77 , 0x26 , 0xe9 , 0x6a , 0x41 , 0x9a , 0x5c , 0xf2 , 0x76 , 0xed , 0x9e , 0x0b , 0x54 , 0x99 , 0x7d , 0xe1 ,
0x15 , 0xad , 0x26 , 0xf3 , 0x20 , 0x79 , 0xc6 , 0x59 , 0xcc , 0xd5 , 0x9d , 0xc5 , 0x0b , 0x76 , 0xba , 0xce ,
0x33 , 0x9f , 0xaf , 0xf5 , 0xcc , 0xef , 0x2c , 0xc2 , 0x7c , 0x3e , 0x48 , 0x52 , 0xee , 0x6f , 0xc1 , 0xa6 ,
0xbb , 0x38 , 0x25 , 0x4e , 0xbe , 0xef , 0x41 , 0xf7 , 0x81 , 0x0c , 0x2b , 0x45 , 0xf1 , 0x68 , 0x37 , 0xca ,
0x45 , 0x92 , 0x99 , 0xb4 , 0xd3 , 0xcb , 0x00 , 0xb9 , 0x08 , 0x33 , 0x21 , 0xd3 , 0x42 , 0x94 , 0x4f , 0x5d ,
0x20 , 0x38 , 0x47 , 0x1e , 0x0f , 0x65 , 0xad , 0x3c , 0x1b , 0x53 , 0xc6 , 0x83 , 0xa1 , 0xc7 , 0xd2 , 0x7e ,
0x72 , 0x74 , 0x94 , 0x73 , 0x63 , 0x23 , 0xd9 , 0x18 , 0xba , 0x59 , 0x78 , 0x7b , 0xd1 , 0xb1 , 0xe0 , 0x27 ,
0x24 , 0x36 , 0xa5 , 0x0f , 0x55 , 0x42 , 0xfd , 0xbf , 0xf5 , 0x60 , 0xb5 , 0x98 , 0xe4 , 0x7d , 0x04 , 0xdd ,
0x9b , 0x2e , 0xa7 , 0x66 , 0xdd , 0x74 , 0xed , 0xed , 0x47 , 0xc3 , 0x7e , 0x14 , 0xab , 0xb9 , 0x59 , 0x08 ,
0xdd , 0x3e , 0x55 , 0x4a , 0xa6 , 0x3a , 0x05 , 0xc7 , 0x86 , 0xe4 , 0x2b , 0x9d , 0xc0 , 0xde , 0x32 , 0xff ,
0x46 , 0x95 , 0x28 , 0xab , 0x67 , 0x22 , 0xa8 , 0xd7 , 0x82 , 0x8c , 0xf1 , 0xa9 , 0xa2 , 0xd6 , 0x35 , 0x8b ,
0x84 , 0xe2 , 0x4f , 0xff , 0x3b , 0x1e , 0x5c , 0xac , 0xd9 , 0x5c , 0x75 , 0x33 , 0xee , 0xc1 , 0xfa , 0x91 ,
0xa9 , 0xd4 , 0x1b , 0x20 , 0xaf , 0xc7 , 0x96 , 0xe2 , 0xa2 , 0xd2 , 0xa2 , 0x83 , 0x6a , 0x07 , 0xf6 , 0x16 ,
0xac , 0x53 , 0x90 , 0x42 , 0x6e , 0xa9 , 0xf3 , 0x68 , 0x5d , 0xad , 0xd8 , 0xf9 , 0x41 , 0x03 , 0x56 , 0x64 ,
0xcc , 0x58 , 0x7e , 0x78 , 0xc0 , 0x33 , 0xf6 , 0x01 , 0x2c , 0xaa , 0xcf , 0x3c , 0xd8 , 0x79 , 0x35 , 0xac ,
0xfb , 0x61 , 0x49 , 0x6f , 0xab , 0x0c , 0x2b , 0xde , 0xd9 , 0xf8 , 0xfd , 0x1f , 0xff , 0xc7 , 0x9f , 0x34 ,
0x96 , 0x59 , 0x7b , 0xfb , 0xe4 , 0xed , 0xed , 0x11 , 0x8f , 0x73 , 0xa4 , 0xf1 , 0x9b , 0x00 , 0xc5 , 0x97 ,
0x12 , 0xac , 0x6b , 0x0c , 0x86 , 0xd2 , 0x97 , 0x1d , 0xbd , 0x8b , 0x35 , 0x35 , 0x8a , 0xee , 0x45 , 0xa2 ,
0xbb , 0xe1 , 0xaf , 0x20 , 0xdd , 0x28 , 0x8e , 0x84 , 0xfc , 0x6c , 0xe2 , 0x3d , 0xef , 0x3a , 0x1b , 0x42 ,
0xc7 , 0xfe , 0x62 , 0x82 , 0x69 , 0xff , 0xac , 0xe6 , 0x33 , 0x8c , 0xde , 0x6b , 0xb5 , 0x75 , 0xda , 0x39 ,
0xa5 , 0x31 , 0xce , 0xfb , 0x6b , 0x38 , 0xc6 , 0x94 , 0x5a , 0x98 , 0x51 , 0x76 , 0xfe , 0xed , 0x35 , 0x68 ,
0x99 , 0x18 , 0x07 , 0xfb , 0x36 , 0x2c , 0x3b , 0x61 , 0x76 , 0xa6 , 0x09 , 0xd7 , 0x05 , 0xee , 0x7b , 0x97 ,
0xea , 0x2b , 0xd5 , 0xb0 , 0x97 , 0x69 , 0xd8 , 0x2e , 0xdb , 0xc2 , 0x61 , 0x55 , 0x6c , 0x7b , 0x9b , 0xde ,
0x1f , 0x64 , 0x16 , 0xcf , 0x53 , 0x58 , 0x71 , 0x43 , 0xe3 , 0xec , 0x92 , 0x2b , 0x50 , 0x4a , 0xa3 , 0x7d ,
0xe6 , 0x8c , 0x5a , 0x35 , 0xdc , 0x25 , 0x1a , 0x6e , 0x8b , 0x6d , 0xda , 0xc3 , 0x99 , 0xd8 , 0x03 , 0xa7 ,
0xbc , 0x2b , 0xfb , 0x53 , 0x0a , 0xf6 , 0x19 , 0x73 , 0xd4 , 0x75 , 0x9f , 0x58 , 0x98 , 0x43 , 0xab , 0x7e ,
0x67 , 0xe1 , 0x77 , 0x69 , 0x28 , 0xc6 , 0x68 , 0x43 , 0xed , 0x2f , 0x29 , 0xd8 , 0x47 , 0xd0 , 0x32 , 0xe9 ,
0xd3 , 0xec , 0x82 , 0x95 , 0xb3 , 0x6e , 0xe7 , 0x74 , 0xf7 , 0xba , 0xd5 , 0x8a , 0xba , 0xa3 , 0xb2 , 0x29 ,
0x23 , 0x43 , 0xec , 0xc1 , 0x79 , 0x65 , 0x70 , 0x1e , 0xf2 , 0x9f , 0x66 , 0x25 , 0x35 , 0x1f , 0x80 , 0xdc ,
0xf4 , 0xd8 , 0x2d , 0x58 , 0xd2 , 0x59 , 0xe9 , 0x6c , 0xab , 0x3e , 0xbb , 0xbe , 0x77 , 0xa1 , 0x82 , 0xab ,
0xfb , 0x7c , 0x1b , 0xa0 , 0x48 , 0xa0 , 0x36 , 0x9c , 0x5f , 0xc9 , 0xf3 , 0x36 , 0x9b , 0x58 , 0x93 , 0x6d ,
0x3d , 0xa2 , 0xfc , 0x71 , 0x37 , 0x3f , 0x9b , 0x7d , 0xb6 , 0x68 , 0x5f , 0x9b , 0xb9 , 0xfd , 0x02 , 0x82 ,
0xfe , 0x16 , 0xed , 0xdd , 0x1a , 0xa3 , 0xab , 0x14 , 0xf3 , 0x53 , 0x9d , 0x81 , 0x78 , 0x0f , 0xda , 0x56 ,
0x52 , 0x36 , 0xd3 , 0x14 , 0xaa , 0x09 , 0xdd , 0xbd , 0x5e , 0x5d , 0x95 , 0x9a , 0xee , 0x57 , 0x60 , 0xd9 ,
0xc9 , 0xae , 0x36 , 0x37 , 0xa3 , 0x2e , 0x77 , 0xdb , 0xdc , 0x8c , 0xfa , 0x84 , 0xec , 0x6f , 0x42 , 0xdb ,
0xca , 0x85 , 0x66 , 0x56 , 0xfe , 0x46 , 0x29 , 0x0b , 0xda , 0xcc , 0xa8 , 0x2e , 0x75 , 0x7a , 0x93 , 0xd6 ,
0xbb , 0xe2 , 0xb7 , 0x70 , 0xbd , 0x94 , 0x86 , 0x87 , 0x4c , 0xf2 , 0x6d , 0x58 , 0x71 , 0xb3 , 0xa3 , 0xcd ,
0xad , 0xaa , 0xcd , 0xb3 , 0x36 , 0xb7 , 0xea , 0x8c , 0x94 , 0x6a , 0xc5 , 0x90 , 0xd7 , 0x37 , 0xcc , 0x20 ,
0xdb , 0x9f , 0xaa , 0x08 , 0xff , 0x73 , 0xf6 , 0x75 , 0x14 , 0x1d , 0x2a , 0x2f , 0x92 , 0x15 , 0x39 , 0xe1 ,
0x6e , 0xf6 , 0xa4 , 0xe1 , 0xf6 , 0x4a , 0x0a , 0xa5 , 0xbf , 0x4e , 0xc4 , 0xdb , 0xac , 0x58 , 0x81 , 0x94 ,
0xd0 , 0x94 , 0x1f , 0x69 , 0x49 , 0x68 , 0x3b , 0x85 , 0xd2 , 0x92 , 0xd0 , 0x4e , 0x1a , 0x65 , 0x59 , 0x42 ,
0x8b , 0x08 , 0x69 , 0xc4 , 0xb0 , 0x5a , 0x7a , 0xb3 , 0x35 , 0x97 , 0xa5 , 0x3e , 0xe3 , 0xa3 , 0x77 , 0xf9 ,
0xc5 , 0x4f , 0xbd , 0xae , 0x98 , 0xd1 , 0xe2 , 0x65 , 0x5b , 0x27 , 0xe8 , 0xfc , 0x16 , 0x74 , 0xec , 0xa4 ,
0x5b , 0x23 , 0xb3 , 0x6b , 0x12 , 0x74 , 0x8d , 0xcc , 0xae , 0xcb , 0xd2 , 0xd5 , 0x87 , 0xcb , 0x3a , 0xf6 ,
0x30 , 0xec , 0x9b , 0xb0 , 0x6a , 0x65 , 0x07 , 0x1c , 0xcc , 0xe2 , 0x81 , 0x61 , 0x9e , 0x6a , 0x8e , 0x56 ,
0xaf , 0xce , 0x3e , 0xf3 , 0x2f , 0x10 , 0xe1 , 0x75 , 0xdf , 0x21 , 0x8c , 0x8c , 0x73 , 0x17 , 0xda , 0x76 ,
0xe6 , 0xc1 , 0x0b , 0xe8 , 0x5e , 0xb0 , 0xaa , 0xec , 0xd4 , 0xa6 , 0x9b , 0x1e , 0xfb , 0x73 , 0x0f , 0x3a ,
0x76 , 0xf6 , 0x1f , 0x73 , 0x82 , 0x8a , 0x25 , 0x3a , 0x5d , 0xbb , 0xce , 0x26 , 0xe4 , 0x07 , 0x34 , 0xc9 ,
0xbd , 0xeb , 0x5f , 0x71 , 0x36 , 0xf9 , 0x53 , 0xc7 , 0xce , 0xbf , 0x51 , 0xfe , 0x82 , 0xe9 , 0x79 , 0xb9 ,
0x81 , 0x9d , 0xc7 , 0xf6 , 0xfc , 0xa6 , 0xc7 , 0xde , 0x93 , 0x5f , 0xb9 , 0x69 , 0x1f , 0x9d , 0x59 , 0xc2 ,
0xad , 0xbc , 0x65 , 0xf6 , 0x07 , 0x61 , 0xd7 , 0xbc , 0x9b , 0x1e , 0xfb , 0x96 , 0xfc , 0x50 , 0x49 , 0xf5 ,
0xa5 , 0x9d , 0x7f , 0xd5 , 0xfe , 0xfe , 0x1b , 0xb4 , 0x9a , 0xcb , 0xfe , 0x45 , 0x67 , 0x35 , 0x65 , 0xe9 ,
0xbe , 0x0f , 0x50 , 0x04 , 0x5c , 0x58 , 0x29 , 0xfa , 0x60 , 0xe4 , 0x5e , 0x35 , 0x26 , 0xe3 , 0x9e , 0xa8 ,
0x0e , 0x52 , 0x20 , 0xc5 , 0x8f , 0x24 , 0x33 , 0xaa , 0xf6 , 0xb9 , 0x39 , 0xd2 , 0x6a , 0xe0 , 0xa4 , 0xd7 ,
0xab , 0xab , 0xaa , 0x63 , 0x45 , 0x4d , 0x9f , 0x3d , 0x81 , 0xe5 , 0xbd , 0x24 , 0x79 , 0x3a , 0x4d , 0x4d ,
0x10 , 0xcf , 0xf5 , 0xff , 0x77 , 0xc3 , 0xfc , 0xb8 , 0x57 , 0x5a , 0x85 , 0x7f , 0x85 , 0x48 , 0xf5 , 0x58 ,
0xd7 , 0x22 , 0xb5 , 0xfd , 0x69 , 0x11 , 0xee , 0x79 , 0xce , 0x42 , 0x58 , 0x37 , 0x3a , 0xce , 0x4c , 0xbc ,
0xe7 , 0x92 , 0xb1 , 0xa3 , 0x2e , 0x95 , 0x21 , 0x1c , 0xab , 0x43 , 0xcf , 0x76 , 0x3b , 0xd7 , 0x34 , 0x6f ,
0x7a , 0x6c , 0x1f , 0x3a , 0xf7 , 0xf8 , 0x20 , 0x19 , 0x72 , 0xe5 , 0xb1 , 0x6f , 0x14 , 0x13 , 0x37 , 0xae ,
0x7e , 0x6f , 0xd9 , 0x01 , 0xdd , 0x5b , 0x9f , 0x86 , 0xb3 , 0x8c , 0x7f , 0xbc , 0xfd , 0xa9 , 0x8a , 0x05 ,
0x3c , 0xd7 , 0xb7 , 0x5e , 0xc7 , 0x2f , 0x9c , 0x5b , 0x5f , 0x0a , 0x78 , 0x38 , 0xb7 , 0xbe , 0x12 , 0xf0 ,
0x70 , 0xb6 , 0x5a , 0xc7 , 0x4f , 0xd8 , 0x18 , 0xd6 , 0x2b , 0x31 , 0x12 , 0xa3 , 0x29 , 0xcf , 0x8a , 0xac ,
0xf4 , 0xae , 0x9c , 0xdd , 0xc0 , 0x1d , 0xed , 0xba , 0x3b , 0xda , 0x01 , 0x2c , 0xdf , 0xe3 , 0x72 , 0xb3 ,
0xe4 , 0xc3 , 0x58 , 0xcf , 0x15 , 0x23 , 0xf6 , 0x23 , 0x5a , 0x59 , 0xc4 , 0x50 , 0x9d , 0x2b , 0xd6 , 0xe9 ,
0x55 , 0x8a , 0x7d , 0x04 , 0xed , 0x87 , 0x5c , 0xe8 , 0x97 , 0x30 , 0x63 , 0x6f , 0x94 , 0x9e , 0xc6 , 0x7a ,
0x35 , 0x0f , 0x69 , 0x2e , 0xcf , 0x10 , 0xb5 , 0x6d , 0x3e , 0x1c , 0x71 , 0x79 , 0xd9 , 0xfb , 0xd1 , 0xf0 ,
0x39 , 0xfb , 0x75 , 0x22 , 0x6e , 0x1e , 0xcf , 0xb7 , 0xac , 0x07 , 0x14 , 0x9b , 0xf8 , 0x6a , 0x09 , 0xaf ,
0xa3 , 0x1c , 0x27 , 0x43 , 0x6e , 0x29 , 0xb8 , 0x18 , 0xda , 0x56 , 0xa6 , 0x84 , 0xb9 , 0x40 , 0xd5 , 0xec ,
0x0c , 0x73 , 0x81 , 0x6a , 0x12 , 0x2b , 0xfc , 0x6b , 0x34 , 0x8e , 0xcf , 0xae , 0x14 , 0xe3 , 0xc8 , 0x64 ,
0x8a , 0x62 , 0xa4 , 0xed , 0x4f , 0xc3 , 0x89 , 0x78 , 0xce , 0x3e , 0xa4 , 0x0f , 0x06 , 0xec , 0xd7 , 0xbe ,
0xc2 , 0xde , 0x29 , 0x3f , 0x0c , 0x9a , 0xcd , 0xb2 , 0xaa , 0x5c , 0x1b , 0x48 , 0x0e , 0x45 , 0x7a , 0xf0 ,
0x0b , 0x00 , 0x07 , 0x22 , 0x49 , 0xef , 0x85 , 0x7c , 0x92 , 0xc4 , 0x85 , 0xe4 , 0x2a , 0x5e , 0xb4 , 0x0a ,
0xc9 , 0x65 , 0x3d , 0x6b , 0xb1 , 0x0f , 0x2d , 0x8b , 0xd3 , 0x79 , 0x2c , 0xd5 , 0xcc , 0x75 , 0xe6 , 0xa3 ,
0x97 , 0xd9 , 0x90 , 0x9a , 0x87 , 0xaf , 0x9b , 0x1e , 0xda , 0x8f , 0x45 , 0x44 , 0xce , 0xd8 , 0x8f , 0x95 ,
0x60 , 0x9f , 0x11 , 0x7b , 0x35 , 0xe1 , 0xbb , 0x7d , 0x68 , 0x15 , 0x61 , 0x21 , 0xad , 0x92 , 0xca , 0x41 ,
0x24 , 0xa3 , 0x63 , 0x2a , 0xc1 , 0x1a , 0x7f , 0x8d , 0xb6 , 0x0a , 0xd8 , 0x12 , 0x6e , 0x15 , 0x45 , 0x60 ,
0x22 , 0xd8 , 0x90 , 0x13 , 0x34 , 0x0a , 0x93 , 0xde , 0x68 , 0xf4 , 0x4a , 0x6a , 0x02 , 0x26 , 0xe6 , 0x36 ,
0xd7 , 0xc6 , 0x1b , 0x1c , 0xdf , 0x0e , 0xb9 , 0x55 , 0xbe , 0x0f , 0xa1 , 0x68 , 0x9e , 0xc0 , 0x7a , 0xc5 ,
0x59 , 0x36 , 0x57 , 0xfa , 0xac , 0x18 , 0x85 , 0xb9 , 0xd2 , 0x67 , 0xfa , 0xd9 , 0xfe , 0x79 , 0x1a , 0x72 ,
0xd5 , 0x07 , 0x1c , 0x32 , 0x3f , 0x8d , 0xc4 , 0xe0 , 0xf8 , 0x3d , 0xef , 0xfa , 0xe1 , 0x02 , 0xfd , 0x8f ,
0xc2 , 0xe7 , 0xfe , 0x27 , 0x00 , 0x00 , 0xff , 0xff , 0x2a , 0xe2 , 0xf7 , 0xd2 , 0x79 , 0x41 , 0x00 , 0x00 ,
2015-12-30 23:19:09 +03:00
}