lnrpc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: MIT Imports: 16 Imported by: 0

README

lnrpc

Build Status MIT licensed GoDoc

This lnrpc package implements both a client and server for lnds RPC system which is based off of the high-performance cross-platform gRPC RPC framework. By default, only the Go client+server libraries are compiled within the package. In order to compile the client side libraries for other supported languages, the protoc tool will need to be used to generate the compiled protos for a specific language.

The following languages are supported as clients to lnrpc: C++, Go, Node.js, Java, Ruby, Android Java, PHP, Python, C#, Objective-C.

Service: Lightning

The list of defined RPCs on the service Lightning are the following (with a brief description):

  • WalletBalance
    • Returns the wallet's current confirmed balance in BTC.
  • ChannelBalance
    • Returns the daemons' available aggregate channel balance in BTC.
  • GetTransactions
    • Returns a list of on-chain transactions that pay to or are spends from lnd.
  • SendCoins
    • Sends an amount of satoshis to a specific address.
  • ListUnspent
    • Lists available utxos within a range of confirmations.
  • SubscribeTransactions
    • Returns a stream which sends async notifications each time a transaction is created or one is received that pays to us.
  • SendMany
    • Allows the caller to create a transaction with an arbitrary fan-out (many outputs).
  • NewAddress
    • Returns a new address, the following address types are supported: pay-to-witness-key-hash (p2wkh) and nested-pay-to-witness-key-hash (np2wkh).
  • SignMessage
    • Signs a message with the node's identity key and returns a zbase32 encoded signature.
  • VerifyMessage
    • Verifies a signature signed by another node on a message. The other node must be an active node in the channel database.
  • ConnectPeer
    • Connects to a peer identified by a public key and host.
  • DisconnectPeer
    • Disconnects a peer identified by a public key.
  • ListPeers
    • Lists all available connected peers.
  • GetInfo
    • Returns basic data concerning the daemon.
  • PendingChannels
    • List the number of pending (not fully confirmed) channels.
  • ListChannels
    • List all active channels the daemon manages.
  • OpenChannelSync
    • OpenChannelSync is a synchronous version of the OpenChannel RPC call.
  • OpenChannel
    • Attempts to open a channel to a target peer with a specific amount and push amount.
  • CloseChannel
    • Attempts to close a target channel. A channel can either be closed cooperatively if the channel peer is online, or using a "force" close to broadcast the latest channel state.
  • SendPayment
    • Send a payment over Lightning to a target peer.
  • SendPaymentSync
    • SendPaymentSync is the synchronous non-streaming version of SendPayment.
  • SendToRoute
    • Send a payment over Lightning to a target peer through a route explicitly defined by the user.
  • SendToRouteSync
    • SendToRouteSync is the synchronous non-streaming version of SendToRoute.
  • AddInvoice
    • Adds an invoice to the daemon. Invoices are automatically settled once seen as an incoming HTLC.
  • ListInvoices
    • Lists all stored invoices.
  • LookupInvoice
    • Attempts to look up an invoice by payment hash (r-hash).
  • SubscribeInvoices
    • Creates a uni-directional stream which receives async notifications as the daemon settles invoices
  • DecodePayReq
    • Decode a payment request, returning a full description of the conditions encoded within the payment request.
  • ListPayments
    • List all outgoing Lightning payments the daemon has made.
  • DeleteAllPayments
    • Deletes all outgoing payments from DB.
  • DescribeGraph
    • Returns a description of the known channel graph from the PoV of the node.
  • GetChanInfo
    • Returns information for a specific channel identified by channel ID.
  • GetNodeInfo
    • Returns information for a particular node identified by its identity public key.
  • QueryRoutes
    • Queries for a possible route to a target peer which can carry a certain amount of payment.
  • GetNetworkInfo
    • Returns some network level statistics.
  • StopDaemon
    • Sends a shutdown request to the interrupt handler, triggering a graceful shutdown of the daemon.
  • SubscribeChannelGraph
    • Creates a stream which receives async notifications upon any changes to the channel graph topology from the point of view of the responding node.
  • DebugLevel
    • Set logging verbosity of lnd programmatically
  • FeeReport
    • Allows the caller to obtain a report detailing the current fee schedule enforced by the node globally for each channel.
  • UpdateChannelPolicy
    • Allows the caller to update the fee schedule and channel policies for all channels globally, or a particular channel

Service: WalletUnlocker

The list of defined RPCs on the service WalletUnlocker are the following (with a brief description):

  • CreateWallet
    • Set encryption password for the wallet database.
  • UnlockWallet
    • Provide a password to unlock the wallet database.

Installation and Updating

$ go get -u github.com/litecoinfinance/lnd/lnrpc

Generate protobuf definitions

  1. Download v.3.4.0 of protoc for your operating system and add it to your PATH. For example, if using macOS:
$ curl -LO https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-osx-x86_64.zip
$ unzip protoc-3.4.0-osx-x86_64.zip -d protoc
$ export PATH=$PWD/protoc/bin:$PATH
  1. Install golang/protobuf at commit aa810b61a9c79d51363740d207bb46cf8e620ed5 (v1.2.0).
$ git clone https://github.com/golang/protobuf $GOPATH/src/github.com/golang/protobuf
$ cd $GOPATH/src/github.com/golang/protobuf
$ git reset --hard aa810b61a9c79d51363740d207bb46cf8e620ed5
$ make
  1. Install 'genproto' at commit a8101f21cf983e773d0c1133ebc5424792003214.
$ go get google.golang.org/genproto
$ cd $GOPATH/src/google.golang.org/genproto
$ git reset --hard a8101f21cf983e773d0c1133ebc5424792003214
  1. Install grpc-ecosystem/grpc-gateway at commit f2862b476edcef83412c7af8687c9cd8e4097c0f.
$ git clone https://github.com/grpc-ecosystem/grpc-gateway $GOPATH/src/github.com/grpc-ecosystem/grpc-gateway
$ cd $GOPATH/src/github.com/grpc-ecosystem/grpc-gateway
$ git reset --hard f2862b476edcef83412c7af8687c9cd8e4097c0f
$ go install ./protoc-gen-grpc-gateway ./protoc-gen-swagger
  1. Run gen_protos.sh to generate new protobuf definitions.

Documentation

Overview

Package lnrpc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var AddressType_name = map[int32]string{
	0: "WITNESS_PUBKEY_HASH",
	1: "NESTED_PUBKEY_HASH",
	2: "UNUSED_WITNESS_PUBKEY_HASH",
	3: "UNUSED_NESTED_PUBKEY_HASH",
}
View Source
var AddressType_value = map[string]int32{
	"WITNESS_PUBKEY_HASH":        0,
	"NESTED_PUBKEY_HASH":         1,
	"UNUSED_WITNESS_PUBKEY_HASH": 2,
	"UNUSED_NESTED_PUBKEY_HASH":  3,
}
View Source
var ChannelCloseSummary_ClosureType_name = map[int32]string{
	0: "COOPERATIVE_CLOSE",
	1: "LOCAL_FORCE_CLOSE",
	2: "REMOTE_FORCE_CLOSE",
	3: "BREACH_CLOSE",
	4: "FUNDING_CANCELED",
	5: "ABANDONED",
}
View Source
var ChannelCloseSummary_ClosureType_value = map[string]int32{
	"COOPERATIVE_CLOSE":  0,
	"LOCAL_FORCE_CLOSE":  1,
	"REMOTE_FORCE_CLOSE": 2,
	"BREACH_CLOSE":       3,
	"FUNDING_CANCELED":   4,
	"ABANDONED":          5,
}
View Source
var ChannelEventUpdate_UpdateType_name = map[int32]string{
	0: "OPEN_CHANNEL",
	1: "CLOSED_CHANNEL",
	2: "ACTIVE_CHANNEL",
	3: "INACTIVE_CHANNEL",
}
View Source
var ChannelEventUpdate_UpdateType_value = map[string]int32{
	"OPEN_CHANNEL":     0,
	"CLOSED_CHANNEL":   1,
	"ACTIVE_CHANNEL":   2,
	"INACTIVE_CHANNEL": 3,
}
View Source
var Invoice_InvoiceState_name = map[int32]string{
	0: "OPEN",
	1: "SETTLED",
	2: "CANCELED",
	3: "ACCEPTED",
}
View Source
var Invoice_InvoiceState_value = map[string]int32{
	"OPEN":     0,
	"SETTLED":  1,
	"CANCELED": 2,
	"ACCEPTED": 3,
}
View Source
var Peer_SyncType_name = map[int32]string{
	0: "UNKNOWN_SYNC",
	1: "ACTIVE_SYNC",
	2: "PASSIVE_SYNC",
}
View Source
var Peer_SyncType_value = map[string]int32{
	"UNKNOWN_SYNC": 0,
	"ACTIVE_SYNC":  1,
	"PASSIVE_SYNC": 2,
}

Functions

func FileExists

func FileExists(name string) bool

FileExists reports whether the named file or directory exists.

func RegisterLightningHandler

func RegisterLightningHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLightningHandler registers the http handlers for service Lightning to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLightningHandlerFromEndpoint

func RegisterLightningHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLightningHandlerFromEndpoint is same as RegisterLightningHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLightningServer

func RegisterLightningServer(s *grpc.Server, srv LightningServer)

func RegisterSubServer

func RegisterSubServer(driver *SubServerDriver) error

RegisterSubServer should be called by a sub-server within its package's init() method to register its existence with the main sub-server map. Each sub-server, if active, is meant to register via this method in their init() method. This allows callers to easily initialize and register all sub-servers without knowing any details beyond that the fact that they satisfy the necessary interfaces.

NOTE: This function is safe for concurrent access.

func RegisterWalletUnlockerHandler

func RegisterWalletUnlockerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterWalletUnlockerHandler registers the http handlers for service WalletUnlocker to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterWalletUnlockerHandlerFromEndpoint

func RegisterWalletUnlockerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterWalletUnlockerHandlerFromEndpoint is same as RegisterWalletUnlockerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterWalletUnlockerServer

func RegisterWalletUnlockerServer(s *grpc.Server, srv WalletUnlockerServer)

func SupportedServers

func SupportedServers() []string

SupportedServers returns slice of the names of all registered sub-servers.

NOTE: This function is safe for concurrent access.

Types

type AbandonChannelRequest

type AbandonChannelRequest struct {
	ChannelPoint         *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*AbandonChannelRequest) Descriptor

func (*AbandonChannelRequest) Descriptor() ([]byte, []int)

func (*AbandonChannelRequest) GetChannelPoint

func (m *AbandonChannelRequest) GetChannelPoint() *ChannelPoint

func (*AbandonChannelRequest) ProtoMessage

func (*AbandonChannelRequest) ProtoMessage()

func (*AbandonChannelRequest) Reset

func (m *AbandonChannelRequest) Reset()

func (*AbandonChannelRequest) String

func (m *AbandonChannelRequest) String() string

func (*AbandonChannelRequest) XXX_DiscardUnknown

func (m *AbandonChannelRequest) XXX_DiscardUnknown()

func (*AbandonChannelRequest) XXX_Marshal

func (m *AbandonChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AbandonChannelRequest) XXX_Merge

func (dst *AbandonChannelRequest) XXX_Merge(src proto.Message)

func (*AbandonChannelRequest) XXX_Size

func (m *AbandonChannelRequest) XXX_Size() int

func (*AbandonChannelRequest) XXX_Unmarshal

func (m *AbandonChannelRequest) XXX_Unmarshal(b []byte) error

type AbandonChannelResponse

type AbandonChannelResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AbandonChannelResponse) Descriptor

func (*AbandonChannelResponse) Descriptor() ([]byte, []int)

func (*AbandonChannelResponse) ProtoMessage

func (*AbandonChannelResponse) ProtoMessage()

func (*AbandonChannelResponse) Reset

func (m *AbandonChannelResponse) Reset()

func (*AbandonChannelResponse) String

func (m *AbandonChannelResponse) String() string

func (*AbandonChannelResponse) XXX_DiscardUnknown

func (m *AbandonChannelResponse) XXX_DiscardUnknown()

func (*AbandonChannelResponse) XXX_Marshal

func (m *AbandonChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AbandonChannelResponse) XXX_Merge

func (dst *AbandonChannelResponse) XXX_Merge(src proto.Message)

func (*AbandonChannelResponse) XXX_Size

func (m *AbandonChannelResponse) XXX_Size() int

func (*AbandonChannelResponse) XXX_Unmarshal

func (m *AbandonChannelResponse) XXX_Unmarshal(b []byte) error

type AddInvoiceResponse

type AddInvoiceResponse struct {
	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.
	PaymentRequest string `protobuf:"bytes,2,opt,name=payment_request,proto3" json:"payment_request,omitempty"`
	// *
	// The "add" index of this invoice. Each newly created invoice will increment
	// this index making it monotonically increasing. Callers to the
	// SubscribeInvoices call can use this to instantly get notified of all added
	// invoices with an add_index greater than this one.
	AddIndex             uint64   `protobuf:"varint,16,opt,name=add_index,proto3" json:"add_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddInvoiceResponse) Descriptor

func (*AddInvoiceResponse) Descriptor() ([]byte, []int)

func (*AddInvoiceResponse) GetAddIndex

func (m *AddInvoiceResponse) GetAddIndex() uint64

func (*AddInvoiceResponse) GetPaymentRequest

func (m *AddInvoiceResponse) GetPaymentRequest() string

func (*AddInvoiceResponse) GetRHash

func (m *AddInvoiceResponse) GetRHash() []byte

func (*AddInvoiceResponse) ProtoMessage

func (*AddInvoiceResponse) ProtoMessage()

func (*AddInvoiceResponse) Reset

func (m *AddInvoiceResponse) Reset()

func (*AddInvoiceResponse) String

func (m *AddInvoiceResponse) String() string

func (*AddInvoiceResponse) XXX_DiscardUnknown

func (m *AddInvoiceResponse) XXX_DiscardUnknown()

func (*AddInvoiceResponse) XXX_Marshal

func (m *AddInvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddInvoiceResponse) XXX_Merge

func (dst *AddInvoiceResponse) XXX_Merge(src proto.Message)

func (*AddInvoiceResponse) XXX_Size

func (m *AddInvoiceResponse) XXX_Size() int

func (*AddInvoiceResponse) XXX_Unmarshal

func (m *AddInvoiceResponse) XXX_Unmarshal(b []byte) error

type AddressType

type AddressType int32

* `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)

const (
	AddressType_WITNESS_PUBKEY_HASH        AddressType = 0
	AddressType_NESTED_PUBKEY_HASH         AddressType = 1
	AddressType_UNUSED_WITNESS_PUBKEY_HASH AddressType = 2
	AddressType_UNUSED_NESTED_PUBKEY_HASH  AddressType = 3
)

func (AddressType) EnumDescriptor

func (AddressType) EnumDescriptor() ([]byte, []int)

func (AddressType) String

func (x AddressType) String() string

type Chain

type Chain struct {
	// / The blockchain the node is on (eg bitcoin, litecoinfinance)
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// / The network the node is on (eg regtest, testnet, mainnet)
	Network              string   `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Chain) Descriptor

func (*Chain) Descriptor() ([]byte, []int)

func (*Chain) GetChain

func (m *Chain) GetChain() string

func (*Chain) GetNetwork

func (m *Chain) GetNetwork() string

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) Reset

func (m *Chain) Reset()

func (*Chain) String

func (m *Chain) String() string

func (*Chain) XXX_DiscardUnknown

func (m *Chain) XXX_DiscardUnknown()

func (*Chain) XXX_Marshal

func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Chain) XXX_Merge

func (dst *Chain) XXX_Merge(src proto.Message)

func (*Chain) XXX_Size

func (m *Chain) XXX_Size() int

func (*Chain) XXX_Unmarshal

func (m *Chain) XXX_Unmarshal(b []byte) error

type ChanBackupExportRequest

type ChanBackupExportRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanBackupExportRequest) Descriptor

func (*ChanBackupExportRequest) Descriptor() ([]byte, []int)

func (*ChanBackupExportRequest) ProtoMessage

func (*ChanBackupExportRequest) ProtoMessage()

func (*ChanBackupExportRequest) Reset

func (m *ChanBackupExportRequest) Reset()

func (*ChanBackupExportRequest) String

func (m *ChanBackupExportRequest) String() string

func (*ChanBackupExportRequest) XXX_DiscardUnknown

func (m *ChanBackupExportRequest) XXX_DiscardUnknown()

func (*ChanBackupExportRequest) XXX_Marshal

func (m *ChanBackupExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanBackupExportRequest) XXX_Merge

func (dst *ChanBackupExportRequest) XXX_Merge(src proto.Message)

func (*ChanBackupExportRequest) XXX_Size

func (m *ChanBackupExportRequest) XXX_Size() int

func (*ChanBackupExportRequest) XXX_Unmarshal

func (m *ChanBackupExportRequest) XXX_Unmarshal(b []byte) error

type ChanBackupSnapshot

type ChanBackupSnapshot struct {
	// *
	// The set of new channels that have been added since the last channel backup
	// snapshot was requested.
	SingleChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=single_chan_backups,proto3" json:"single_chan_backups,omitempty"`
	// *
	// A multi-channel backup that covers all open channels currently known to
	// lnd.
	MultiChanBackup      *MultiChanBackup `protobuf:"bytes,2,opt,name=multi_chan_backup,proto3" json:"multi_chan_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChanBackupSnapshot) Descriptor

func (*ChanBackupSnapshot) Descriptor() ([]byte, []int)

func (*ChanBackupSnapshot) GetMultiChanBackup

func (m *ChanBackupSnapshot) GetMultiChanBackup() *MultiChanBackup

func (*ChanBackupSnapshot) GetSingleChanBackups

func (m *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups

func (*ChanBackupSnapshot) ProtoMessage

func (*ChanBackupSnapshot) ProtoMessage()

func (*ChanBackupSnapshot) Reset

func (m *ChanBackupSnapshot) Reset()

func (*ChanBackupSnapshot) String

func (m *ChanBackupSnapshot) String() string

func (*ChanBackupSnapshot) XXX_DiscardUnknown

func (m *ChanBackupSnapshot) XXX_DiscardUnknown()

func (*ChanBackupSnapshot) XXX_Marshal

func (m *ChanBackupSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanBackupSnapshot) XXX_Merge

func (dst *ChanBackupSnapshot) XXX_Merge(src proto.Message)

func (*ChanBackupSnapshot) XXX_Size

func (m *ChanBackupSnapshot) XXX_Size() int

func (*ChanBackupSnapshot) XXX_Unmarshal

func (m *ChanBackupSnapshot) XXX_Unmarshal(b []byte) error

type ChanInfoRequest

type ChanInfoRequest struct {
	// *
	// 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,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanInfoRequest) Descriptor

func (*ChanInfoRequest) Descriptor() ([]byte, []int)

func (*ChanInfoRequest) GetChanId

func (m *ChanInfoRequest) GetChanId() uint64

func (*ChanInfoRequest) ProtoMessage

func (*ChanInfoRequest) ProtoMessage()

func (*ChanInfoRequest) Reset

func (m *ChanInfoRequest) Reset()

func (*ChanInfoRequest) String

func (m *ChanInfoRequest) String() string

func (*ChanInfoRequest) XXX_DiscardUnknown

func (m *ChanInfoRequest) XXX_DiscardUnknown()

func (*ChanInfoRequest) XXX_Marshal

func (m *ChanInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanInfoRequest) XXX_Merge

func (dst *ChanInfoRequest) XXX_Merge(src proto.Message)

func (*ChanInfoRequest) XXX_Size

func (m *ChanInfoRequest) XXX_Size() int

func (*ChanInfoRequest) XXX_Unmarshal

func (m *ChanInfoRequest) XXX_Unmarshal(b []byte) error

type ChangePasswordRequest

type ChangePasswordRequest struct {
	// *
	// current_password should be the current valid passphrase used to unlock the
	// daemon.
	CurrentPassword []byte `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
	// *
	// new_password should be the new passphrase that will be needed to unlock the
	// daemon.
	NewPassword          []byte   `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordRequest) Descriptor

func (*ChangePasswordRequest) Descriptor() ([]byte, []int)

func (*ChangePasswordRequest) GetCurrentPassword

func (m *ChangePasswordRequest) GetCurrentPassword() []byte

func (*ChangePasswordRequest) GetNewPassword

func (m *ChangePasswordRequest) GetNewPassword() []byte

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) Reset

func (m *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (m *ChangePasswordRequest) String() string

func (*ChangePasswordRequest) XXX_DiscardUnknown

func (m *ChangePasswordRequest) XXX_DiscardUnknown()

func (*ChangePasswordRequest) XXX_Marshal

func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePasswordRequest) XXX_Merge

func (dst *ChangePasswordRequest) XXX_Merge(src proto.Message)

func (*ChangePasswordRequest) XXX_Size

func (m *ChangePasswordRequest) XXX_Size() int

func (*ChangePasswordRequest) XXX_Unmarshal

func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error

type ChangePasswordResponse

type ChangePasswordResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordResponse) Descriptor

func (*ChangePasswordResponse) Descriptor() ([]byte, []int)

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) Reset

func (m *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (m *ChangePasswordResponse) String() string

func (*ChangePasswordResponse) XXX_DiscardUnknown

func (m *ChangePasswordResponse) XXX_DiscardUnknown()

func (*ChangePasswordResponse) XXX_Marshal

func (m *ChangePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePasswordResponse) XXX_Merge

func (dst *ChangePasswordResponse) XXX_Merge(src proto.Message)

func (*ChangePasswordResponse) XXX_Size

func (m *ChangePasswordResponse) XXX_Size() int

func (*ChangePasswordResponse) XXX_Unmarshal

func (m *ChangePasswordResponse) XXX_Unmarshal(b []byte) error

type Channel

type Channel struct {
	// / Whether this channel is active or not
	Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	// / The identity pubkey of the remote node
	RemotePubkey string `protobuf:"bytes,2,opt,name=remote_pubkey,proto3" 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,proto3" 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,proto3" json:"chan_id,omitempty"`
	// / The total amount of funds held in this channel
	Capacity int64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// / This node's current balance in this channel
	LocalBalance int64 `protobuf:"varint,6,opt,name=local_balance,proto3" json:"local_balance,omitempty"`
	// / The counterparty's current balance in this channel
	RemoteBalance int64 `protobuf:"varint,7,opt,name=remote_balance,proto3" 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,proto3" json:"commit_fee,omitempty"`
	// / The weight of the commitment transaction
	CommitWeight int64 `protobuf:"varint,9,opt,name=commit_weight,proto3" 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,proto3" json:"fee_per_kw,omitempty"`
	// / The unsettled balance in this channel
	UnsettledBalance int64 `protobuf:"varint,11,opt,name=unsettled_balance,proto3" 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,proto3" 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,proto3" json:"total_satoshis_received,omitempty"`
	// *
	// The total number of updates conducted within this channel.
	NumUpdates uint64 `protobuf:"varint,14,opt,name=num_updates,proto3" json:"num_updates,omitempty"`
	// *
	// The list of active, uncleared HTLCs currently pending within the channel.
	PendingHtlcs []*HTLC `protobuf:"bytes,15,rep,name=pending_htlcs,proto3" json:"pending_htlcs,omitempty"`
	// *
	// The CSV delay expressed in relative blocks. If the channel is force closed,
	// we will need to wait for this many blocks before we can regain our funds.
	CsvDelay uint32 `protobuf:"varint,16,opt,name=csv_delay,proto3" json:"csv_delay,omitempty"`
	// / Whether this channel is advertised to the network or not.
	Private bool `protobuf:"varint,17,opt,name=private,proto3" json:"private,omitempty"`
	// / True if we were the ones that created the channel.
	Initiator bool `protobuf:"varint,18,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// / A set of flags showing the current state of the cahnnel.
	ChanStatusFlags      string   `protobuf:"bytes,19,opt,name=chan_status_flags,proto3" json:"chan_status_flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Channel) Descriptor

func (*Channel) Descriptor() ([]byte, []int)

func (*Channel) GetActive

func (m *Channel) GetActive() bool

func (*Channel) GetCapacity

func (m *Channel) GetCapacity() int64

func (*Channel) GetChanId

func (m *Channel) GetChanId() uint64

func (*Channel) GetChanStatusFlags

func (m *Channel) GetChanStatusFlags() string

func (*Channel) GetChannelPoint

func (m *Channel) GetChannelPoint() string

func (*Channel) GetCommitFee

func (m *Channel) GetCommitFee() int64

func (*Channel) GetCommitWeight

func (m *Channel) GetCommitWeight() int64

func (*Channel) GetCsvDelay

func (m *Channel) GetCsvDelay() uint32

func (*Channel) GetFeePerKw

func (m *Channel) GetFeePerKw() int64

func (*Channel) GetInitiator

func (m *Channel) GetInitiator() bool

func (*Channel) GetLocalBalance

func (m *Channel) GetLocalBalance() int64

func (*Channel) GetNumUpdates

func (m *Channel) GetNumUpdates() uint64

func (*Channel) GetPendingHtlcs

func (m *Channel) GetPendingHtlcs() []*HTLC

func (*Channel) GetPrivate

func (m *Channel) GetPrivate() bool

func (*Channel) GetRemoteBalance

func (m *Channel) GetRemoteBalance() int64

func (*Channel) GetRemotePubkey

func (m *Channel) GetRemotePubkey() string

func (*Channel) GetTotalSatoshisReceived

func (m *Channel) GetTotalSatoshisReceived() int64

func (*Channel) GetTotalSatoshisSent

func (m *Channel) GetTotalSatoshisSent() int64

func (*Channel) GetUnsettledBalance

func (m *Channel) GetUnsettledBalance() int64

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge

func (dst *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

func (m *Channel) XXX_Unmarshal(b []byte) error

type ChannelBackup

type ChannelBackup struct {
	// *
	// Identifies the channel that this backup belongs to.
	ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,proto3" json:"chan_point,omitempty"`
	// *
	// Is an encrypted single-chan backup. this can be passed to
	// RestoreChannelBackups, or the WalletUnlocker Innit and Unlock methods in
	// order to trigger the recovery protocol.
	ChanBackup           []byte   `protobuf:"bytes,2,opt,name=chan_backup,proto3" json:"chan_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBackup) Descriptor

func (*ChannelBackup) Descriptor() ([]byte, []int)

func (*ChannelBackup) GetChanBackup

func (m *ChannelBackup) GetChanBackup() []byte

func (*ChannelBackup) GetChanPoint

func (m *ChannelBackup) GetChanPoint() *ChannelPoint

func (*ChannelBackup) ProtoMessage

func (*ChannelBackup) ProtoMessage()

func (*ChannelBackup) Reset

func (m *ChannelBackup) Reset()

func (*ChannelBackup) String

func (m *ChannelBackup) String() string

func (*ChannelBackup) XXX_DiscardUnknown

func (m *ChannelBackup) XXX_DiscardUnknown()

func (*ChannelBackup) XXX_Marshal

func (m *ChannelBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBackup) XXX_Merge

func (dst *ChannelBackup) XXX_Merge(src proto.Message)

func (*ChannelBackup) XXX_Size

func (m *ChannelBackup) XXX_Size() int

func (*ChannelBackup) XXX_Unmarshal

func (m *ChannelBackup) XXX_Unmarshal(b []byte) error

type ChannelBackupSubscription

type ChannelBackupSubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBackupSubscription) Descriptor

func (*ChannelBackupSubscription) Descriptor() ([]byte, []int)

func (*ChannelBackupSubscription) ProtoMessage

func (*ChannelBackupSubscription) ProtoMessage()

func (*ChannelBackupSubscription) Reset

func (m *ChannelBackupSubscription) Reset()

func (*ChannelBackupSubscription) String

func (m *ChannelBackupSubscription) String() string

func (*ChannelBackupSubscription) XXX_DiscardUnknown

func (m *ChannelBackupSubscription) XXX_DiscardUnknown()

func (*ChannelBackupSubscription) XXX_Marshal

func (m *ChannelBackupSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBackupSubscription) XXX_Merge

func (dst *ChannelBackupSubscription) XXX_Merge(src proto.Message)

func (*ChannelBackupSubscription) XXX_Size

func (m *ChannelBackupSubscription) XXX_Size() int

func (*ChannelBackupSubscription) XXX_Unmarshal

func (m *ChannelBackupSubscription) XXX_Unmarshal(b []byte) error

type ChannelBackups

type ChannelBackups struct {
	// *
	// A set of single-chan static channel backups.
	ChanBackups          []*ChannelBackup `protobuf:"bytes,1,rep,name=chan_backups,proto3" json:"chan_backups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChannelBackups) Descriptor

func (*ChannelBackups) Descriptor() ([]byte, []int)

func (*ChannelBackups) GetChanBackups

func (m *ChannelBackups) GetChanBackups() []*ChannelBackup

func (*ChannelBackups) ProtoMessage

func (*ChannelBackups) ProtoMessage()

func (*ChannelBackups) Reset

func (m *ChannelBackups) Reset()

func (*ChannelBackups) String

func (m *ChannelBackups) String() string

func (*ChannelBackups) XXX_DiscardUnknown

func (m *ChannelBackups) XXX_DiscardUnknown()

func (*ChannelBackups) XXX_Marshal

func (m *ChannelBackups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBackups) XXX_Merge

func (dst *ChannelBackups) XXX_Merge(src proto.Message)

func (*ChannelBackups) XXX_Size

func (m *ChannelBackups) XXX_Size() int

func (*ChannelBackups) XXX_Unmarshal

func (m *ChannelBackups) XXX_Unmarshal(b []byte) error

type ChannelBalanceRequest

type ChannelBalanceRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBalanceRequest) Descriptor

func (*ChannelBalanceRequest) Descriptor() ([]byte, []int)

func (*ChannelBalanceRequest) ProtoMessage

func (*ChannelBalanceRequest) ProtoMessage()

func (*ChannelBalanceRequest) Reset

func (m *ChannelBalanceRequest) Reset()

func (*ChannelBalanceRequest) String

func (m *ChannelBalanceRequest) String() string

func (*ChannelBalanceRequest) XXX_DiscardUnknown

func (m *ChannelBalanceRequest) XXX_DiscardUnknown()

func (*ChannelBalanceRequest) XXX_Marshal

func (m *ChannelBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBalanceRequest) XXX_Merge

func (dst *ChannelBalanceRequest) XXX_Merge(src proto.Message)

func (*ChannelBalanceRequest) XXX_Size

func (m *ChannelBalanceRequest) XXX_Size() int

func (*ChannelBalanceRequest) XXX_Unmarshal

func (m *ChannelBalanceRequest) XXX_Unmarshal(b []byte) error

type ChannelBalanceResponse

type ChannelBalanceResponse struct {
	// / Sum of channels balances denominated in satoshis
	Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// / Sum of channels pending balances denominated in satoshis
	PendingOpenBalance   int64    `protobuf:"varint,2,opt,name=pending_open_balance,proto3" json:"pending_open_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBalanceResponse) Descriptor

func (*ChannelBalanceResponse) Descriptor() ([]byte, []int)

func (*ChannelBalanceResponse) GetBalance

func (m *ChannelBalanceResponse) GetBalance() int64

func (*ChannelBalanceResponse) GetPendingOpenBalance

func (m *ChannelBalanceResponse) GetPendingOpenBalance() int64

func (*ChannelBalanceResponse) ProtoMessage

func (*ChannelBalanceResponse) ProtoMessage()

func (*ChannelBalanceResponse) Reset

func (m *ChannelBalanceResponse) Reset()

func (*ChannelBalanceResponse) String

func (m *ChannelBalanceResponse) String() string

func (*ChannelBalanceResponse) XXX_DiscardUnknown

func (m *ChannelBalanceResponse) XXX_DiscardUnknown()

func (*ChannelBalanceResponse) XXX_Marshal

func (m *ChannelBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBalanceResponse) XXX_Merge

func (dst *ChannelBalanceResponse) XXX_Merge(src proto.Message)

func (*ChannelBalanceResponse) XXX_Size

func (m *ChannelBalanceResponse) XXX_Size() int

func (*ChannelBalanceResponse) XXX_Unmarshal

func (m *ChannelBalanceResponse) XXX_Unmarshal(b []byte) error

type ChannelCloseSummary

type ChannelCloseSummary struct {
	// / The outpoint (txid:index) of the funding transaction.
	ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,proto3" json:"channel_point,omitempty"`
	// /  The unique channel ID for the channel.
	ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,proto3" json:"chan_id,omitempty"`
	// / The hash of the genesis block that this channel resides within.
	ChainHash string `protobuf:"bytes,3,opt,name=chain_hash,proto3" json:"chain_hash,omitempty"`
	// / The txid of the transaction which ultimately closed this channel.
	ClosingTxHash string `protobuf:"bytes,4,opt,name=closing_tx_hash,proto3" json:"closing_tx_hash,omitempty"`
	// / Public key of the remote peer that we formerly had a channel with.
	RemotePubkey string `protobuf:"bytes,5,opt,name=remote_pubkey,proto3" json:"remote_pubkey,omitempty"`
	// / Total capacity of the channel.
	Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// / Height at which the funding transaction was spent.
	CloseHeight uint32 `protobuf:"varint,7,opt,name=close_height,proto3" json:"close_height,omitempty"`
	// / Settled balance at the time of channel closure
	SettledBalance int64 `protobuf:"varint,8,opt,name=settled_balance,proto3" json:"settled_balance,omitempty"`
	// / The sum of all the time-locked outputs at the time of channel closure
	TimeLockedBalance int64 `protobuf:"varint,9,opt,name=time_locked_balance,proto3" json:"time_locked_balance,omitempty"`
	// / Details on how the channel was closed.
	CloseType            ChannelCloseSummary_ClosureType `protobuf:"varint,10,opt,name=close_type,proto3,enum=lnrpc.ChannelCloseSummary_ClosureType" json:"close_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*ChannelCloseSummary) Descriptor

func (*ChannelCloseSummary) Descriptor() ([]byte, []int)

func (*ChannelCloseSummary) GetCapacity

func (m *ChannelCloseSummary) GetCapacity() int64

func (*ChannelCloseSummary) GetChainHash

func (m *ChannelCloseSummary) GetChainHash() string

func (*ChannelCloseSummary) GetChanId

func (m *ChannelCloseSummary) GetChanId() uint64

func (*ChannelCloseSummary) GetChannelPoint

func (m *ChannelCloseSummary) GetChannelPoint() string

func (*ChannelCloseSummary) GetCloseHeight

func (m *ChannelCloseSummary) GetCloseHeight() uint32

func (*ChannelCloseSummary) GetCloseType

func (*ChannelCloseSummary) GetClosingTxHash

func (m *ChannelCloseSummary) GetClosingTxHash() string

func (*ChannelCloseSummary) GetRemotePubkey

func (m *ChannelCloseSummary) GetRemotePubkey() string

func (*ChannelCloseSummary) GetSettledBalance

func (m *ChannelCloseSummary) GetSettledBalance() int64

func (*ChannelCloseSummary) GetTimeLockedBalance

func (m *ChannelCloseSummary) GetTimeLockedBalance() int64

func (*ChannelCloseSummary) ProtoMessage

func (*ChannelCloseSummary) ProtoMessage()

func (*ChannelCloseSummary) Reset

func (m *ChannelCloseSummary) Reset()

func (*ChannelCloseSummary) String

func (m *ChannelCloseSummary) String() string

func (*ChannelCloseSummary) XXX_DiscardUnknown

func (m *ChannelCloseSummary) XXX_DiscardUnknown()

func (*ChannelCloseSummary) XXX_Marshal

func (m *ChannelCloseSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelCloseSummary) XXX_Merge

func (dst *ChannelCloseSummary) XXX_Merge(src proto.Message)

func (*ChannelCloseSummary) XXX_Size

func (m *ChannelCloseSummary) XXX_Size() int

func (*ChannelCloseSummary) XXX_Unmarshal

func (m *ChannelCloseSummary) XXX_Unmarshal(b []byte) error

type ChannelCloseSummary_ClosureType

type ChannelCloseSummary_ClosureType int32
const (
	ChannelCloseSummary_COOPERATIVE_CLOSE  ChannelCloseSummary_ClosureType = 0
	ChannelCloseSummary_LOCAL_FORCE_CLOSE  ChannelCloseSummary_ClosureType = 1
	ChannelCloseSummary_REMOTE_FORCE_CLOSE ChannelCloseSummary_ClosureType = 2
	ChannelCloseSummary_BREACH_CLOSE       ChannelCloseSummary_ClosureType = 3
	ChannelCloseSummary_FUNDING_CANCELED   ChannelCloseSummary_ClosureType = 4
	ChannelCloseSummary_ABANDONED          ChannelCloseSummary_ClosureType = 5
)

func (ChannelCloseSummary_ClosureType) EnumDescriptor

func (ChannelCloseSummary_ClosureType) EnumDescriptor() ([]byte, []int)

func (ChannelCloseSummary_ClosureType) String

type ChannelCloseUpdate

type ChannelCloseUpdate struct {
	ClosingTxid          []byte   `protobuf:"bytes,1,opt,name=closing_txid,proto3" json:"closing_txid,omitempty"`
	Success              bool     `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelCloseUpdate) Descriptor

func (*ChannelCloseUpdate) Descriptor() ([]byte, []int)

func (*ChannelCloseUpdate) GetClosingTxid

func (m *ChannelCloseUpdate) GetClosingTxid() []byte

func (*ChannelCloseUpdate) GetSuccess

func (m *ChannelCloseUpdate) GetSuccess() bool

func (*ChannelCloseUpdate) ProtoMessage

func (*ChannelCloseUpdate) ProtoMessage()

func (*ChannelCloseUpdate) Reset

func (m *ChannelCloseUpdate) Reset()

func (*ChannelCloseUpdate) String

func (m *ChannelCloseUpdate) String() string

func (*ChannelCloseUpdate) XXX_DiscardUnknown

func (m *ChannelCloseUpdate) XXX_DiscardUnknown()

func (*ChannelCloseUpdate) XXX_Marshal

func (m *ChannelCloseUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelCloseUpdate) XXX_Merge

func (dst *ChannelCloseUpdate) XXX_Merge(src proto.Message)

func (*ChannelCloseUpdate) XXX_Size

func (m *ChannelCloseUpdate) XXX_Size() int

func (*ChannelCloseUpdate) XXX_Unmarshal

func (m *ChannelCloseUpdate) XXX_Unmarshal(b []byte) error

type ChannelEdge

type ChannelEdge struct {
	// *
	// 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.
	ChannelId            uint64         `protobuf:"varint,1,opt,name=channel_id,proto3" json:"channel_id,omitempty"`
	ChanPoint            string         `protobuf:"bytes,2,opt,name=chan_point,proto3" json:"chan_point,omitempty"`
	LastUpdate           uint32         `protobuf:"varint,3,opt,name=last_update,proto3" json:"last_update,omitempty"`
	Node1Pub             string         `protobuf:"bytes,4,opt,name=node1_pub,proto3" json:"node1_pub,omitempty"`
	Node2Pub             string         `protobuf:"bytes,5,opt,name=node2_pub,proto3" json:"node2_pub,omitempty"`
	Capacity             int64          `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Node1Policy          *RoutingPolicy `protobuf:"bytes,7,opt,name=node1_policy,proto3" json:"node1_policy,omitempty"`
	Node2Policy          *RoutingPolicy `protobuf:"bytes,8,opt,name=node2_policy,proto3" json:"node2_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

* A fully authenticated channel along with all its unique attributes. Once an authenticated channel announcement has been processed on the network, then an 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.

func (*ChannelEdge) Descriptor

func (*ChannelEdge) Descriptor() ([]byte, []int)

func (*ChannelEdge) GetCapacity

func (m *ChannelEdge) GetCapacity() int64

func (*ChannelEdge) GetChanPoint

func (m *ChannelEdge) GetChanPoint() string

func (*ChannelEdge) GetChannelId

func (m *ChannelEdge) GetChannelId() uint64

func (*ChannelEdge) GetLastUpdate

func (m *ChannelEdge) GetLastUpdate() uint32

func (*ChannelEdge) GetNode1Policy

func (m *ChannelEdge) GetNode1Policy() *RoutingPolicy

func (*ChannelEdge) GetNode1Pub

func (m *ChannelEdge) GetNode1Pub() string

func (*ChannelEdge) GetNode2Policy

func (m *ChannelEdge) GetNode2Policy() *RoutingPolicy

func (*ChannelEdge) GetNode2Pub

func (m *ChannelEdge) GetNode2Pub() string

func (*ChannelEdge) ProtoMessage

func (*ChannelEdge) ProtoMessage()

func (*ChannelEdge) Reset

func (m *ChannelEdge) Reset()

func (*ChannelEdge) String

func (m *ChannelEdge) String() string

func (*ChannelEdge) XXX_DiscardUnknown

func (m *ChannelEdge) XXX_DiscardUnknown()

func (*ChannelEdge) XXX_Marshal

func (m *ChannelEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEdge) XXX_Merge

func (dst *ChannelEdge) XXX_Merge(src proto.Message)

func (*ChannelEdge) XXX_Size

func (m *ChannelEdge) XXX_Size() int

func (*ChannelEdge) XXX_Unmarshal

func (m *ChannelEdge) XXX_Unmarshal(b []byte) error

type ChannelEdgeUpdate

type ChannelEdgeUpdate struct {
	// *
	// 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,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	ChanPoint            *ChannelPoint  `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	Capacity             int64          `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	RoutingPolicy        *RoutingPolicy `protobuf:"bytes,4,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
	AdvertisingNode      string         `protobuf:"bytes,5,opt,name=advertising_node,json=advertisingNode,proto3" json:"advertising_node,omitempty"`
	ConnectingNode       string         `protobuf:"bytes,6,opt,name=connecting_node,json=connectingNode,proto3" json:"connecting_node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ChannelEdgeUpdate) Descriptor

func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int)

func (*ChannelEdgeUpdate) GetAdvertisingNode

func (m *ChannelEdgeUpdate) GetAdvertisingNode() string

func (*ChannelEdgeUpdate) GetCapacity

func (m *ChannelEdgeUpdate) GetCapacity() int64

func (*ChannelEdgeUpdate) GetChanId

func (m *ChannelEdgeUpdate) GetChanId() uint64

func (*ChannelEdgeUpdate) GetChanPoint

func (m *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint

func (*ChannelEdgeUpdate) GetConnectingNode

func (m *ChannelEdgeUpdate) GetConnectingNode() string

func (*ChannelEdgeUpdate) GetRoutingPolicy

func (m *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy

func (*ChannelEdgeUpdate) ProtoMessage

func (*ChannelEdgeUpdate) ProtoMessage()

func (*ChannelEdgeUpdate) Reset

func (m *ChannelEdgeUpdate) Reset()

func (*ChannelEdgeUpdate) String

func (m *ChannelEdgeUpdate) String() string

func (*ChannelEdgeUpdate) XXX_DiscardUnknown

func (m *ChannelEdgeUpdate) XXX_DiscardUnknown()

func (*ChannelEdgeUpdate) XXX_Marshal

func (m *ChannelEdgeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEdgeUpdate) XXX_Merge

func (dst *ChannelEdgeUpdate) XXX_Merge(src proto.Message)

func (*ChannelEdgeUpdate) XXX_Size

func (m *ChannelEdgeUpdate) XXX_Size() int

func (*ChannelEdgeUpdate) XXX_Unmarshal

func (m *ChannelEdgeUpdate) XXX_Unmarshal(b []byte) error

type ChannelEventSubscription

type ChannelEventSubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelEventSubscription) Descriptor

func (*ChannelEventSubscription) Descriptor() ([]byte, []int)

func (*ChannelEventSubscription) ProtoMessage

func (*ChannelEventSubscription) ProtoMessage()

func (*ChannelEventSubscription) Reset

func (m *ChannelEventSubscription) Reset()

func (*ChannelEventSubscription) String

func (m *ChannelEventSubscription) String() string

func (*ChannelEventSubscription) XXX_DiscardUnknown

func (m *ChannelEventSubscription) XXX_DiscardUnknown()

func (*ChannelEventSubscription) XXX_Marshal

func (m *ChannelEventSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEventSubscription) XXX_Merge

func (dst *ChannelEventSubscription) XXX_Merge(src proto.Message)

func (*ChannelEventSubscription) XXX_Size

func (m *ChannelEventSubscription) XXX_Size() int

func (*ChannelEventSubscription) XXX_Unmarshal

func (m *ChannelEventSubscription) XXX_Unmarshal(b []byte) error

type ChannelEventUpdate

type ChannelEventUpdate struct {
	// Types that are valid to be assigned to Channel:
	//	*ChannelEventUpdate_OpenChannel
	//	*ChannelEventUpdate_ClosedChannel
	//	*ChannelEventUpdate_ActiveChannel
	//	*ChannelEventUpdate_InactiveChannel
	Channel              isChannelEventUpdate_Channel  `protobuf_oneof:"channel"`
	Type                 ChannelEventUpdate_UpdateType `protobuf:"varint,5,opt,name=type,proto3,enum=lnrpc.ChannelEventUpdate_UpdateType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*ChannelEventUpdate) Descriptor

func (*ChannelEventUpdate) Descriptor() ([]byte, []int)

func (*ChannelEventUpdate) GetActiveChannel

func (m *ChannelEventUpdate) GetActiveChannel() *ChannelPoint

func (*ChannelEventUpdate) GetChannel

func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel

func (*ChannelEventUpdate) GetClosedChannel

func (m *ChannelEventUpdate) GetClosedChannel() *ChannelCloseSummary

func (*ChannelEventUpdate) GetInactiveChannel

func (m *ChannelEventUpdate) GetInactiveChannel() *ChannelPoint

func (*ChannelEventUpdate) GetOpenChannel

func (m *ChannelEventUpdate) GetOpenChannel() *Channel

func (*ChannelEventUpdate) GetType

func (*ChannelEventUpdate) ProtoMessage

func (*ChannelEventUpdate) ProtoMessage()

func (*ChannelEventUpdate) Reset

func (m *ChannelEventUpdate) Reset()

func (*ChannelEventUpdate) String

func (m *ChannelEventUpdate) String() string

func (*ChannelEventUpdate) XXX_DiscardUnknown

func (m *ChannelEventUpdate) XXX_DiscardUnknown()

func (*ChannelEventUpdate) XXX_Marshal

func (m *ChannelEventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEventUpdate) XXX_Merge

func (dst *ChannelEventUpdate) XXX_Merge(src proto.Message)

func (*ChannelEventUpdate) XXX_OneofFuncs

func (*ChannelEventUpdate) 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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ChannelEventUpdate) XXX_Size

func (m *ChannelEventUpdate) XXX_Size() int

func (*ChannelEventUpdate) XXX_Unmarshal

func (m *ChannelEventUpdate) XXX_Unmarshal(b []byte) error

type ChannelEventUpdate_ActiveChannel

type ChannelEventUpdate_ActiveChannel struct {
	ActiveChannel *ChannelPoint `protobuf:"bytes,3,opt,name=active_channel,proto3,oneof"`
}

type ChannelEventUpdate_ClosedChannel

type ChannelEventUpdate_ClosedChannel struct {
	ClosedChannel *ChannelCloseSummary `protobuf:"bytes,2,opt,name=closed_channel,proto3,oneof"`
}

type ChannelEventUpdate_InactiveChannel

type ChannelEventUpdate_InactiveChannel struct {
	InactiveChannel *ChannelPoint `protobuf:"bytes,4,opt,name=inactive_channel,proto3,oneof"`
}

type ChannelEventUpdate_OpenChannel

type ChannelEventUpdate_OpenChannel struct {
	OpenChannel *Channel `protobuf:"bytes,1,opt,name=open_channel,proto3,oneof"`
}

type ChannelEventUpdate_UpdateType

type ChannelEventUpdate_UpdateType int32
const (
	ChannelEventUpdate_OPEN_CHANNEL     ChannelEventUpdate_UpdateType = 0
	ChannelEventUpdate_CLOSED_CHANNEL   ChannelEventUpdate_UpdateType = 1
	ChannelEventUpdate_ACTIVE_CHANNEL   ChannelEventUpdate_UpdateType = 2
	ChannelEventUpdate_INACTIVE_CHANNEL ChannelEventUpdate_UpdateType = 3
)

func (ChannelEventUpdate_UpdateType) EnumDescriptor

func (ChannelEventUpdate_UpdateType) EnumDescriptor() ([]byte, []int)

func (ChannelEventUpdate_UpdateType) String

type ChannelFeeReport

type ChannelFeeReport struct {
	// / The channel that this fee report belongs to.
	ChanPoint string `protobuf:"bytes,1,opt,name=chan_point,json=channel_point,proto3" 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,proto3" 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,proto3" 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,proto3" json:"fee_rate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelFeeReport) Descriptor

func (*ChannelFeeReport) Descriptor() ([]byte, []int)

func (*ChannelFeeReport) GetBaseFeeMsat

func (m *ChannelFeeReport) GetBaseFeeMsat() int64

func (*ChannelFeeReport) GetChanPoint

func (m *ChannelFeeReport) GetChanPoint() string

func (*ChannelFeeReport) GetFeePerMil

func (m *ChannelFeeReport) GetFeePerMil() int64

func (*ChannelFeeReport) GetFeeRate

func (m *ChannelFeeReport) GetFeeRate() float64

func (*ChannelFeeReport) ProtoMessage

func (*ChannelFeeReport) ProtoMessage()

func (*ChannelFeeReport) Reset

func (m *ChannelFeeReport) Reset()

func (*ChannelFeeReport) String

func (m *ChannelFeeReport) String() string

func (*ChannelFeeReport) XXX_DiscardUnknown

func (m *ChannelFeeReport) XXX_DiscardUnknown()

func (*ChannelFeeReport) XXX_Marshal

func (m *ChannelFeeReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelFeeReport) XXX_Merge

func (dst *ChannelFeeReport) XXX_Merge(src proto.Message)

func (*ChannelFeeReport) XXX_Size

func (m *ChannelFeeReport) XXX_Size() int

func (*ChannelFeeReport) XXX_Unmarshal

func (m *ChannelFeeReport) XXX_Unmarshal(b []byte) error

type ChannelGraph

type ChannelGraph struct {
	// / The list of `LightningNode`s in this channel graph
	Nodes []*LightningNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// / The list of `ChannelEdge`s in this channel graph
	Edges                []*ChannelEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

/ Returns a new instance of the directed channel graph.

func (*ChannelGraph) Descriptor

func (*ChannelGraph) Descriptor() ([]byte, []int)

func (*ChannelGraph) GetEdges

func (m *ChannelGraph) GetEdges() []*ChannelEdge

func (*ChannelGraph) GetNodes

func (m *ChannelGraph) GetNodes() []*LightningNode

func (*ChannelGraph) ProtoMessage

func (*ChannelGraph) ProtoMessage()

func (*ChannelGraph) Reset

func (m *ChannelGraph) Reset()

func (*ChannelGraph) String

func (m *ChannelGraph) String() string

func (*ChannelGraph) XXX_DiscardUnknown

func (m *ChannelGraph) XXX_DiscardUnknown()

func (*ChannelGraph) XXX_Marshal

func (m *ChannelGraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelGraph) XXX_Merge

func (dst *ChannelGraph) XXX_Merge(src proto.Message)

func (*ChannelGraph) XXX_Size

func (m *ChannelGraph) XXX_Size() int

func (*ChannelGraph) XXX_Unmarshal

func (m *ChannelGraph) XXX_Unmarshal(b []byte) error

type ChannelGraphRequest

type ChannelGraphRequest struct {
	// *
	// Whether unannounced channels are included in the response or not. If set,
	// unannounced channels are included. Unannounced channels are both private
	// channels, and public channels that are not yet announced to the network.
	IncludeUnannounced   bool     `protobuf:"varint,1,opt,name=include_unannounced,proto3" json:"include_unannounced,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelGraphRequest) Descriptor

func (*ChannelGraphRequest) Descriptor() ([]byte, []int)

func (*ChannelGraphRequest) GetIncludeUnannounced

func (m *ChannelGraphRequest) GetIncludeUnannounced() bool

func (*ChannelGraphRequest) ProtoMessage

func (*ChannelGraphRequest) ProtoMessage()

func (*ChannelGraphRequest) Reset

func (m *ChannelGraphRequest) Reset()

func (*ChannelGraphRequest) String

func (m *ChannelGraphRequest) String() string

func (*ChannelGraphRequest) XXX_DiscardUnknown

func (m *ChannelGraphRequest) XXX_DiscardUnknown()

func (*ChannelGraphRequest) XXX_Marshal

func (m *ChannelGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelGraphRequest) XXX_Merge

func (dst *ChannelGraphRequest) XXX_Merge(src proto.Message)

func (*ChannelGraphRequest) XXX_Size

func (m *ChannelGraphRequest) XXX_Size() int

func (*ChannelGraphRequest) XXX_Unmarshal

func (m *ChannelGraphRequest) XXX_Unmarshal(b []byte) error

type ChannelOpenUpdate

type ChannelOpenUpdate struct {
	ChannelPoint         *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,proto3" json:"channel_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChannelOpenUpdate) Descriptor

func (*ChannelOpenUpdate) Descriptor() ([]byte, []int)

func (*ChannelOpenUpdate) GetChannelPoint

func (m *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint

func (*ChannelOpenUpdate) ProtoMessage

func (*ChannelOpenUpdate) ProtoMessage()

func (*ChannelOpenUpdate) Reset

func (m *ChannelOpenUpdate) Reset()

func (*ChannelOpenUpdate) String

func (m *ChannelOpenUpdate) String() string

func (*ChannelOpenUpdate) XXX_DiscardUnknown

func (m *ChannelOpenUpdate) XXX_DiscardUnknown()

func (*ChannelOpenUpdate) XXX_Marshal

func (m *ChannelOpenUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelOpenUpdate) XXX_Merge

func (dst *ChannelOpenUpdate) XXX_Merge(src proto.Message)

func (*ChannelOpenUpdate) XXX_Size

func (m *ChannelOpenUpdate) XXX_Size() int

func (*ChannelOpenUpdate) XXX_Unmarshal

func (m *ChannelOpenUpdate) XXX_Unmarshal(b []byte) error

type ChannelPoint

type ChannelPoint struct {
	// Types that are valid to be assigned to FundingTxid:
	//	*ChannelPoint_FundingTxidBytes
	//	*ChannelPoint_FundingTxidStr
	FundingTxid isChannelPoint_FundingTxid `protobuf_oneof:"funding_txid"`
	// / The index of the output of the funding transaction
	OutputIndex          uint32   `protobuf:"varint,3,opt,name=output_index,proto3" json:"output_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelPoint) Descriptor

func (*ChannelPoint) Descriptor() ([]byte, []int)

func (*ChannelPoint) GetFundingTxid

func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid

func (*ChannelPoint) GetFundingTxidBytes

func (m *ChannelPoint) GetFundingTxidBytes() []byte

func (*ChannelPoint) GetFundingTxidStr

func (m *ChannelPoint) GetFundingTxidStr() string

func (*ChannelPoint) GetOutputIndex

func (m *ChannelPoint) GetOutputIndex() uint32

func (*ChannelPoint) ProtoMessage

func (*ChannelPoint) ProtoMessage()

func (*ChannelPoint) Reset

func (m *ChannelPoint) Reset()

func (*ChannelPoint) String

func (m *ChannelPoint) String() string

func (*ChannelPoint) XXX_DiscardUnknown

func (m *ChannelPoint) XXX_DiscardUnknown()

func (*ChannelPoint) XXX_Marshal

func (m *ChannelPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelPoint) XXX_Merge

func (dst *ChannelPoint) XXX_Merge(src proto.Message)

func (*ChannelPoint) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ChannelPoint) XXX_Size

func (m *ChannelPoint) XXX_Size() int

func (*ChannelPoint) XXX_Unmarshal

func (m *ChannelPoint) XXX_Unmarshal(b []byte) error

type ChannelPoint_FundingTxidBytes

type ChannelPoint_FundingTxidBytes struct {
	FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,proto3,oneof"`
}

type ChannelPoint_FundingTxidStr

type ChannelPoint_FundingTxidStr struct {
	FundingTxidStr string `protobuf:"bytes,2,opt,name=funding_txid_str,proto3,oneof"`
}

type CloseChannelRequest

type CloseChannelRequest struct {
	// *
	// 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 *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	// / 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,proto3" json:"force,omitempty"`
	// / The target number of blocks that the closure transaction should be confirmed by.
	TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" 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,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseChannelRequest) Descriptor

func (*CloseChannelRequest) Descriptor() ([]byte, []int)

func (*CloseChannelRequest) GetChannelPoint

func (m *CloseChannelRequest) GetChannelPoint() *ChannelPoint

func (*CloseChannelRequest) GetForce

func (m *CloseChannelRequest) GetForce() bool

func (*CloseChannelRequest) GetSatPerByte

func (m *CloseChannelRequest) GetSatPerByte() int64

func (*CloseChannelRequest) GetTargetConf

func (m *CloseChannelRequest) GetTargetConf() int32

func (*CloseChannelRequest) ProtoMessage

func (*CloseChannelRequest) ProtoMessage()

func (*CloseChannelRequest) Reset

func (m *CloseChannelRequest) Reset()

func (*CloseChannelRequest) String

func (m *CloseChannelRequest) String() string

func (*CloseChannelRequest) XXX_DiscardUnknown

func (m *CloseChannelRequest) XXX_DiscardUnknown()

func (*CloseChannelRequest) XXX_Marshal

func (m *CloseChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseChannelRequest) XXX_Merge

func (dst *CloseChannelRequest) XXX_Merge(src proto.Message)

func (*CloseChannelRequest) XXX_Size

func (m *CloseChannelRequest) XXX_Size() int

func (*CloseChannelRequest) XXX_Unmarshal

func (m *CloseChannelRequest) XXX_Unmarshal(b []byte) error

type CloseStatusUpdate

type CloseStatusUpdate struct {
	// Types that are valid to be assigned to Update:
	//	*CloseStatusUpdate_ClosePending
	//	*CloseStatusUpdate_ChanClose
	Update               isCloseStatusUpdate_Update `protobuf_oneof:"update"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*CloseStatusUpdate) Descriptor

func (*CloseStatusUpdate) Descriptor() ([]byte, []int)

func (*CloseStatusUpdate) GetChanClose

func (m *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate

func (*CloseStatusUpdate) GetClosePending

func (m *CloseStatusUpdate) GetClosePending() *PendingUpdate

func (*CloseStatusUpdate) GetUpdate

func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update

func (*CloseStatusUpdate) ProtoMessage

func (*CloseStatusUpdate) ProtoMessage()

func (*CloseStatusUpdate) Reset

func (m *CloseStatusUpdate) Reset()

func (*CloseStatusUpdate) String

func (m *CloseStatusUpdate) String() string

func (*CloseStatusUpdate) XXX_DiscardUnknown

func (m *CloseStatusUpdate) XXX_DiscardUnknown()

func (*CloseStatusUpdate) XXX_Marshal

func (m *CloseStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseStatusUpdate) XXX_Merge

func (dst *CloseStatusUpdate) XXX_Merge(src proto.Message)

func (*CloseStatusUpdate) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*CloseStatusUpdate) XXX_Size

func (m *CloseStatusUpdate) XXX_Size() int

func (*CloseStatusUpdate) XXX_Unmarshal

func (m *CloseStatusUpdate) XXX_Unmarshal(b []byte) error

type CloseStatusUpdate_ChanClose

type CloseStatusUpdate_ChanClose struct {
	ChanClose *ChannelCloseUpdate `protobuf:"bytes,3,opt,name=chan_close,proto3,oneof"`
}

type CloseStatusUpdate_ClosePending

type CloseStatusUpdate_ClosePending struct {
	ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,proto3,oneof"`
}

type ClosedChannelUpdate

type ClosedChannelUpdate struct {
	// *
	// 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,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	Capacity             int64         `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
	ClosedHeight         uint32        `protobuf:"varint,3,opt,name=closed_height,json=closedHeight,proto3" json:"closed_height,omitempty"`
	ChanPoint            *ChannelPoint `protobuf:"bytes,4,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ClosedChannelUpdate) Descriptor

func (*ClosedChannelUpdate) Descriptor() ([]byte, []int)

func (*ClosedChannelUpdate) GetCapacity

func (m *ClosedChannelUpdate) GetCapacity() int64

func (*ClosedChannelUpdate) GetChanId

func (m *ClosedChannelUpdate) GetChanId() uint64

func (*ClosedChannelUpdate) GetChanPoint

func (m *ClosedChannelUpdate) GetChanPoint() *ChannelPoint

func (*ClosedChannelUpdate) GetClosedHeight

func (m *ClosedChannelUpdate) GetClosedHeight() uint32

func (*ClosedChannelUpdate) ProtoMessage

func (*ClosedChannelUpdate) ProtoMessage()

func (*ClosedChannelUpdate) Reset

func (m *ClosedChannelUpdate) Reset()

func (*ClosedChannelUpdate) String

func (m *ClosedChannelUpdate) String() string

func (*ClosedChannelUpdate) XXX_DiscardUnknown

func (m *ClosedChannelUpdate) XXX_DiscardUnknown()

func (*ClosedChannelUpdate) XXX_Marshal

func (m *ClosedChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClosedChannelUpdate) XXX_Merge

func (dst *ClosedChannelUpdate) XXX_Merge(src proto.Message)

func (*ClosedChannelUpdate) XXX_Size

func (m *ClosedChannelUpdate) XXX_Size() int

func (*ClosedChannelUpdate) XXX_Unmarshal

func (m *ClosedChannelUpdate) XXX_Unmarshal(b []byte) error

type ClosedChannelsRequest

type ClosedChannelsRequest struct {
	Cooperative          bool     `protobuf:"varint,1,opt,name=cooperative,proto3" json:"cooperative,omitempty"`
	LocalForce           bool     `protobuf:"varint,2,opt,name=local_force,json=localForce,proto3" json:"local_force,omitempty"`
	RemoteForce          bool     `protobuf:"varint,3,opt,name=remote_force,json=remoteForce,proto3" json:"remote_force,omitempty"`
	Breach               bool     `protobuf:"varint,4,opt,name=breach,proto3" json:"breach,omitempty"`
	FundingCanceled      bool     `protobuf:"varint,5,opt,name=funding_canceled,json=fundingCanceled,proto3" json:"funding_canceled,omitempty"`
	Abandoned            bool     `protobuf:"varint,6,opt,name=abandoned,proto3" json:"abandoned,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClosedChannelsRequest) Descriptor

func (*ClosedChannelsRequest) Descriptor() ([]byte, []int)

func (*ClosedChannelsRequest) GetAbandoned

func (m *ClosedChannelsRequest) GetAbandoned() bool

func (*ClosedChannelsRequest) GetBreach

func (m *ClosedChannelsRequest) GetBreach() bool

func (*ClosedChannelsRequest) GetCooperative

func (m *ClosedChannelsRequest) GetCooperative() bool

func (*ClosedChannelsRequest) GetFundingCanceled

func (m *ClosedChannelsRequest) GetFundingCanceled() bool

func (*ClosedChannelsRequest) GetLocalForce

func (m *ClosedChannelsRequest) GetLocalForce() bool

func (*ClosedChannelsRequest) GetRemoteForce

func (m *ClosedChannelsRequest) GetRemoteForce() bool

func (*ClosedChannelsRequest) ProtoMessage

func (*ClosedChannelsRequest) ProtoMessage()

func (*ClosedChannelsRequest) Reset

func (m *ClosedChannelsRequest) Reset()

func (*ClosedChannelsRequest) String

func (m *ClosedChannelsRequest) String() string

func (*ClosedChannelsRequest) XXX_DiscardUnknown

func (m *ClosedChannelsRequest) XXX_DiscardUnknown()

func (*ClosedChannelsRequest) XXX_Marshal

func (m *ClosedChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClosedChannelsRequest) XXX_Merge

func (dst *ClosedChannelsRequest) XXX_Merge(src proto.Message)

func (*ClosedChannelsRequest) XXX_Size

func (m *ClosedChannelsRequest) XXX_Size() int

func (*ClosedChannelsRequest) XXX_Unmarshal

func (m *ClosedChannelsRequest) XXX_Unmarshal(b []byte) error

type ClosedChannelsResponse

type ClosedChannelsResponse struct {
	Channels             []*ChannelCloseSummary `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ClosedChannelsResponse) Descriptor

func (*ClosedChannelsResponse) Descriptor() ([]byte, []int)

func (*ClosedChannelsResponse) GetChannels

func (m *ClosedChannelsResponse) GetChannels() []*ChannelCloseSummary

func (*ClosedChannelsResponse) ProtoMessage

func (*ClosedChannelsResponse) ProtoMessage()

func (*ClosedChannelsResponse) Reset

func (m *ClosedChannelsResponse) Reset()

func (*ClosedChannelsResponse) String

func (m *ClosedChannelsResponse) String() string

func (*ClosedChannelsResponse) XXX_DiscardUnknown

func (m *ClosedChannelsResponse) XXX_DiscardUnknown()

func (*ClosedChannelsResponse) XXX_Marshal

func (m *ClosedChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClosedChannelsResponse) XXX_Merge

func (dst *ClosedChannelsResponse) XXX_Merge(src proto.Message)

func (*ClosedChannelsResponse) XXX_Size

func (m *ClosedChannelsResponse) XXX_Size() int

func (*ClosedChannelsResponse) XXX_Unmarshal

func (m *ClosedChannelsResponse) XXX_Unmarshal(b []byte) error

type ConfirmationUpdate

type ConfirmationUpdate struct {
	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,proto3" json:"block_height,omitempty"`
	NumConfsLeft         uint32   `protobuf:"varint,3,opt,name=num_confs_left,json=numConfsLeft,proto3" json:"num_confs_left,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfirmationUpdate) Descriptor

func (*ConfirmationUpdate) Descriptor() ([]byte, []int)

func (*ConfirmationUpdate) GetBlockHeight

func (m *ConfirmationUpdate) GetBlockHeight() int32

func (*ConfirmationUpdate) GetBlockSha

func (m *ConfirmationUpdate) GetBlockSha() []byte

func (*ConfirmationUpdate) GetNumConfsLeft

func (m *ConfirmationUpdate) GetNumConfsLeft() uint32

func (*ConfirmationUpdate) ProtoMessage

func (*ConfirmationUpdate) ProtoMessage()

func (*ConfirmationUpdate) Reset

func (m *ConfirmationUpdate) Reset()

func (*ConfirmationUpdate) String

func (m *ConfirmationUpdate) String() string

func (*ConfirmationUpdate) XXX_DiscardUnknown

func (m *ConfirmationUpdate) XXX_DiscardUnknown()

func (*ConfirmationUpdate) XXX_Marshal

func (m *ConfirmationUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfirmationUpdate) XXX_Merge

func (dst *ConfirmationUpdate) XXX_Merge(src proto.Message)

func (*ConfirmationUpdate) XXX_Size

func (m *ConfirmationUpdate) XXX_Size() int

func (*ConfirmationUpdate) XXX_Unmarshal

func (m *ConfirmationUpdate) XXX_Unmarshal(b []byte) error

type ConnectPeerRequest

type ConnectPeerRequest struct {
	// / Lightning address of the peer, in the format `<pubkey>@host`
	Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// * 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,proto3" json:"perm,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectPeerRequest) Descriptor

func (*ConnectPeerRequest) Descriptor() ([]byte, []int)

func (*ConnectPeerRequest) GetAddr

func (m *ConnectPeerRequest) GetAddr() *LightningAddress

func (*ConnectPeerRequest) GetPerm

func (m *ConnectPeerRequest) GetPerm() bool

func (*ConnectPeerRequest) ProtoMessage

func (*ConnectPeerRequest) ProtoMessage()

func (*ConnectPeerRequest) Reset

func (m *ConnectPeerRequest) Reset()

func (*ConnectPeerRequest) String

func (m *ConnectPeerRequest) String() string

func (*ConnectPeerRequest) XXX_DiscardUnknown

func (m *ConnectPeerRequest) XXX_DiscardUnknown()

func (*ConnectPeerRequest) XXX_Marshal

func (m *ConnectPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectPeerRequest) XXX_Merge

func (dst *ConnectPeerRequest) XXX_Merge(src proto.Message)

func (*ConnectPeerRequest) XXX_Size

func (m *ConnectPeerRequest) XXX_Size() int

func (*ConnectPeerRequest) XXX_Unmarshal

func (m *ConnectPeerRequest) XXX_Unmarshal(b []byte) error

type ConnectPeerResponse

type ConnectPeerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectPeerResponse) Descriptor

func (*ConnectPeerResponse) Descriptor() ([]byte, []int)

func (*ConnectPeerResponse) ProtoMessage

func (*ConnectPeerResponse) ProtoMessage()

func (*ConnectPeerResponse) Reset

func (m *ConnectPeerResponse) Reset()

func (*ConnectPeerResponse) String

func (m *ConnectPeerResponse) String() string

func (*ConnectPeerResponse) XXX_DiscardUnknown

func (m *ConnectPeerResponse) XXX_DiscardUnknown()

func (*ConnectPeerResponse) XXX_Marshal

func (m *ConnectPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectPeerResponse) XXX_Merge

func (dst *ConnectPeerResponse) XXX_Merge(src proto.Message)

func (*ConnectPeerResponse) XXX_Size

func (m *ConnectPeerResponse) XXX_Size() int

func (*ConnectPeerResponse) XXX_Unmarshal

func (m *ConnectPeerResponse) XXX_Unmarshal(b []byte) error

type DebugLevelRequest

type DebugLevelRequest struct {
	Show                 bool     `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
	LevelSpec            string   `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec,proto3" json:"level_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DebugLevelRequest) Descriptor

func (*DebugLevelRequest) Descriptor() ([]byte, []int)

func (*DebugLevelRequest) GetLevelSpec

func (m *DebugLevelRequest) GetLevelSpec() string

func (*DebugLevelRequest) GetShow

func (m *DebugLevelRequest) GetShow() bool

func (*DebugLevelRequest) ProtoMessage

func (*DebugLevelRequest) ProtoMessage()

func (*DebugLevelRequest) Reset

func (m *DebugLevelRequest) Reset()

func (*DebugLevelRequest) String

func (m *DebugLevelRequest) String() string

func (*DebugLevelRequest) XXX_DiscardUnknown

func (m *DebugLevelRequest) XXX_DiscardUnknown()

func (*DebugLevelRequest) XXX_Marshal

func (m *DebugLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLevelRequest) XXX_Merge

func (dst *DebugLevelRequest) XXX_Merge(src proto.Message)

func (*DebugLevelRequest) XXX_Size

func (m *DebugLevelRequest) XXX_Size() int

func (*DebugLevelRequest) XXX_Unmarshal

func (m *DebugLevelRequest) XXX_Unmarshal(b []byte) error

type DebugLevelResponse

type DebugLevelResponse struct {
	SubSystems           string   `protobuf:"bytes,1,opt,name=sub_systems,proto3" json:"sub_systems,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DebugLevelResponse) Descriptor

func (*DebugLevelResponse) Descriptor() ([]byte, []int)

func (*DebugLevelResponse) GetSubSystems

func (m *DebugLevelResponse) GetSubSystems() string

func (*DebugLevelResponse) ProtoMessage

func (*DebugLevelResponse) ProtoMessage()

func (*DebugLevelResponse) Reset

func (m *DebugLevelResponse) Reset()

func (*DebugLevelResponse) String

func (m *DebugLevelResponse) String() string

func (*DebugLevelResponse) XXX_DiscardUnknown

func (m *DebugLevelResponse) XXX_DiscardUnknown()

func (*DebugLevelResponse) XXX_Marshal

func (m *DebugLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLevelResponse) XXX_Merge

func (dst *DebugLevelResponse) XXX_Merge(src proto.Message)

func (*DebugLevelResponse) XXX_Size

func (m *DebugLevelResponse) XXX_Size() int

func (*DebugLevelResponse) XXX_Unmarshal

func (m *DebugLevelResponse) XXX_Unmarshal(b []byte) error

type DeleteAllPaymentsRequest

type DeleteAllPaymentsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAllPaymentsRequest) Descriptor

func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int)

func (*DeleteAllPaymentsRequest) ProtoMessage

func (*DeleteAllPaymentsRequest) ProtoMessage()

func (*DeleteAllPaymentsRequest) Reset

func (m *DeleteAllPaymentsRequest) Reset()

func (*DeleteAllPaymentsRequest) String

func (m *DeleteAllPaymentsRequest) String() string

func (*DeleteAllPaymentsRequest) XXX_DiscardUnknown

func (m *DeleteAllPaymentsRequest) XXX_DiscardUnknown()

func (*DeleteAllPaymentsRequest) XXX_Marshal

func (m *DeleteAllPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAllPaymentsRequest) XXX_Merge

func (dst *DeleteAllPaymentsRequest) XXX_Merge(src proto.Message)

func (*DeleteAllPaymentsRequest) XXX_Size

func (m *DeleteAllPaymentsRequest) XXX_Size() int

func (*DeleteAllPaymentsRequest) XXX_Unmarshal

func (m *DeleteAllPaymentsRequest) XXX_Unmarshal(b []byte) error

type DeleteAllPaymentsResponse

type DeleteAllPaymentsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAllPaymentsResponse) Descriptor

func (*DeleteAllPaymentsResponse) Descriptor() ([]byte, []int)

func (*DeleteAllPaymentsResponse) ProtoMessage

func (*DeleteAllPaymentsResponse) ProtoMessage()

func (*DeleteAllPaymentsResponse) Reset

func (m *DeleteAllPaymentsResponse) Reset()

func (*DeleteAllPaymentsResponse) String

func (m *DeleteAllPaymentsResponse) String() string

func (*DeleteAllPaymentsResponse) XXX_DiscardUnknown

func (m *DeleteAllPaymentsResponse) XXX_DiscardUnknown()

func (*DeleteAllPaymentsResponse) XXX_Marshal

func (m *DeleteAllPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAllPaymentsResponse) XXX_Merge

func (dst *DeleteAllPaymentsResponse) XXX_Merge(src proto.Message)

func (*DeleteAllPaymentsResponse) XXX_Size

func (m *DeleteAllPaymentsResponse) XXX_Size() int

func (*DeleteAllPaymentsResponse) XXX_Unmarshal

func (m *DeleteAllPaymentsResponse) XXX_Unmarshal(b []byte) error

type DisconnectPeerRequest

type DisconnectPeerRequest struct {
	// / The pubkey of the node to disconnect from
	PubKey               string   `protobuf:"bytes,1,opt,name=pub_key,proto3" json:"pub_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DisconnectPeerRequest) Descriptor

func (*DisconnectPeerRequest) Descriptor() ([]byte, []int)

func (*DisconnectPeerRequest) GetPubKey

func (m *DisconnectPeerRequest) GetPubKey() string

func (*DisconnectPeerRequest) ProtoMessage

func (*DisconnectPeerRequest) ProtoMessage()

func (*DisconnectPeerRequest) Reset

func (m *DisconnectPeerRequest) Reset()

func (*DisconnectPeerRequest) String

func (m *DisconnectPeerRequest) String() string

func (*DisconnectPeerRequest) XXX_DiscardUnknown

func (m *DisconnectPeerRequest) XXX_DiscardUnknown()

func (*DisconnectPeerRequest) XXX_Marshal

func (m *DisconnectPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisconnectPeerRequest) XXX_Merge

func (dst *DisconnectPeerRequest) XXX_Merge(src proto.Message)

func (*DisconnectPeerRequest) XXX_Size

func (m *DisconnectPeerRequest) XXX_Size() int

func (*DisconnectPeerRequest) XXX_Unmarshal

func (m *DisconnectPeerRequest) XXX_Unmarshal(b []byte) error

type DisconnectPeerResponse

type DisconnectPeerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DisconnectPeerResponse) Descriptor

func (*DisconnectPeerResponse) Descriptor() ([]byte, []int)

func (*DisconnectPeerResponse) ProtoMessage

func (*DisconnectPeerResponse) ProtoMessage()

func (*DisconnectPeerResponse) Reset

func (m *DisconnectPeerResponse) Reset()

func (*DisconnectPeerResponse) String

func (m *DisconnectPeerResponse) String() string

func (*DisconnectPeerResponse) XXX_DiscardUnknown

func (m *DisconnectPeerResponse) XXX_DiscardUnknown()

func (*DisconnectPeerResponse) XXX_Marshal

func (m *DisconnectPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisconnectPeerResponse) XXX_Merge

func (dst *DisconnectPeerResponse) XXX_Merge(src proto.Message)

func (*DisconnectPeerResponse) XXX_Size

func (m *DisconnectPeerResponse) XXX_Size() int

func (*DisconnectPeerResponse) XXX_Unmarshal

func (m *DisconnectPeerResponse) XXX_Unmarshal(b []byte) error

type EdgeLocator

type EdgeLocator struct {
	// / The short channel id of this edge.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// *
	// The direction of this edge. If direction_reverse is false, the direction
	// of this edge is from the channel endpoint with the lexicographically smaller
	// pub key to the endpoint with the larger pub key. If direction_reverse is
	// is true, the edge goes the other way.
	DirectionReverse     bool     `protobuf:"varint,2,opt,name=direction_reverse,json=directionReverse,proto3" json:"direction_reverse,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EdgeLocator) Descriptor

func (*EdgeLocator) Descriptor() ([]byte, []int)

func (*EdgeLocator) GetChannelId

func (m *EdgeLocator) GetChannelId() uint64

func (*EdgeLocator) GetDirectionReverse

func (m *EdgeLocator) GetDirectionReverse() bool

func (*EdgeLocator) ProtoMessage

func (*EdgeLocator) ProtoMessage()

func (*EdgeLocator) Reset

func (m *EdgeLocator) Reset()

func (*EdgeLocator) String

func (m *EdgeLocator) String() string

func (*EdgeLocator) XXX_DiscardUnknown

func (m *EdgeLocator) XXX_DiscardUnknown()

func (*EdgeLocator) XXX_Marshal

func (m *EdgeLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EdgeLocator) XXX_Merge

func (dst *EdgeLocator) XXX_Merge(src proto.Message)

func (*EdgeLocator) XXX_Size

func (m *EdgeLocator) XXX_Size() int

func (*EdgeLocator) XXX_Unmarshal

func (m *EdgeLocator) XXX_Unmarshal(b []byte) error

type EstimateFeeRequest

type EstimateFeeRequest struct {
	// / The map from addresses to amounts for the transaction.
	AddrToAmount map[string]int64 `` /* 166-byte string literal not displayed */
	// / The target number of blocks that this transaction should be confirmed by.
	TargetConf           int32    `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EstimateFeeRequest) Descriptor

func (*EstimateFeeRequest) Descriptor() ([]byte, []int)

func (*EstimateFeeRequest) GetAddrToAmount

func (m *EstimateFeeRequest) GetAddrToAmount() map[string]int64

func (*EstimateFeeRequest) GetTargetConf

func (m *EstimateFeeRequest) GetTargetConf() int32

func (*EstimateFeeRequest) ProtoMessage

func (*EstimateFeeRequest) ProtoMessage()

func (*EstimateFeeRequest) Reset

func (m *EstimateFeeRequest) Reset()

func (*EstimateFeeRequest) String

func (m *EstimateFeeRequest) String() string

func (*EstimateFeeRequest) XXX_DiscardUnknown

func (m *EstimateFeeRequest) XXX_DiscardUnknown()

func (*EstimateFeeRequest) XXX_Marshal

func (m *EstimateFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EstimateFeeRequest) XXX_Merge

func (dst *EstimateFeeRequest) XXX_Merge(src proto.Message)

func (*EstimateFeeRequest) XXX_Size

func (m *EstimateFeeRequest) XXX_Size() int

func (*EstimateFeeRequest) XXX_Unmarshal

func (m *EstimateFeeRequest) XXX_Unmarshal(b []byte) error

type EstimateFeeResponse

type EstimateFeeResponse struct {
	// / The total fee in satoshis.
	FeeSat int64 `protobuf:"varint,1,opt,name=fee_sat,proto3" json:"fee_sat,omitempty"`
	// / The fee rate in satoshi/byte.
	FeerateSatPerByte    int64    `protobuf:"varint,2,opt,name=feerate_sat_per_byte,proto3" json:"feerate_sat_per_byte,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EstimateFeeResponse) Descriptor

func (*EstimateFeeResponse) Descriptor() ([]byte, []int)

func (*EstimateFeeResponse) GetFeeSat

func (m *EstimateFeeResponse) GetFeeSat() int64

func (*EstimateFeeResponse) GetFeerateSatPerByte

func (m *EstimateFeeResponse) GetFeerateSatPerByte() int64

func (*EstimateFeeResponse) ProtoMessage

func (*EstimateFeeResponse) ProtoMessage()

func (*EstimateFeeResponse) Reset

func (m *EstimateFeeResponse) Reset()

func (*EstimateFeeResponse) String

func (m *EstimateFeeResponse) String() string

func (*EstimateFeeResponse) XXX_DiscardUnknown

func (m *EstimateFeeResponse) XXX_DiscardUnknown()

func (*EstimateFeeResponse) XXX_Marshal

func (m *EstimateFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EstimateFeeResponse) XXX_Merge

func (dst *EstimateFeeResponse) XXX_Merge(src proto.Message)

func (*EstimateFeeResponse) XXX_Size

func (m *EstimateFeeResponse) XXX_Size() int

func (*EstimateFeeResponse) XXX_Unmarshal

func (m *EstimateFeeResponse) XXX_Unmarshal(b []byte) error

type ExportChannelBackupRequest

type ExportChannelBackupRequest struct {
	// / The target chanenl point to obtain a back up for.
	ChanPoint            *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ExportChannelBackupRequest) Descriptor

func (*ExportChannelBackupRequest) Descriptor() ([]byte, []int)

func (*ExportChannelBackupRequest) GetChanPoint

func (m *ExportChannelBackupRequest) GetChanPoint() *ChannelPoint

func (*ExportChannelBackupRequest) ProtoMessage

func (*ExportChannelBackupRequest) ProtoMessage()

func (*ExportChannelBackupRequest) Reset

func (m *ExportChannelBackupRequest) Reset()

func (*ExportChannelBackupRequest) String

func (m *ExportChannelBackupRequest) String() string

func (*ExportChannelBackupRequest) XXX_DiscardUnknown

func (m *ExportChannelBackupRequest) XXX_DiscardUnknown()

func (*ExportChannelBackupRequest) XXX_Marshal

func (m *ExportChannelBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportChannelBackupRequest) XXX_Merge

func (dst *ExportChannelBackupRequest) XXX_Merge(src proto.Message)

func (*ExportChannelBackupRequest) XXX_Size

func (m *ExportChannelBackupRequest) XXX_Size() int

func (*ExportChannelBackupRequest) XXX_Unmarshal

func (m *ExportChannelBackupRequest) XXX_Unmarshal(b []byte) error

type FeeLimit

type FeeLimit struct {
	// Types that are valid to be assigned to Limit:
	//	*FeeLimit_Fixed
	//	*FeeLimit_Percent
	Limit                isFeeLimit_Limit `protobuf_oneof:"limit"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*FeeLimit) Descriptor

func (*FeeLimit) Descriptor() ([]byte, []int)

func (*FeeLimit) GetFixed

func (m *FeeLimit) GetFixed() int64

func (*FeeLimit) GetLimit

func (m *FeeLimit) GetLimit() isFeeLimit_Limit

func (*FeeLimit) GetPercent

func (m *FeeLimit) GetPercent() int64

func (*FeeLimit) ProtoMessage

func (*FeeLimit) ProtoMessage()

func (*FeeLimit) Reset

func (m *FeeLimit) Reset()

func (*FeeLimit) String

func (m *FeeLimit) String() string

func (*FeeLimit) XXX_DiscardUnknown

func (m *FeeLimit) XXX_DiscardUnknown()

func (*FeeLimit) XXX_Marshal

func (m *FeeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeLimit) XXX_Merge

func (dst *FeeLimit) XXX_Merge(src proto.Message)

func (*FeeLimit) XXX_OneofFuncs

func (*FeeLimit) 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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*FeeLimit) XXX_Size

func (m *FeeLimit) XXX_Size() int

func (*FeeLimit) XXX_Unmarshal

func (m *FeeLimit) XXX_Unmarshal(b []byte) error

type FeeLimit_Fixed

type FeeLimit_Fixed struct {
	Fixed int64 `protobuf:"varint,1,opt,name=fixed,proto3,oneof"`
}

type FeeLimit_Percent

type FeeLimit_Percent struct {
	Percent int64 `protobuf:"varint,2,opt,name=percent,proto3,oneof"`
}

type FeeReportRequest

type FeeReportRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeeReportRequest) Descriptor

func (*FeeReportRequest) Descriptor() ([]byte, []int)

func (*FeeReportRequest) ProtoMessage

func (*FeeReportRequest) ProtoMessage()

func (*FeeReportRequest) Reset

func (m *FeeReportRequest) Reset()

func (*FeeReportRequest) String

func (m *FeeReportRequest) String() string

func (*FeeReportRequest) XXX_DiscardUnknown

func (m *FeeReportRequest) XXX_DiscardUnknown()

func (*FeeReportRequest) XXX_Marshal

func (m *FeeReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeReportRequest) XXX_Merge

func (dst *FeeReportRequest) XXX_Merge(src proto.Message)

func (*FeeReportRequest) XXX_Size

func (m *FeeReportRequest) XXX_Size() int

func (*FeeReportRequest) XXX_Unmarshal

func (m *FeeReportRequest) XXX_Unmarshal(b []byte) error

type FeeReportResponse

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,proto3" json:"channel_fees,omitempty"`
	// / 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,proto3" 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,proto3" 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,proto3" json:"month_fee_sum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeeReportResponse) Descriptor

func (*FeeReportResponse) Descriptor() ([]byte, []int)

func (*FeeReportResponse) GetChannelFees

func (m *FeeReportResponse) GetChannelFees() []*ChannelFeeReport

func (*FeeReportResponse) GetDayFeeSum

func (m *FeeReportResponse) GetDayFeeSum() uint64

func (*FeeReportResponse) GetMonthFeeSum

func (m *FeeReportResponse) GetMonthFeeSum() uint64

func (*FeeReportResponse) GetWeekFeeSum

func (m *FeeReportResponse) GetWeekFeeSum() uint64

func (*FeeReportResponse) ProtoMessage

func (*FeeReportResponse) ProtoMessage()

func (*FeeReportResponse) Reset

func (m *FeeReportResponse) Reset()

func (*FeeReportResponse) String

func (m *FeeReportResponse) String() string

func (*FeeReportResponse) XXX_DiscardUnknown

func (m *FeeReportResponse) XXX_DiscardUnknown()

func (*FeeReportResponse) XXX_Marshal

func (m *FeeReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeReportResponse) XXX_Merge

func (dst *FeeReportResponse) XXX_Merge(src proto.Message)

func (*FeeReportResponse) XXX_Size

func (m *FeeReportResponse) XXX_Size() int

func (*FeeReportResponse) XXX_Unmarshal

func (m *FeeReportResponse) XXX_Unmarshal(b []byte) error

type ForwardingEvent

type ForwardingEvent struct {
	// / Timestamp is the time (unix epoch offset) that this circuit was completed.
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" 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,proto3" 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,proto3" json:"chan_id_out,omitempty"`
	// / The total amount (in satoshis) of the incoming HTLC that created half the circuit.
	AmtIn uint64 `protobuf:"varint,5,opt,name=amt_in,proto3" json:"amt_in,omitempty"`
	// / The total amount (in satoshis) of the outgoing HTLC that created the second half of the circuit.
	AmtOut uint64 `protobuf:"varint,6,opt,name=amt_out,proto3" json:"amt_out,omitempty"`
	// / The total fee (in satoshis) that this payment circuit carried.
	Fee uint64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// / The total fee (in milli-satoshis) that this payment circuit carried.
	FeeMsat              uint64   `protobuf:"varint,8,opt,name=fee_msat,proto3" json:"fee_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForwardingEvent) Descriptor

func (*ForwardingEvent) Descriptor() ([]byte, []int)

func (*ForwardingEvent) GetAmtIn

func (m *ForwardingEvent) GetAmtIn() uint64

func (*ForwardingEvent) GetAmtOut

func (m *ForwardingEvent) GetAmtOut() uint64

func (*ForwardingEvent) GetChanIdIn

func (m *ForwardingEvent) GetChanIdIn() uint64

func (*ForwardingEvent) GetChanIdOut

func (m *ForwardingEvent) GetChanIdOut() uint64

func (*ForwardingEvent) GetFee

func (m *ForwardingEvent) GetFee() uint64

func (*ForwardingEvent) GetFeeMsat

func (m *ForwardingEvent) GetFeeMsat() uint64

func (*ForwardingEvent) GetTimestamp

func (m *ForwardingEvent) GetTimestamp() uint64

func (*ForwardingEvent) ProtoMessage

func (*ForwardingEvent) ProtoMessage()

func (*ForwardingEvent) Reset

func (m *ForwardingEvent) Reset()

func (*ForwardingEvent) String

func (m *ForwardingEvent) String() string

func (*ForwardingEvent) XXX_DiscardUnknown

func (m *ForwardingEvent) XXX_DiscardUnknown()

func (*ForwardingEvent) XXX_Marshal

func (m *ForwardingEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardingEvent) XXX_Merge

func (dst *ForwardingEvent) XXX_Merge(src proto.Message)

func (*ForwardingEvent) XXX_Size

func (m *ForwardingEvent) XXX_Size() int

func (*ForwardingEvent) XXX_Unmarshal

func (m *ForwardingEvent) XXX_Unmarshal(b []byte) error

type ForwardingHistoryRequest

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,proto3" 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,proto3" 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,proto3" 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,proto3" json:"num_max_events,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForwardingHistoryRequest) Descriptor

func (*ForwardingHistoryRequest) Descriptor() ([]byte, []int)

func (*ForwardingHistoryRequest) GetEndTime

func (m *ForwardingHistoryRequest) GetEndTime() uint64

func (*ForwardingHistoryRequest) GetIndexOffset

func (m *ForwardingHistoryRequest) GetIndexOffset() uint32

func (*ForwardingHistoryRequest) GetNumMaxEvents

func (m *ForwardingHistoryRequest) GetNumMaxEvents() uint32

func (*ForwardingHistoryRequest) GetStartTime

func (m *ForwardingHistoryRequest) GetStartTime() uint64

func (*ForwardingHistoryRequest) ProtoMessage

func (*ForwardingHistoryRequest) ProtoMessage()

func (*ForwardingHistoryRequest) Reset

func (m *ForwardingHistoryRequest) Reset()

func (*ForwardingHistoryRequest) String

func (m *ForwardingHistoryRequest) String() string

func (*ForwardingHistoryRequest) XXX_DiscardUnknown

func (m *ForwardingHistoryRequest) XXX_DiscardUnknown()

func (*ForwardingHistoryRequest) XXX_Marshal

func (m *ForwardingHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardingHistoryRequest) XXX_Merge

func (dst *ForwardingHistoryRequest) XXX_Merge(src proto.Message)

func (*ForwardingHistoryRequest) XXX_Size

func (m *ForwardingHistoryRequest) XXX_Size() int

func (*ForwardingHistoryRequest) XXX_Unmarshal

func (m *ForwardingHistoryRequest) XXX_Unmarshal(b []byte) error

type ForwardingHistoryResponse

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,proto3" 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,proto3" json:"last_offset_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForwardingHistoryResponse) Descriptor

func (*ForwardingHistoryResponse) Descriptor() ([]byte, []int)

func (*ForwardingHistoryResponse) GetForwardingEvents

func (m *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent

func (*ForwardingHistoryResponse) GetLastOffsetIndex

func (m *ForwardingHistoryResponse) GetLastOffsetIndex() uint32

func (*ForwardingHistoryResponse) ProtoMessage

func (*ForwardingHistoryResponse) ProtoMessage()

func (*ForwardingHistoryResponse) Reset

func (m *ForwardingHistoryResponse) Reset()

func (*ForwardingHistoryResponse) String

func (m *ForwardingHistoryResponse) String() string

func (*ForwardingHistoryResponse) XXX_DiscardUnknown

func (m *ForwardingHistoryResponse) XXX_DiscardUnknown()

func (*ForwardingHistoryResponse) XXX_Marshal

func (m *ForwardingHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardingHistoryResponse) XXX_Merge

func (dst *ForwardingHistoryResponse) XXX_Merge(src proto.Message)

func (*ForwardingHistoryResponse) XXX_Size

func (m *ForwardingHistoryResponse) XXX_Size() int

func (*ForwardingHistoryResponse) XXX_Unmarshal

func (m *ForwardingHistoryResponse) XXX_Unmarshal(b []byte) error

type GenSeedRequest

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenSeedRequest) Descriptor

func (*GenSeedRequest) Descriptor() ([]byte, []int)

func (*GenSeedRequest) GetAezeedPassphrase

func (m *GenSeedRequest) GetAezeedPassphrase() []byte

func (*GenSeedRequest) GetSeedEntropy

func (m *GenSeedRequest) GetSeedEntropy() []byte

func (*GenSeedRequest) ProtoMessage

func (*GenSeedRequest) ProtoMessage()

func (*GenSeedRequest) Reset

func (m *GenSeedRequest) Reset()

func (*GenSeedRequest) String

func (m *GenSeedRequest) String() string

func (*GenSeedRequest) XXX_DiscardUnknown

func (m *GenSeedRequest) XXX_DiscardUnknown()

func (*GenSeedRequest) XXX_Marshal

func (m *GenSeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenSeedRequest) XXX_Merge

func (dst *GenSeedRequest) XXX_Merge(src proto.Message)

func (*GenSeedRequest) XXX_Size

func (m *GenSeedRequest) XXX_Size() int

func (*GenSeedRequest) XXX_Unmarshal

func (m *GenSeedRequest) XXX_Unmarshal(b []byte) error

type GenSeedResponse

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,proto3" 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenSeedResponse) Descriptor

func (*GenSeedResponse) Descriptor() ([]byte, []int)

func (*GenSeedResponse) GetCipherSeedMnemonic

func (m *GenSeedResponse) GetCipherSeedMnemonic() []string

func (*GenSeedResponse) GetEncipheredSeed

func (m *GenSeedResponse) GetEncipheredSeed() []byte

func (*GenSeedResponse) ProtoMessage

func (*GenSeedResponse) ProtoMessage()

func (*GenSeedResponse) Reset

func (m *GenSeedResponse) Reset()

func (*GenSeedResponse) String

func (m *GenSeedResponse) String() string

func (*GenSeedResponse) XXX_DiscardUnknown

func (m *GenSeedResponse) XXX_DiscardUnknown()

func (*GenSeedResponse) XXX_Marshal

func (m *GenSeedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenSeedResponse) XXX_Merge

func (dst *GenSeedResponse) XXX_Merge(src proto.Message)

func (*GenSeedResponse) XXX_Size

func (m *GenSeedResponse) XXX_Size() int

func (*GenSeedResponse) XXX_Unmarshal

func (m *GenSeedResponse) XXX_Unmarshal(b []byte) error

type GetInfoRequest

type GetInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetInfoRequest) Descriptor

func (*GetInfoRequest) Descriptor() ([]byte, []int)

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) Reset

func (m *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (m *GetInfoRequest) String() string

func (*GetInfoRequest) XXX_DiscardUnknown

func (m *GetInfoRequest) XXX_DiscardUnknown()

func (*GetInfoRequest) XXX_Marshal

func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInfoRequest) XXX_Merge

func (dst *GetInfoRequest) XXX_Merge(src proto.Message)

func (*GetInfoRequest) XXX_Size

func (m *GetInfoRequest) XXX_Size() int

func (*GetInfoRequest) XXX_Unmarshal

func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error

type GetInfoResponse

type GetInfoResponse struct {
	// / The identity pubkey of the current node.
	IdentityPubkey string `protobuf:"bytes,1,opt,name=identity_pubkey,proto3" json:"identity_pubkey,omitempty"`
	// / If applicable, the alias of the current node, e.g. "bob"
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// / Number of pending channels
	NumPendingChannels uint32 `protobuf:"varint,3,opt,name=num_pending_channels,proto3" json:"num_pending_channels,omitempty"`
	// / Number of active channels
	NumActiveChannels uint32 `protobuf:"varint,4,opt,name=num_active_channels,proto3" json:"num_active_channels,omitempty"`
	// / Number of peers
	NumPeers uint32 `protobuf:"varint,5,opt,name=num_peers,proto3" 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,proto3" 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,proto3" 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,proto3" json:"synced_to_chain,omitempty"`
	// *
	// Whether the current node is connected to testnet. This field is
	// deprecated and the network field should be used instead
	Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"` // Deprecated: Do not use.
	// / The URIs of the current node.
	Uris []string `protobuf:"bytes,12,rep,name=uris,proto3" json:"uris,omitempty"`
	// / Timestamp of the block best known to the wallet
	BestHeaderTimestamp int64 `protobuf:"varint,13,opt,name=best_header_timestamp,proto3" json:"best_header_timestamp,omitempty"`
	// / The version of the LND software that the node is running.
	Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
	// / Number of inactive channels
	NumInactiveChannels uint32 `protobuf:"varint,15,opt,name=num_inactive_channels,proto3" json:"num_inactive_channels,omitempty"`
	// / A list of active chains the node is connected to
	Chains               []*Chain `protobuf:"bytes,16,rep,name=chains,proto3" json:"chains,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetInfoResponse) Descriptor

func (*GetInfoResponse) Descriptor() ([]byte, []int)

func (*GetInfoResponse) GetAlias

func (m *GetInfoResponse) GetAlias() string

func (*GetInfoResponse) GetBestHeaderTimestamp

func (m *GetInfoResponse) GetBestHeaderTimestamp() int64

func (*GetInfoResponse) GetBlockHash

func (m *GetInfoResponse) GetBlockHash() string

func (*GetInfoResponse) GetBlockHeight

func (m *GetInfoResponse) GetBlockHeight() uint32

func (*GetInfoResponse) GetChains

func (m *GetInfoResponse) GetChains() []*Chain

func (*GetInfoResponse) GetIdentityPubkey

func (m *GetInfoResponse) GetIdentityPubkey() string

func (*GetInfoResponse) GetNumActiveChannels

func (m *GetInfoResponse) GetNumActiveChannels() uint32

func (*GetInfoResponse) GetNumInactiveChannels

func (m *GetInfoResponse) GetNumInactiveChannels() uint32

func (*GetInfoResponse) GetNumPeers

func (m *GetInfoResponse) GetNumPeers() uint32

func (*GetInfoResponse) GetNumPendingChannels

func (m *GetInfoResponse) GetNumPendingChannels() uint32

func (*GetInfoResponse) GetSyncedToChain

func (m *GetInfoResponse) GetSyncedToChain() bool

func (*GetInfoResponse) GetTestnet deprecated

func (m *GetInfoResponse) GetTestnet() bool

Deprecated: Do not use.

func (*GetInfoResponse) GetUris

func (m *GetInfoResponse) GetUris() []string

func (*GetInfoResponse) GetVersion

func (m *GetInfoResponse) GetVersion() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) Reset

func (m *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (m *GetInfoResponse) String() string

func (*GetInfoResponse) XXX_DiscardUnknown

func (m *GetInfoResponse) XXX_DiscardUnknown()

func (*GetInfoResponse) XXX_Marshal

func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInfoResponse) XXX_Merge

func (dst *GetInfoResponse) XXX_Merge(src proto.Message)

func (*GetInfoResponse) XXX_Size

func (m *GetInfoResponse) XXX_Size() int

func (*GetInfoResponse) XXX_Unmarshal

func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error

type GetTransactionsRequest

type GetTransactionsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTransactionsRequest) Descriptor

func (*GetTransactionsRequest) Descriptor() ([]byte, []int)

func (*GetTransactionsRequest) ProtoMessage

func (*GetTransactionsRequest) ProtoMessage()

func (*GetTransactionsRequest) Reset

func (m *GetTransactionsRequest) Reset()

func (*GetTransactionsRequest) String

func (m *GetTransactionsRequest) String() string

func (*GetTransactionsRequest) XXX_DiscardUnknown

func (m *GetTransactionsRequest) XXX_DiscardUnknown()

func (*GetTransactionsRequest) XXX_Marshal

func (m *GetTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTransactionsRequest) XXX_Merge

func (dst *GetTransactionsRequest) XXX_Merge(src proto.Message)

func (*GetTransactionsRequest) XXX_Size

func (m *GetTransactionsRequest) XXX_Size() int

func (*GetTransactionsRequest) XXX_Unmarshal

func (m *GetTransactionsRequest) XXX_Unmarshal(b []byte) error

type GraphTopologySubscription

type GraphTopologySubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GraphTopologySubscription) Descriptor

func (*GraphTopologySubscription) Descriptor() ([]byte, []int)

func (*GraphTopologySubscription) ProtoMessage

func (*GraphTopologySubscription) ProtoMessage()

func (*GraphTopologySubscription) Reset

func (m *GraphTopologySubscription) Reset()

func (*GraphTopologySubscription) String

func (m *GraphTopologySubscription) String() string

func (*GraphTopologySubscription) XXX_DiscardUnknown

func (m *GraphTopologySubscription) XXX_DiscardUnknown()

func (*GraphTopologySubscription) XXX_Marshal

func (m *GraphTopologySubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTopologySubscription) XXX_Merge

func (dst *GraphTopologySubscription) XXX_Merge(src proto.Message)

func (*GraphTopologySubscription) XXX_Size

func (m *GraphTopologySubscription) XXX_Size() int

func (*GraphTopologySubscription) XXX_Unmarshal

func (m *GraphTopologySubscription) XXX_Unmarshal(b []byte) error

type GraphTopologyUpdate

type GraphTopologyUpdate struct {
	NodeUpdates          []*NodeUpdate          `protobuf:"bytes,1,rep,name=node_updates,json=nodeUpdates,proto3" json:"node_updates,omitempty"`
	ChannelUpdates       []*ChannelEdgeUpdate   `protobuf:"bytes,2,rep,name=channel_updates,json=channelUpdates,proto3" json:"channel_updates,omitempty"`
	ClosedChans          []*ClosedChannelUpdate `protobuf:"bytes,3,rep,name=closed_chans,json=closedChans,proto3" json:"closed_chans,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*GraphTopologyUpdate) Descriptor

func (*GraphTopologyUpdate) Descriptor() ([]byte, []int)

func (*GraphTopologyUpdate) GetChannelUpdates

func (m *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate

func (*GraphTopologyUpdate) GetClosedChans

func (m *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate

func (*GraphTopologyUpdate) GetNodeUpdates

func (m *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate

func (*GraphTopologyUpdate) ProtoMessage

func (*GraphTopologyUpdate) ProtoMessage()

func (*GraphTopologyUpdate) Reset

func (m *GraphTopologyUpdate) Reset()

func (*GraphTopologyUpdate) String

func (m *GraphTopologyUpdate) String() string

func (*GraphTopologyUpdate) XXX_DiscardUnknown

func (m *GraphTopologyUpdate) XXX_DiscardUnknown()

func (*GraphTopologyUpdate) XXX_Marshal

func (m *GraphTopologyUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTopologyUpdate) XXX_Merge

func (dst *GraphTopologyUpdate) XXX_Merge(src proto.Message)

func (*GraphTopologyUpdate) XXX_Size

func (m *GraphTopologyUpdate) XXX_Size() int

func (*GraphTopologyUpdate) XXX_Unmarshal

func (m *GraphTopologyUpdate) XXX_Unmarshal(b []byte) error

type HTLC

type HTLC struct {
	Incoming             bool     `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	HashLock             []byte   `protobuf:"bytes,3,opt,name=hash_lock,proto3" json:"hash_lock,omitempty"`
	ExpirationHeight     uint32   `protobuf:"varint,4,opt,name=expiration_height,proto3" json:"expiration_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HTLC) Descriptor

func (*HTLC) Descriptor() ([]byte, []int)

func (*HTLC) GetAmount

func (m *HTLC) GetAmount() int64

func (*HTLC) GetExpirationHeight

func (m *HTLC) GetExpirationHeight() uint32

func (*HTLC) GetHashLock

func (m *HTLC) GetHashLock() []byte

func (*HTLC) GetIncoming

func (m *HTLC) GetIncoming() bool

func (*HTLC) ProtoMessage

func (*HTLC) ProtoMessage()

func (*HTLC) Reset

func (m *HTLC) Reset()

func (*HTLC) String

func (m *HTLC) String() string

func (*HTLC) XXX_DiscardUnknown

func (m *HTLC) XXX_DiscardUnknown()

func (*HTLC) XXX_Marshal

func (m *HTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTLC) XXX_Merge

func (dst *HTLC) XXX_Merge(src proto.Message)

func (*HTLC) XXX_Size

func (m *HTLC) XXX_Size() int

func (*HTLC) XXX_Unmarshal

func (m *HTLC) XXX_Unmarshal(b []byte) error

type Hop

type Hop struct {
	// *
	// 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,1,opt,name=chan_id,proto3" json:"chan_id,omitempty"`
	ChanCapacity     int64  `protobuf:"varint,2,opt,name=chan_capacity,proto3" json:"chan_capacity,omitempty"`
	AmtToForward     int64  `protobuf:"varint,3,opt,name=amt_to_forward,proto3" json:"amt_to_forward,omitempty"` // Deprecated: Do not use.
	Fee              int64  `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"`                       // Deprecated: Do not use.
	Expiry           uint32 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	AmtToForwardMsat int64  `protobuf:"varint,6,opt,name=amt_to_forward_msat,proto3" json:"amt_to_forward_msat,omitempty"`
	FeeMsat          int64  `protobuf:"varint,7,opt,name=fee_msat,proto3" json:"fee_msat,omitempty"`
	// *
	// An optional public key of the hop. If the public key is given, the payment
	// can be executed without relying on a copy of the channel graph.
	PubKey               string   `protobuf:"bytes,8,opt,name=pub_key,proto3" json:"pub_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Hop) Descriptor

func (*Hop) Descriptor() ([]byte, []int)

func (*Hop) GetAmtToForward deprecated

func (m *Hop) GetAmtToForward() int64

Deprecated: Do not use.

func (*Hop) GetAmtToForwardMsat

func (m *Hop) GetAmtToForwardMsat() int64

func (*Hop) GetChanCapacity

func (m *Hop) GetChanCapacity() int64

func (*Hop) GetChanId

func (m *Hop) GetChanId() uint64

func (*Hop) GetExpiry

func (m *Hop) GetExpiry() uint32

func (*Hop) GetFee deprecated

func (m *Hop) GetFee() int64

Deprecated: Do not use.

func (*Hop) GetFeeMsat

func (m *Hop) GetFeeMsat() int64

func (*Hop) GetPubKey

func (m *Hop) GetPubKey() string

func (*Hop) ProtoMessage

func (*Hop) ProtoMessage()

func (*Hop) Reset

func (m *Hop) Reset()

func (*Hop) String

func (m *Hop) String() string

func (*Hop) XXX_DiscardUnknown

func (m *Hop) XXX_DiscardUnknown()

func (*Hop) XXX_Marshal

func (m *Hop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hop) XXX_Merge

func (dst *Hop) XXX_Merge(src proto.Message)

func (*Hop) XXX_Size

func (m *Hop) XXX_Size() int

func (*Hop) XXX_Unmarshal

func (m *Hop) XXX_Unmarshal(b []byte) error

type HopHint

type HopHint struct {
	// / The public key of the node at the start of the channel.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,proto3" json:"node_id,omitempty"`
	// / The unique identifier of the channel.
	ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,proto3" json:"chan_id,omitempty"`
	// / The base fee of the channel denominated in millisatoshis.
	FeeBaseMsat uint32 `protobuf:"varint,3,opt,name=fee_base_msat,proto3" json:"fee_base_msat,omitempty"`
	// *
	// The fee rate of the channel for sending one satoshi across it denominated in
	// millionths of a satoshi.
	FeeProportionalMillionths uint32 `protobuf:"varint,4,opt,name=fee_proportional_millionths,proto3" json:"fee_proportional_millionths,omitempty"`
	// / The time-lock delta of the channel.
	CltvExpiryDelta      uint32   `protobuf:"varint,5,opt,name=cltv_expiry_delta,proto3" json:"cltv_expiry_delta,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HopHint) Descriptor

func (*HopHint) Descriptor() ([]byte, []int)

func (*HopHint) GetChanId

func (m *HopHint) GetChanId() uint64

func (*HopHint) GetCltvExpiryDelta

func (m *HopHint) GetCltvExpiryDelta() uint32

func (*HopHint) GetFeeBaseMsat

func (m *HopHint) GetFeeBaseMsat() uint32

func (*HopHint) GetFeeProportionalMillionths

func (m *HopHint) GetFeeProportionalMillionths() uint32

func (*HopHint) GetNodeId

func (m *HopHint) GetNodeId() string

func (*HopHint) ProtoMessage

func (*HopHint) ProtoMessage()

func (*HopHint) Reset

func (m *HopHint) Reset()

func (*HopHint) String

func (m *HopHint) String() string

func (*HopHint) XXX_DiscardUnknown

func (m *HopHint) XXX_DiscardUnknown()

func (*HopHint) XXX_Marshal

func (m *HopHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HopHint) XXX_Merge

func (dst *HopHint) XXX_Merge(src proto.Message)

func (*HopHint) XXX_Size

func (m *HopHint) XXX_Size() int

func (*HopHint) XXX_Unmarshal

func (m *HopHint) XXX_Unmarshal(b []byte) error

type InitWalletRequest

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,proto3" 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"`
	// *
	// recovery_window is an optional argument specifying the address lookahead
	// when restoring a wallet seed. The recovery window applies to each
	// individual branch of the BIP44 derivation paths. Supplying a recovery
	// window of zero indicates that no addresses should be recovered, such after
	// the first initialization of the wallet.
	RecoveryWindow int32 `protobuf:"varint,4,opt,name=recovery_window,json=recoveryWindow,proto3" json:"recovery_window,omitempty"`
	// *
	// channel_backups is an optional argument that allows clients to recover the
	// settled funds within a set of channels. This should be populated if the
	// user was unable to close out all channels and sweep funds before partial or
	// total data loss occurred. If specified, then after on-chain recovery of
	// funds, lnd begin to carry out the data loss recovery protocol in order to
	// recover the funds in each channel from a remote force closed transaction.
	ChannelBackups       *ChanBackupSnapshot `protobuf:"bytes,5,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*InitWalletRequest) Descriptor

func (*InitWalletRequest) Descriptor() ([]byte, []int)

func (*InitWalletRequest) GetAezeedPassphrase

func (m *InitWalletRequest) GetAezeedPassphrase() []byte

func (*InitWalletRequest) GetChannelBackups

func (m *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot

func (*InitWalletRequest) GetCipherSeedMnemonic

func (m *InitWalletRequest) GetCipherSeedMnemonic() []string

func (*InitWalletRequest) GetRecoveryWindow

func (m *InitWalletRequest) GetRecoveryWindow() int32

func (*InitWalletRequest) GetWalletPassword

func (m *InitWalletRequest) GetWalletPassword() []byte

func (*InitWalletRequest) ProtoMessage

func (*InitWalletRequest) ProtoMessage()

func (*InitWalletRequest) Reset

func (m *InitWalletRequest) Reset()

func (*InitWalletRequest) String

func (m *InitWalletRequest) String() string

func (*InitWalletRequest) XXX_DiscardUnknown

func (m *InitWalletRequest) XXX_DiscardUnknown()

func (*InitWalletRequest) XXX_Marshal

func (m *InitWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitWalletRequest) XXX_Merge

func (dst *InitWalletRequest) XXX_Merge(src proto.Message)

func (*InitWalletRequest) XXX_Size

func (m *InitWalletRequest) XXX_Size() int

func (*InitWalletRequest) XXX_Unmarshal

func (m *InitWalletRequest) XXX_Unmarshal(b []byte) error

type InitWalletResponse

type InitWalletResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitWalletResponse) Descriptor

func (*InitWalletResponse) Descriptor() ([]byte, []int)

func (*InitWalletResponse) ProtoMessage

func (*InitWalletResponse) ProtoMessage()

func (*InitWalletResponse) Reset

func (m *InitWalletResponse) Reset()

func (*InitWalletResponse) String

func (m *InitWalletResponse) String() string

func (*InitWalletResponse) XXX_DiscardUnknown

func (m *InitWalletResponse) XXX_DiscardUnknown()

func (*InitWalletResponse) XXX_Marshal

func (m *InitWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitWalletResponse) XXX_Merge

func (dst *InitWalletResponse) XXX_Merge(src proto.Message)

func (*InitWalletResponse) XXX_Size

func (m *InitWalletResponse) XXX_Size() int

func (*InitWalletResponse) XXX_Unmarshal

func (m *InitWalletResponse) XXX_Unmarshal(b []byte) error

type Invoice

type Invoice struct {
	// *
	// 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.
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// * Deprecated. An optional cryptographic receipt of payment which is not
	// implemented.
	Receipt []byte `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"` // Deprecated: Do not use.
	// *
	// 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,proto3" json:"value,omitempty"`
	// / Whether this invoice has been fulfilled
	Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"` // Deprecated: Do not use.
	// / When this invoice was created
	CreationDate int64 `protobuf:"varint,7,opt,name=creation_date,proto3" json:"creation_date,omitempty"`
	// / When this invoice was settled
	SettleDate int64 `protobuf:"varint,8,opt,name=settle_date,proto3" 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.
	PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,proto3" json:"payment_request,omitempty"`
	// *
	// 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,proto3" json:"expiry,omitempty"`
	// / Fallback on-chain address.
	FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,proto3" json:"fallback_addr,omitempty"`
	// / Delta to use for the time-lock of the CLTV extended to the final hop.
	CltvExpiry uint64 `protobuf:"varint,13,opt,name=cltv_expiry,proto3" json:"cltv_expiry,omitempty"`
	// *
	// Route hints that can each be individually used to assist in reaching the
	// invoice's destination.
	RouteHints []*RouteHint `protobuf:"bytes,14,rep,name=route_hints,proto3" json:"route_hints,omitempty"`
	// / Whether this invoice should include routing hints for private channels.
	Private bool `protobuf:"varint,15,opt,name=private,proto3" json:"private,omitempty"`
	// *
	// The "add" index of this invoice. Each newly created invoice will increment
	// this index making it monotonically increasing. Callers to the
	// SubscribeInvoices call can use this to instantly get notified of all added
	// invoices with an add_index greater than this one.
	AddIndex uint64 `protobuf:"varint,16,opt,name=add_index,proto3" json:"add_index,omitempty"`
	// *
	// The "settle" index of this invoice. Each newly settled invoice will
	// increment this index making it monotonically increasing. Callers to the
	// SubscribeInvoices call can use this to instantly get notified of all
	// settled invoices with an settle_index greater than this one.
	SettleIndex uint64 `protobuf:"varint,17,opt,name=settle_index,proto3" json:"settle_index,omitempty"`
	// / Deprecated, use amt_paid_sat or amt_paid_msat.
	AmtPaid int64 `protobuf:"varint,18,opt,name=amt_paid,proto3" json:"amt_paid,omitempty"` // Deprecated: Do not use.
	// *
	// The amount that was accepted for this invoice, in satoshis. This will ONLY
	// be set if this invoice has been settled. We provide this field as if the
	// invoice was created with a zero value, then we need to record what amount
	// was ultimately accepted. Additionally, it's possible that the sender paid
	// MORE that was specified in the original invoice. So we'll record that here
	// as well.
	AmtPaidSat int64 `protobuf:"varint,19,opt,name=amt_paid_sat,proto3" json:"amt_paid_sat,omitempty"`
	// *
	// The amount that was accepted for this invoice, in millisatoshis. This will
	// ONLY be set if this invoice has been settled. We provide this field as if
	// the invoice was created with a zero value, then we need to record what
	// amount was ultimately accepted. Additionally, it's possible that the sender
	// paid MORE that was specified in the original invoice. So we'll record that
	// here as well.
	AmtPaidMsat int64 `protobuf:"varint,20,opt,name=amt_paid_msat,proto3" json:"amt_paid_msat,omitempty"`
	// *
	// The state the invoice is in.
	State                Invoice_InvoiceState `protobuf:"varint,21,opt,name=state,proto3,enum=lnrpc.Invoice_InvoiceState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Invoice) Descriptor

func (*Invoice) Descriptor() ([]byte, []int)

func (*Invoice) GetAddIndex

func (m *Invoice) GetAddIndex() uint64

func (*Invoice) GetAmtPaid deprecated

func (m *Invoice) GetAmtPaid() int64

Deprecated: Do not use.

func (*Invoice) GetAmtPaidMsat

func (m *Invoice) GetAmtPaidMsat() int64

func (*Invoice) GetAmtPaidSat

func (m *Invoice) GetAmtPaidSat() int64

func (*Invoice) GetCltvExpiry

func (m *Invoice) GetCltvExpiry() uint64

func (*Invoice) GetCreationDate

func (m *Invoice) GetCreationDate() int64

func (*Invoice) GetDescriptionHash

func (m *Invoice) GetDescriptionHash() []byte

func (*Invoice) GetExpiry

func (m *Invoice) GetExpiry() int64

func (*Invoice) GetFallbackAddr

func (m *Invoice) GetFallbackAddr() string

func (*Invoice) GetMemo

func (m *Invoice) GetMemo() string

func (*Invoice) GetPaymentRequest

func (m *Invoice) GetPaymentRequest() string

func (*Invoice) GetPrivate

func (m *Invoice) GetPrivate() bool

func (*Invoice) GetRHash

func (m *Invoice) GetRHash() []byte

func (*Invoice) GetRPreimage

func (m *Invoice) GetRPreimage() []byte

func (*Invoice) GetReceipt deprecated

func (m *Invoice) GetReceipt() []byte

Deprecated: Do not use.

func (*Invoice) GetRouteHints

func (m *Invoice) GetRouteHints() []*RouteHint

func (*Invoice) GetSettleDate

func (m *Invoice) GetSettleDate() int64

func (*Invoice) GetSettleIndex

func (m *Invoice) GetSettleIndex() uint64

func (*Invoice) GetSettled deprecated

func (m *Invoice) GetSettled() bool

Deprecated: Do not use.

func (*Invoice) GetState

func (m *Invoice) GetState() Invoice_InvoiceState

func (*Invoice) GetValue

func (m *Invoice) GetValue() int64

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) Reset

func (m *Invoice) Reset()

func (*Invoice) String

func (m *Invoice) String() string

func (*Invoice) XXX_DiscardUnknown

func (m *Invoice) XXX_DiscardUnknown()

func (*Invoice) XXX_Marshal

func (m *Invoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Invoice) XXX_Merge

func (dst *Invoice) XXX_Merge(src proto.Message)

func (*Invoice) XXX_Size

func (m *Invoice) XXX_Size() int

func (*Invoice) XXX_Unmarshal

func (m *Invoice) XXX_Unmarshal(b []byte) error

type InvoiceSubscription

type InvoiceSubscription struct {
	// *
	// If specified (non-zero), then we'll first start by sending out
	// notifications for all added indexes with an add_index greater than this
	// value. This allows callers to catch up on any events they missed while they
	// weren't connected to the streaming RPC.
	AddIndex uint64 `protobuf:"varint,1,opt,name=add_index,proto3" json:"add_index,omitempty"`
	// *
	// If specified (non-zero), then we'll first start by sending out
	// notifications for all settled indexes with an settle_index greater than
	// this value. This allows callers to catch up on any events they missed while
	// they weren't connected to the streaming RPC.
	SettleIndex          uint64   `protobuf:"varint,2,opt,name=settle_index,proto3" json:"settle_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InvoiceSubscription) Descriptor

func (*InvoiceSubscription) Descriptor() ([]byte, []int)

func (*InvoiceSubscription) GetAddIndex

func (m *InvoiceSubscription) GetAddIndex() uint64

func (*InvoiceSubscription) GetSettleIndex

func (m *InvoiceSubscription) GetSettleIndex() uint64

func (*InvoiceSubscription) ProtoMessage

func (*InvoiceSubscription) ProtoMessage()

func (*InvoiceSubscription) Reset

func (m *InvoiceSubscription) Reset()

func (*InvoiceSubscription) String

func (m *InvoiceSubscription) String() string

func (*InvoiceSubscription) XXX_DiscardUnknown

func (m *InvoiceSubscription) XXX_DiscardUnknown()

func (*InvoiceSubscription) XXX_Marshal

func (m *InvoiceSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InvoiceSubscription) XXX_Merge

func (dst *InvoiceSubscription) XXX_Merge(src proto.Message)

func (*InvoiceSubscription) XXX_Size

func (m *InvoiceSubscription) XXX_Size() int

func (*InvoiceSubscription) XXX_Unmarshal

func (m *InvoiceSubscription) XXX_Unmarshal(b []byte) error

type Invoice_InvoiceState

type Invoice_InvoiceState int32
const (
	Invoice_OPEN     Invoice_InvoiceState = 0
	Invoice_SETTLED  Invoice_InvoiceState = 1
	Invoice_CANCELED Invoice_InvoiceState = 2
	Invoice_ACCEPTED Invoice_InvoiceState = 3
)

func (Invoice_InvoiceState) EnumDescriptor

func (Invoice_InvoiceState) EnumDescriptor() ([]byte, []int)

func (Invoice_InvoiceState) String

func (x Invoice_InvoiceState) String() string

type LightningAddress

type LightningAddress struct {
	// / The identity pubkey of the Lightning node
	Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// / 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,proto3" json:"host,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LightningAddress) Descriptor

func (*LightningAddress) Descriptor() ([]byte, []int)

func (*LightningAddress) GetHost

func (m *LightningAddress) GetHost() string

func (*LightningAddress) GetPubkey

func (m *LightningAddress) GetPubkey() string

func (*LightningAddress) ProtoMessage

func (*LightningAddress) ProtoMessage()

func (*LightningAddress) Reset

func (m *LightningAddress) Reset()

func (*LightningAddress) String

func (m *LightningAddress) String() string

func (*LightningAddress) XXX_DiscardUnknown

func (m *LightningAddress) XXX_DiscardUnknown()

func (*LightningAddress) XXX_Marshal

func (m *LightningAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LightningAddress) XXX_Merge

func (dst *LightningAddress) XXX_Merge(src proto.Message)

func (*LightningAddress) XXX_Size

func (m *LightningAddress) XXX_Size() int

func (*LightningAddress) XXX_Unmarshal

func (m *LightningAddress) XXX_Unmarshal(b []byte) error

type LightningClient

type LightningClient interface {
	// * lncli: `walletbalance`
	// WalletBalance returns total unspent outputs(confirmed and unconfirmed), all
	// confirmed unspent outputs and all unconfirmed unspent outputs under control
	// of the wallet.
	WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceResponse, error)
	// * lncli: `channelbalance`
	// ChannelBalance returns the total funds available across all open channels
	// in satoshis.
	ChannelBalance(ctx context.Context, in *ChannelBalanceRequest, opts ...grpc.CallOption) (*ChannelBalanceResponse, error)
	// * lncli: `listchaintxns`
	// GetTransactions returns a list describing all the known transactions
	// relevant to the wallet.
	GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*TransactionDetails, error)
	// * lncli: `estimatefee`
	// EstimateFee asks the chain backend to estimate the fee rate and total fees
	// for a transaction that pays to multiple specified outputs.
	EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error)
	// * lncli: `sendcoins`
	// SendCoins executes a request to send coins to a particular address. Unlike
	// 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.
	SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
	// * lncli: `listunspent`
	// ListUnspent returns a list of all utxos spendable by the wallet with a
	// number of confirmations between the specified minimum and maximum.
	ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error)
	// *
	// 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.
	SubscribeTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (Lightning_SubscribeTransactionsClient, error)
	// * lncli: `sendmany`
	// SendMany handles a request for a transaction that creates multiple specified
	// 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.
	SendMany(ctx context.Context, in *SendManyRequest, opts ...grpc.CallOption) (*SendManyResponse, error)
	// * lncli: `newaddress`
	// NewAddress creates a new address under control of the local wallet.
	NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error)
	// * 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.
	SignMessage(ctx context.Context, in *SignMessageRequest, opts ...grpc.CallOption) (*SignMessageResponse, error)
	// * 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.
	VerifyMessage(ctx context.Context, in *VerifyMessageRequest, opts ...grpc.CallOption) (*VerifyMessageResponse, error)
	// * 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.
	ConnectPeer(ctx context.Context, in *ConnectPeerRequest, opts ...grpc.CallOption) (*ConnectPeerResponse, error)
	// * 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.
	DisconnectPeer(ctx context.Context, in *DisconnectPeerRequest, opts ...grpc.CallOption) (*DisconnectPeerResponse, error)
	// * lncli: `listpeers`
	// ListPeers returns a verbose listing of all currently active peers.
	ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error)
	// * 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.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
	// * 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.
	PendingChannels(ctx context.Context, in *PendingChannelsRequest, opts ...grpc.CallOption) (*PendingChannelsResponse, error)
	// * lncli: `listchannels`
	// ListChannels returns a description of all the open channels that this node
	// is a participant in.
	ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error)
	// * lncli: `subscribechannelevents`
	// SubscribeChannelEvents creates a uni-directional stream from the server to
	// the client in which any updates relevant to the state of the channels are
	// sent over. Events include new active channels, inactive channels, and closed
	// channels.
	SubscribeChannelEvents(ctx context.Context, in *ChannelEventSubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelEventsClient, error)
	// * lncli: `closedchannels`
	// ClosedChannels returns a description of all the closed channels that
	// this node was a participant in.
	ClosedChannels(ctx context.Context, in *ClosedChannelsRequest, opts ...grpc.CallOption) (*ClosedChannelsResponse, error)
	// *
	// 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.
	OpenChannelSync(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*ChannelPoint, error)
	// * lncli: `openchannel`
	// OpenChannel attempts to open a singly funded channel specified in the
	// 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.
	OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error)
	// * 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
	// 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.
	CloseChannel(ctx context.Context, in *CloseChannelRequest, opts ...grpc.CallOption) (Lightning_CloseChannelClient, error)
	// * lncli: `abandonchannel`
	// AbandonChannel removes all channel state from the database except for a
	// close summary. This method can be used to get rid of permanently unusable
	// channels due to bugs fixed in newer versions of lnd. Only available
	// when in debug builds of lnd.
	AbandonChannel(ctx context.Context, in *AbandonChannelRequest, opts ...grpc.CallOption) (*AbandonChannelResponse, error)
	// * 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.
	SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error)
	// *
	// 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.
	SendPaymentSync(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
	// * lncli: `sendtoroute`
	// SendToRoute is a bi-directional streaming RPC for sending payment through
	// the Lightning Network. This method differs from SendPayment in that it
	// allows users to specify a full route manually. This can be used for things
	// like rebalancing, and atomic swaps.
	SendToRoute(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendToRouteClient, error)
	// *
	// SendToRouteSync is a synchronous version of SendToRoute. It Will block
	// until the payment either fails or succeeds.
	SendToRouteSync(ctx context.Context, in *SendToRouteRequest, opts ...grpc.CallOption) (*SendResponse, error)
	// * 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.
	AddInvoice(ctx context.Context, in *Invoice, opts ...grpc.CallOption) (*AddInvoiceResponse, error)
	// * lncli: `listinvoices`
	// ListInvoices returns a list of all the invoices currently stored within the
	// database. Any active debug invoices are ignored. It has full support for
	// paginated responses, allowing users to query for specific invoices through
	// their add_index. This can be done by using either the first_index_offset or
	// last_index_offset fields included in the response as the index_offset of the
	// next request. By default, the first 100 invoices created will be returned.
	// Backwards pagination is also supported through the Reversed flag.
	ListInvoices(ctx context.Context, in *ListInvoiceRequest, opts ...grpc.CallOption) (*ListInvoiceResponse, error)
	// * lncli: `lookupinvoice`
	// LookupInvoice attempts to look up an invoice according to its payment hash.
	// The passed payment hash *must* be exactly 32 bytes, if not, an error is
	// returned.
	LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error)
	// *
	// SubscribeInvoices returns a uni-directional stream (server -> client) for
	// notifying the client of newly added/settled invoices. The caller can
	// optionally specify the add_index and/or the settle_index. If the add_index
	// is specified, then we'll first start by sending add invoice events for all
	// invoices with an add_index greater than the specified value.  If the
	// settle_index is specified, the next, we'll send out all settle events for
	// invoices with a settle_index greater than the specified value.  One or both
	// of these fields can be set. If no fields are set, then we'll only send out
	// the latest add/settle events.
	SubscribeInvoices(ctx context.Context, in *InvoiceSubscription, opts ...grpc.CallOption) (Lightning_SubscribeInvoicesClient, error)
	// * 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.
	DecodePayReq(ctx context.Context, in *PayReqString, opts ...grpc.CallOption) (*PayReq, error)
	// * lncli: `listpayments`
	// ListPayments returns a list of all outgoing payments.
	ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...grpc.CallOption) (*ListPaymentsResponse, error)
	// *
	// DeleteAllPayments deletes all outgoing payments from DB.
	DeleteAllPayments(ctx context.Context, in *DeleteAllPaymentsRequest, opts ...grpc.CallOption) (*DeleteAllPaymentsResponse, error)
	// * 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.
	DescribeGraph(ctx context.Context, in *ChannelGraphRequest, opts ...grpc.CallOption) (*ChannelGraph, error)
	// * 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.
	GetChanInfo(ctx context.Context, in *ChanInfoRequest, opts ...grpc.CallOption) (*ChannelEdge, error)
	// * lncli: `getnodeinfo`
	// GetNodeInfo returns the latest advertised, aggregated, and authenticated
	// channel information for the specified node identified by its public key.
	GetNodeInfo(ctx context.Context, in *NodeInfoRequest, opts ...grpc.CallOption) (*NodeInfo, error)
	// * 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
	// present within the Sphinx packet encapsulated within the HTLC.
	QueryRoutes(ctx context.Context, in *QueryRoutesRequest, opts ...grpc.CallOption) (*QueryRoutesResponse, error)
	// * lncli: `getnetworkinfo`
	// GetNetworkInfo returns some basic stats about the known channel graph from
	// the point of view of the node.
	GetNetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfo, error)
	// * lncli: `stop`
	// StopDaemon will send a shutdown request to the interrupt handler, triggering
	// a graceful shutdown of the daemon.
	StopDaemon(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
	// *
	// 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.
	SubscribeChannelGraph(ctx context.Context, in *GraphTopologySubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelGraphClient, error)
	// * 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.
	DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error)
	// * 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)
	// * 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)
	// * lncli: `fwdinghistory`
	// ForwardingHistory allows the caller to query the htlcswitch for a record of
	// all HTLCs 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)
	// * lncli: `exportchanbackup`
	// ExportChannelBackup attempts to return an encrypted static channel backup
	// for the target channel identified by it channel point. The backup is
	// encrypted with a key generated from the aezeed seed of the user. The
	// returned backup can either be restored using the RestoreChannelBackup
	// method once lnd is running, or via the InitWallet and UnlockWallet methods
	// from the WalletUnlocker service.
	ExportChannelBackup(ctx context.Context, in *ExportChannelBackupRequest, opts ...grpc.CallOption) (*ChannelBackup, error)
	// *
	// ExportAllChannelBackups returns static channel backups for all existing
	// channels known to lnd. A set of regular singular static channel backups for
	// each channel are returned. Additionally, a multi-channel backup is returned
	// as well, which contains a single encrypted blob containing the backups of
	// each channel.
	ExportAllChannelBackups(ctx context.Context, in *ChanBackupExportRequest, opts ...grpc.CallOption) (*ChanBackupSnapshot, error)
	// *
	// VerifyChanBackup allows a caller to verify the integrity of a channel backup
	// snapshot. This method will accept either a packed Single or a packed Multi.
	// Specifying both will result in an error.
	VerifyChanBackup(ctx context.Context, in *ChanBackupSnapshot, opts ...grpc.CallOption) (*VerifyChanBackupResponse, error)
	// * lncli: `restorechanbackup`
	// RestoreChannelBackups accepts a set of singular channel backups, or a
	// single encrypted multi-chan backup and attempts to recover any funds
	// remaining within the channel. If we are able to unpack the backup, then the
	// new channel will be shown under listchannels, as well as pending channels.
	RestoreChannelBackups(ctx context.Context, in *RestoreChanBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error)
	// *
	// SubscribeChannelBackups allows a client to sub-subscribe to the most up to
	// date information concerning the state of all channel backups. Each time a
	// new channel is added, we return the new set of channels, along with a
	// multi-chan backup containing the backup info for all channels. Each time a
	// channel is closed, we send a new update, which contains new new chan back
	// ups, but the updated set of encrypted multi-chan backups with the closed
	// channel(s) removed.
	SubscribeChannelBackups(ctx context.Context, in *ChannelBackupSubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelBackupsClient, error)
}

LightningClient is the client API for Lightning service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLightningClient

func NewLightningClient(cc *grpc.ClientConn) LightningClient

type LightningNode

type LightningNode struct {
	LastUpdate           uint32         `protobuf:"varint,1,opt,name=last_update,proto3" json:"last_update,omitempty"`
	PubKey               string         `protobuf:"bytes,2,opt,name=pub_key,proto3" json:"pub_key,omitempty"`
	Alias                string         `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
	Addresses            []*NodeAddress `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Color                string         `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

* 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.

func (*LightningNode) Descriptor

func (*LightningNode) Descriptor() ([]byte, []int)

func (*LightningNode) GetAddresses

func (m *LightningNode) GetAddresses() []*NodeAddress

func (*LightningNode) GetAlias

func (m *LightningNode) GetAlias() string

func (*LightningNode) GetColor

func (m *LightningNode) GetColor() string

func (*LightningNode) GetLastUpdate

func (m *LightningNode) GetLastUpdate() uint32

func (*LightningNode) GetPubKey

func (m *LightningNode) GetPubKey() string

func (*LightningNode) ProtoMessage

func (*LightningNode) ProtoMessage()

func (*LightningNode) Reset

func (m *LightningNode) Reset()

func (*LightningNode) String

func (m *LightningNode) String() string

func (*LightningNode) XXX_DiscardUnknown

func (m *LightningNode) XXX_DiscardUnknown()

func (*LightningNode) XXX_Marshal

func (m *LightningNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LightningNode) XXX_Merge

func (dst *LightningNode) XXX_Merge(src proto.Message)

func (*LightningNode) XXX_Size

func (m *LightningNode) XXX_Size() int

func (*LightningNode) XXX_Unmarshal

func (m *LightningNode) XXX_Unmarshal(b []byte) error

type LightningServer

type LightningServer interface {
	// * lncli: `walletbalance`
	// WalletBalance returns total unspent outputs(confirmed and unconfirmed), all
	// confirmed unspent outputs and all unconfirmed unspent outputs under control
	// of the wallet.
	WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error)
	// * lncli: `channelbalance`
	// ChannelBalance returns the total funds available across all open channels
	// in satoshis.
	ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error)
	// * lncli: `listchaintxns`
	// GetTransactions returns a list describing all the known transactions
	// relevant to the wallet.
	GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error)
	// * lncli: `estimatefee`
	// EstimateFee asks the chain backend to estimate the fee rate and total fees
	// for a transaction that pays to multiple specified outputs.
	EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
	// * lncli: `sendcoins`
	// SendCoins executes a request to send coins to a particular address. Unlike
	// 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.
	SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
	// * lncli: `listunspent`
	// ListUnspent returns a list of all utxos spendable by the wallet with a
	// number of confirmations between the specified minimum and maximum.
	ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
	// *
	// 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.
	SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error
	// * lncli: `sendmany`
	// SendMany handles a request for a transaction that creates multiple specified
	// 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.
	SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error)
	// * lncli: `newaddress`
	// NewAddress creates a new address under control of the local wallet.
	NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
	// * 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.
	SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error)
	// * 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.
	VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error)
	// * 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.
	ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error)
	// * 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.
	DisconnectPeer(context.Context, *DisconnectPeerRequest) (*DisconnectPeerResponse, error)
	// * lncli: `listpeers`
	// ListPeers returns a verbose listing of all currently active peers.
	ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
	// * 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.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	// * 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.
	PendingChannels(context.Context, *PendingChannelsRequest) (*PendingChannelsResponse, error)
	// * lncli: `listchannels`
	// ListChannels returns a description of all the open channels that this node
	// is a participant in.
	ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
	// * lncli: `subscribechannelevents`
	// SubscribeChannelEvents creates a uni-directional stream from the server to
	// the client in which any updates relevant to the state of the channels are
	// sent over. Events include new active channels, inactive channels, and closed
	// channels.
	SubscribeChannelEvents(*ChannelEventSubscription, Lightning_SubscribeChannelEventsServer) error
	// * lncli: `closedchannels`
	// ClosedChannels returns a description of all the closed channels that
	// this node was a participant in.
	ClosedChannels(context.Context, *ClosedChannelsRequest) (*ClosedChannelsResponse, error)
	// *
	// 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.
	OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error)
	// * lncli: `openchannel`
	// OpenChannel attempts to open a singly funded channel specified in the
	// 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.
	OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
	// * 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
	// 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.
	CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error
	// * lncli: `abandonchannel`
	// AbandonChannel removes all channel state from the database except for a
	// close summary. This method can be used to get rid of permanently unusable
	// channels due to bugs fixed in newer versions of lnd. Only available
	// when in debug builds of lnd.
	AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error)
	// * 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.
	SendPayment(Lightning_SendPaymentServer) error
	// *
	// 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.
	SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error)
	// * lncli: `sendtoroute`
	// SendToRoute is a bi-directional streaming RPC for sending payment through
	// the Lightning Network. This method differs from SendPayment in that it
	// allows users to specify a full route manually. This can be used for things
	// like rebalancing, and atomic swaps.
	SendToRoute(Lightning_SendToRouteServer) error
	// *
	// SendToRouteSync is a synchronous version of SendToRoute. It Will block
	// until the payment either fails or succeeds.
	SendToRouteSync(context.Context, *SendToRouteRequest) (*SendResponse, error)
	// * 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.
	AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error)
	// * lncli: `listinvoices`
	// ListInvoices returns a list of all the invoices currently stored within the
	// database. Any active debug invoices are ignored. It has full support for
	// paginated responses, allowing users to query for specific invoices through
	// their add_index. This can be done by using either the first_index_offset or
	// last_index_offset fields included in the response as the index_offset of the
	// next request. By default, the first 100 invoices created will be returned.
	// Backwards pagination is also supported through the Reversed flag.
	ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error)
	// * lncli: `lookupinvoice`
	// LookupInvoice attempts to look up an invoice according to its payment hash.
	// The passed payment hash *must* be exactly 32 bytes, if not, an error is
	// returned.
	LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
	// *
	// SubscribeInvoices returns a uni-directional stream (server -> client) for
	// notifying the client of newly added/settled invoices. The caller can
	// optionally specify the add_index and/or the settle_index. If the add_index
	// is specified, then we'll first start by sending add invoice events for all
	// invoices with an add_index greater than the specified value.  If the
	// settle_index is specified, the next, we'll send out all settle events for
	// invoices with a settle_index greater than the specified value.  One or both
	// of these fields can be set. If no fields are set, then we'll only send out
	// the latest add/settle events.
	SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error
	// * 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.
	DecodePayReq(context.Context, *PayReqString) (*PayReq, error)
	// * lncli: `listpayments`
	// ListPayments returns a list of all outgoing payments.
	ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
	// *
	// DeleteAllPayments deletes all outgoing payments from DB.
	DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error)
	// * 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.
	DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error)
	// * 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.
	GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error)
	// * lncli: `getnodeinfo`
	// GetNodeInfo returns the latest advertised, aggregated, and authenticated
	// channel information for the specified node identified by its public key.
	GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error)
	// * 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
	// present within the Sphinx packet encapsulated within the HTLC.
	QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error)
	// * lncli: `getnetworkinfo`
	// GetNetworkInfo returns some basic stats about the known channel graph from
	// the point of view of the node.
	GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error)
	// * lncli: `stop`
	// StopDaemon will send a shutdown request to the interrupt handler, triggering
	// a graceful shutdown of the daemon.
	StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
	// *
	// 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.
	SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error
	// * 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.
	DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
	// * 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)
	// * 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)
	// * lncli: `fwdinghistory`
	// ForwardingHistory allows the caller to query the htlcswitch for a record of
	// all HTLCs 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)
	// * lncli: `exportchanbackup`
	// ExportChannelBackup attempts to return an encrypted static channel backup
	// for the target channel identified by it channel point. The backup is
	// encrypted with a key generated from the aezeed seed of the user. The
	// returned backup can either be restored using the RestoreChannelBackup
	// method once lnd is running, or via the InitWallet and UnlockWallet methods
	// from the WalletUnlocker service.
	ExportChannelBackup(context.Context, *ExportChannelBackupRequest) (*ChannelBackup, error)
	// *
	// ExportAllChannelBackups returns static channel backups for all existing
	// channels known to lnd. A set of regular singular static channel backups for
	// each channel are returned. Additionally, a multi-channel backup is returned
	// as well, which contains a single encrypted blob containing the backups of
	// each channel.
	ExportAllChannelBackups(context.Context, *ChanBackupExportRequest) (*ChanBackupSnapshot, error)
	// *
	// VerifyChanBackup allows a caller to verify the integrity of a channel backup
	// snapshot. This method will accept either a packed Single or a packed Multi.
	// Specifying both will result in an error.
	VerifyChanBackup(context.Context, *ChanBackupSnapshot) (*VerifyChanBackupResponse, error)
	// * lncli: `restorechanbackup`
	// RestoreChannelBackups accepts a set of singular channel backups, or a
	// single encrypted multi-chan backup and attempts to recover any funds
	// remaining within the channel. If we are able to unpack the backup, then the
	// new channel will be shown under listchannels, as well as pending channels.
	RestoreChannelBackups(context.Context, *RestoreChanBackupRequest) (*RestoreBackupResponse, error)
	// *
	// SubscribeChannelBackups allows a client to sub-subscribe to the most up to
	// date information concerning the state of all channel backups. Each time a
	// new channel is added, we return the new set of channels, along with a
	// multi-chan backup containing the backup info for all channels. Each time a
	// channel is closed, we send a new update, which contains new new chan back
	// ups, but the updated set of encrypted multi-chan backups with the closed
	// channel(s) removed.
	SubscribeChannelBackups(*ChannelBackupSubscription, Lightning_SubscribeChannelBackupsServer) error
}

LightningServer is the server API for Lightning service.

type Lightning_CloseChannelClient

type Lightning_CloseChannelClient interface {
	Recv() (*CloseStatusUpdate, error)
	grpc.ClientStream
}

type Lightning_CloseChannelServer

type Lightning_CloseChannelServer interface {
	Send(*CloseStatusUpdate) error
	grpc.ServerStream
}

type Lightning_OpenChannelClient

type Lightning_OpenChannelClient interface {
	Recv() (*OpenStatusUpdate, error)
	grpc.ClientStream
}

type Lightning_OpenChannelServer

type Lightning_OpenChannelServer interface {
	Send(*OpenStatusUpdate) error
	grpc.ServerStream
}

type Lightning_SendPaymentClient

type Lightning_SendPaymentClient interface {
	Send(*SendRequest) error
	Recv() (*SendResponse, error)
	grpc.ClientStream
}

type Lightning_SendPaymentServer

type Lightning_SendPaymentServer interface {
	Send(*SendResponse) error
	Recv() (*SendRequest, error)
	grpc.ServerStream
}

type Lightning_SendToRouteClient

type Lightning_SendToRouteClient interface {
	Send(*SendToRouteRequest) error
	Recv() (*SendResponse, error)
	grpc.ClientStream
}

type Lightning_SendToRouteServer

type Lightning_SendToRouteServer interface {
	Send(*SendResponse) error
	Recv() (*SendToRouteRequest, error)
	grpc.ServerStream
}

type Lightning_SubscribeChannelBackupsClient

type Lightning_SubscribeChannelBackupsClient interface {
	Recv() (*ChanBackupSnapshot, error)
	grpc.ClientStream
}

type Lightning_SubscribeChannelBackupsServer

type Lightning_SubscribeChannelBackupsServer interface {
	Send(*ChanBackupSnapshot) error
	grpc.ServerStream
}

type Lightning_SubscribeChannelEventsClient

type Lightning_SubscribeChannelEventsClient interface {
	Recv() (*ChannelEventUpdate, error)
	grpc.ClientStream
}

type Lightning_SubscribeChannelEventsServer

type Lightning_SubscribeChannelEventsServer interface {
	Send(*ChannelEventUpdate) error
	grpc.ServerStream
}

type Lightning_SubscribeChannelGraphClient

type Lightning_SubscribeChannelGraphClient interface {
	Recv() (*GraphTopologyUpdate, error)
	grpc.ClientStream
}

type Lightning_SubscribeChannelGraphServer

type Lightning_SubscribeChannelGraphServer interface {
	Send(*GraphTopologyUpdate) error
	grpc.ServerStream
}

type Lightning_SubscribeInvoicesClient

type Lightning_SubscribeInvoicesClient interface {
	Recv() (*Invoice, error)
	grpc.ClientStream
}

type Lightning_SubscribeInvoicesServer

type Lightning_SubscribeInvoicesServer interface {
	Send(*Invoice) error
	grpc.ServerStream
}

type Lightning_SubscribeTransactionsClient

type Lightning_SubscribeTransactionsClient interface {
	Recv() (*Transaction, error)
	grpc.ClientStream
}

type Lightning_SubscribeTransactionsServer

type Lightning_SubscribeTransactionsServer interface {
	Send(*Transaction) error
	grpc.ServerStream
}

type ListChannelsRequest

type ListChannelsRequest struct {
	ActiveOnly           bool     `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
	InactiveOnly         bool     `protobuf:"varint,2,opt,name=inactive_only,json=inactiveOnly,proto3" json:"inactive_only,omitempty"`
	PublicOnly           bool     `protobuf:"varint,3,opt,name=public_only,json=publicOnly,proto3" json:"public_only,omitempty"`
	PrivateOnly          bool     `protobuf:"varint,4,opt,name=private_only,json=privateOnly,proto3" json:"private_only,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListChannelsRequest) Descriptor

func (*ListChannelsRequest) Descriptor() ([]byte, []int)

func (*ListChannelsRequest) GetActiveOnly

func (m *ListChannelsRequest) GetActiveOnly() bool

func (*ListChannelsRequest) GetInactiveOnly

func (m *ListChannelsRequest) GetInactiveOnly() bool

func (*ListChannelsRequest) GetPrivateOnly

func (m *ListChannelsRequest) GetPrivateOnly() bool

func (*ListChannelsRequest) GetPublicOnly

func (m *ListChannelsRequest) GetPublicOnly() bool

func (*ListChannelsRequest) ProtoMessage

func (*ListChannelsRequest) ProtoMessage()

func (*ListChannelsRequest) Reset

func (m *ListChannelsRequest) Reset()

func (*ListChannelsRequest) String

func (m *ListChannelsRequest) String() string

func (*ListChannelsRequest) XXX_DiscardUnknown

func (m *ListChannelsRequest) XXX_DiscardUnknown()

func (*ListChannelsRequest) XXX_Marshal

func (m *ListChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsRequest) XXX_Merge

func (dst *ListChannelsRequest) XXX_Merge(src proto.Message)

func (*ListChannelsRequest) XXX_Size

func (m *ListChannelsRequest) XXX_Size() int

func (*ListChannelsRequest) XXX_Unmarshal

func (m *ListChannelsRequest) XXX_Unmarshal(b []byte) error

type ListChannelsResponse

type ListChannelsResponse struct {
	// / The list of active channels
	Channels             []*Channel `protobuf:"bytes,11,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListChannelsResponse) Descriptor

func (*ListChannelsResponse) Descriptor() ([]byte, []int)

func (*ListChannelsResponse) GetChannels

func (m *ListChannelsResponse) GetChannels() []*Channel

func (*ListChannelsResponse) ProtoMessage

func (*ListChannelsResponse) ProtoMessage()

func (*ListChannelsResponse) Reset

func (m *ListChannelsResponse) Reset()

func (*ListChannelsResponse) String

func (m *ListChannelsResponse) String() string

func (*ListChannelsResponse) XXX_DiscardUnknown

func (m *ListChannelsResponse) XXX_DiscardUnknown()

func (*ListChannelsResponse) XXX_Marshal

func (m *ListChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsResponse) XXX_Merge

func (dst *ListChannelsResponse) XXX_Merge(src proto.Message)

func (*ListChannelsResponse) XXX_Size

func (m *ListChannelsResponse) XXX_Size() int

func (*ListChannelsResponse) XXX_Unmarshal

func (m *ListChannelsResponse) XXX_Unmarshal(b []byte) error

type ListInvoiceRequest

type ListInvoiceRequest struct {
	// / If set, only unsettled invoices will be returned in the response.
	PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,proto3" json:"pending_only,omitempty"`
	// *
	// The index of an invoice that will be used as either the start or end of a
	// query to determine which invoices should be returned in the response.
	IndexOffset uint64 `protobuf:"varint,4,opt,name=index_offset,proto3" json:"index_offset,omitempty"`
	// / The max number of invoices to return in the response to this query.
	NumMaxInvoices uint64 `protobuf:"varint,5,opt,name=num_max_invoices,proto3" json:"num_max_invoices,omitempty"`
	// *
	// If set, the invoices returned will result from seeking backwards from the
	// specified index offset. This can be used to paginate backwards.
	Reversed             bool     `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListInvoiceRequest) Descriptor

func (*ListInvoiceRequest) Descriptor() ([]byte, []int)

func (*ListInvoiceRequest) GetIndexOffset

func (m *ListInvoiceRequest) GetIndexOffset() uint64

func (*ListInvoiceRequest) GetNumMaxInvoices

func (m *ListInvoiceRequest) GetNumMaxInvoices() uint64

func (*ListInvoiceRequest) GetPendingOnly

func (m *ListInvoiceRequest) GetPendingOnly() bool

func (*ListInvoiceRequest) GetReversed

func (m *ListInvoiceRequest) GetReversed() bool

func (*ListInvoiceRequest) ProtoMessage

func (*ListInvoiceRequest) ProtoMessage()

func (*ListInvoiceRequest) Reset

func (m *ListInvoiceRequest) Reset()

func (*ListInvoiceRequest) String

func (m *ListInvoiceRequest) String() string

func (*ListInvoiceRequest) XXX_DiscardUnknown

func (m *ListInvoiceRequest) XXX_DiscardUnknown()

func (*ListInvoiceRequest) XXX_Marshal

func (m *ListInvoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInvoiceRequest) XXX_Merge

func (dst *ListInvoiceRequest) XXX_Merge(src proto.Message)

func (*ListInvoiceRequest) XXX_Size

func (m *ListInvoiceRequest) XXX_Size() int

func (*ListInvoiceRequest) XXX_Unmarshal

func (m *ListInvoiceRequest) XXX_Unmarshal(b []byte) error

type ListInvoiceResponse

type ListInvoiceResponse struct {
	// *
	// A list of invoices from the time slice of the time series specified in the
	// request.
	Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"`
	// *
	// The index of the last item in the set of returned invoices. This can be used
	// to seek further, pagination style.
	LastIndexOffset uint64 `protobuf:"varint,2,opt,name=last_index_offset,proto3" json:"last_index_offset,omitempty"`
	// *
	// The index of the last item in the set of returned invoices. This can be used
	// to seek backwards, pagination style.
	FirstIndexOffset     uint64   `protobuf:"varint,3,opt,name=first_index_offset,proto3" json:"first_index_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListInvoiceResponse) Descriptor

func (*ListInvoiceResponse) Descriptor() ([]byte, []int)

func (*ListInvoiceResponse) GetFirstIndexOffset

func (m *ListInvoiceResponse) GetFirstIndexOffset() uint64

func (*ListInvoiceResponse) GetInvoices

func (m *ListInvoiceResponse) GetInvoices() []*Invoice

func (*ListInvoiceResponse) GetLastIndexOffset

func (m *ListInvoiceResponse) GetLastIndexOffset() uint64

func (*ListInvoiceResponse) ProtoMessage

func (*ListInvoiceResponse) ProtoMessage()

func (*ListInvoiceResponse) Reset

func (m *ListInvoiceResponse) Reset()

func (*ListInvoiceResponse) String

func (m *ListInvoiceResponse) String() string

func (*ListInvoiceResponse) XXX_DiscardUnknown

func (m *ListInvoiceResponse) XXX_DiscardUnknown()

func (*ListInvoiceResponse) XXX_Marshal

func (m *ListInvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInvoiceResponse) XXX_Merge

func (dst *ListInvoiceResponse) XXX_Merge(src proto.Message)

func (*ListInvoiceResponse) XXX_Size

func (m *ListInvoiceResponse) XXX_Size() int

func (*ListInvoiceResponse) XXX_Unmarshal

func (m *ListInvoiceResponse) XXX_Unmarshal(b []byte) error

type ListPaymentsRequest

type ListPaymentsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPaymentsRequest) Descriptor

func (*ListPaymentsRequest) Descriptor() ([]byte, []int)

func (*ListPaymentsRequest) ProtoMessage

func (*ListPaymentsRequest) ProtoMessage()

func (*ListPaymentsRequest) Reset

func (m *ListPaymentsRequest) Reset()

func (*ListPaymentsRequest) String

func (m *ListPaymentsRequest) String() string

func (*ListPaymentsRequest) XXX_DiscardUnknown

func (m *ListPaymentsRequest) XXX_DiscardUnknown()

func (*ListPaymentsRequest) XXX_Marshal

func (m *ListPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPaymentsRequest) XXX_Merge

func (dst *ListPaymentsRequest) XXX_Merge(src proto.Message)

func (*ListPaymentsRequest) XXX_Size

func (m *ListPaymentsRequest) XXX_Size() int

func (*ListPaymentsRequest) XXX_Unmarshal

func (m *ListPaymentsRequest) XXX_Unmarshal(b []byte) error

type ListPaymentsResponse

type ListPaymentsResponse struct {
	// / The list of payments
	Payments             []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListPaymentsResponse) Descriptor

func (*ListPaymentsResponse) Descriptor() ([]byte, []int)

func (*ListPaymentsResponse) GetPayments

func (m *ListPaymentsResponse) GetPayments() []*Payment

func (*ListPaymentsResponse) ProtoMessage

func (*ListPaymentsResponse) ProtoMessage()

func (*ListPaymentsResponse) Reset

func (m *ListPaymentsResponse) Reset()

func (*ListPaymentsResponse) String

func (m *ListPaymentsResponse) String() string

func (*ListPaymentsResponse) XXX_DiscardUnknown

func (m *ListPaymentsResponse) XXX_DiscardUnknown()

func (*ListPaymentsResponse) XXX_Marshal

func (m *ListPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPaymentsResponse) XXX_Merge

func (dst *ListPaymentsResponse) XXX_Merge(src proto.Message)

func (*ListPaymentsResponse) XXX_Size

func (m *ListPaymentsResponse) XXX_Size() int

func (*ListPaymentsResponse) XXX_Unmarshal

func (m *ListPaymentsResponse) XXX_Unmarshal(b []byte) error

type ListPeersRequest

type ListPeersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPeersRequest) Descriptor

func (*ListPeersRequest) Descriptor() ([]byte, []int)

func (*ListPeersRequest) ProtoMessage

func (*ListPeersRequest) ProtoMessage()

func (*ListPeersRequest) Reset

func (m *ListPeersRequest) Reset()

func (*ListPeersRequest) String

func (m *ListPeersRequest) String() string

func (*ListPeersRequest) XXX_DiscardUnknown

func (m *ListPeersRequest) XXX_DiscardUnknown()

func (*ListPeersRequest) XXX_Marshal

func (m *ListPeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPeersRequest) XXX_Merge

func (dst *ListPeersRequest) XXX_Merge(src proto.Message)

func (*ListPeersRequest) XXX_Size

func (m *ListPeersRequest) XXX_Size() int

func (*ListPeersRequest) XXX_Unmarshal

func (m *ListPeersRequest) XXX_Unmarshal(b []byte) error

type ListPeersResponse

type ListPeersResponse struct {
	// / The list of currently connected peers
	Peers                []*Peer  `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPeersResponse) Descriptor

func (*ListPeersResponse) Descriptor() ([]byte, []int)

func (*ListPeersResponse) GetPeers

func (m *ListPeersResponse) GetPeers() []*Peer

func (*ListPeersResponse) ProtoMessage

func (*ListPeersResponse) ProtoMessage()

func (*ListPeersResponse) Reset

func (m *ListPeersResponse) Reset()

func (*ListPeersResponse) String

func (m *ListPeersResponse) String() string

func (*ListPeersResponse) XXX_DiscardUnknown

func (m *ListPeersResponse) XXX_DiscardUnknown()

func (*ListPeersResponse) XXX_Marshal

func (m *ListPeersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPeersResponse) XXX_Merge

func (dst *ListPeersResponse) XXX_Merge(src proto.Message)

func (*ListPeersResponse) XXX_Size

func (m *ListPeersResponse) XXX_Size() int

func (*ListPeersResponse) XXX_Unmarshal

func (m *ListPeersResponse) XXX_Unmarshal(b []byte) error

type ListUnspentRequest

type ListUnspentRequest struct {
	// / The minimum number of confirmations to be included.
	MinConfs int32 `protobuf:"varint,1,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
	// / The maximum number of confirmations to be included.
	MaxConfs             int32    `protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUnspentRequest) Descriptor

func (*ListUnspentRequest) Descriptor() ([]byte, []int)

func (*ListUnspentRequest) GetMaxConfs

func (m *ListUnspentRequest) GetMaxConfs() int32

func (*ListUnspentRequest) GetMinConfs

func (m *ListUnspentRequest) GetMinConfs() int32

func (*ListUnspentRequest) ProtoMessage

func (*ListUnspentRequest) ProtoMessage()

func (*ListUnspentRequest) Reset

func (m *ListUnspentRequest) Reset()

func (*ListUnspentRequest) String

func (m *ListUnspentRequest) String() string

func (*ListUnspentRequest) XXX_DiscardUnknown

func (m *ListUnspentRequest) XXX_DiscardUnknown()

func (*ListUnspentRequest) XXX_Marshal

func (m *ListUnspentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUnspentRequest) XXX_Merge

func (dst *ListUnspentRequest) XXX_Merge(src proto.Message)

func (*ListUnspentRequest) XXX_Size

func (m *ListUnspentRequest) XXX_Size() int

func (*ListUnspentRequest) XXX_Unmarshal

func (m *ListUnspentRequest) XXX_Unmarshal(b []byte) error

type ListUnspentResponse

type ListUnspentResponse struct {
	// / A list of utxos
	Utxos                []*Utxo  `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUnspentResponse) Descriptor

func (*ListUnspentResponse) Descriptor() ([]byte, []int)

func (*ListUnspentResponse) GetUtxos

func (m *ListUnspentResponse) GetUtxos() []*Utxo

func (*ListUnspentResponse) ProtoMessage

func (*ListUnspentResponse) ProtoMessage()

func (*ListUnspentResponse) Reset

func (m *ListUnspentResponse) Reset()

func (*ListUnspentResponse) String

func (m *ListUnspentResponse) String() string

func (*ListUnspentResponse) XXX_DiscardUnknown

func (m *ListUnspentResponse) XXX_DiscardUnknown()

func (*ListUnspentResponse) XXX_Marshal

func (m *ListUnspentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUnspentResponse) XXX_Merge

func (dst *ListUnspentResponse) XXX_Merge(src proto.Message)

func (*ListUnspentResponse) XXX_Size

func (m *ListUnspentResponse) XXX_Size() int

func (*ListUnspentResponse) XXX_Unmarshal

func (m *ListUnspentResponse) XXX_Unmarshal(b []byte) error

type MacaroonPerms

type MacaroonPerms map[string][]bakery.Op

MacaroonPerms is a map from the FullMethod of an invoked gRPC command. It maps the set of operations that the macaroon presented with the command MUST satisfy. With this map, all sub-servers are able to communicate to the primary macaroon service what type of macaroon must be passed with each method present on the service of the sub-server.

type MultiChanBackup

type MultiChanBackup struct {
	// *
	// Is the set of all channels that are included in this multi-channel backup.
	ChanPoints []*ChannelPoint `protobuf:"bytes,1,rep,name=chan_points,proto3" json:"chan_points,omitempty"`
	// *
	// A single encrypted blob containing all the static channel backups of the
	// channel listed above. This can be stored as a single file or blob, and
	// safely be replaced with any prior/future versions.
	MultiChanBackup      []byte   `protobuf:"bytes,2,opt,name=multi_chan_backup,proto3" json:"multi_chan_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MultiChanBackup) Descriptor

func (*MultiChanBackup) Descriptor() ([]byte, []int)

func (*MultiChanBackup) GetChanPoints

func (m *MultiChanBackup) GetChanPoints() []*ChannelPoint

func (*MultiChanBackup) GetMultiChanBackup

func (m *MultiChanBackup) GetMultiChanBackup() []byte

func (*MultiChanBackup) ProtoMessage

func (*MultiChanBackup) ProtoMessage()

func (*MultiChanBackup) Reset

func (m *MultiChanBackup) Reset()

func (*MultiChanBackup) String

func (m *MultiChanBackup) String() string

func (*MultiChanBackup) XXX_DiscardUnknown

func (m *MultiChanBackup) XXX_DiscardUnknown()

func (*MultiChanBackup) XXX_Marshal

func (m *MultiChanBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiChanBackup) XXX_Merge

func (dst *MultiChanBackup) XXX_Merge(src proto.Message)

func (*MultiChanBackup) XXX_Size

func (m *MultiChanBackup) XXX_Size() int

func (*MultiChanBackup) XXX_Unmarshal

func (m *MultiChanBackup) XXX_Unmarshal(b []byte) error

type NetworkInfo

type NetworkInfo struct {
	GraphDiameter        uint32   `protobuf:"varint,1,opt,name=graph_diameter,proto3" json:"graph_diameter,omitempty"`
	AvgOutDegree         float64  `protobuf:"fixed64,2,opt,name=avg_out_degree,proto3" json:"avg_out_degree,omitempty"`
	MaxOutDegree         uint32   `protobuf:"varint,3,opt,name=max_out_degree,proto3" json:"max_out_degree,omitempty"`
	NumNodes             uint32   `protobuf:"varint,4,opt,name=num_nodes,proto3" json:"num_nodes,omitempty"`
	NumChannels          uint32   `protobuf:"varint,5,opt,name=num_channels,proto3" json:"num_channels,omitempty"`
	TotalNetworkCapacity int64    `protobuf:"varint,6,opt,name=total_network_capacity,proto3" json:"total_network_capacity,omitempty"`
	AvgChannelSize       float64  `protobuf:"fixed64,7,opt,name=avg_channel_size,proto3" json:"avg_channel_size,omitempty"`
	MinChannelSize       int64    `protobuf:"varint,8,opt,name=min_channel_size,proto3" json:"min_channel_size,omitempty"`
	MaxChannelSize       int64    `protobuf:"varint,9,opt,name=max_channel_size,proto3" json:"max_channel_size,omitempty"`
	MedianChannelSizeSat int64    `protobuf:"varint,10,opt,name=median_channel_size_sat,proto3" json:"median_channel_size_sat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkInfo) Descriptor

func (*NetworkInfo) Descriptor() ([]byte, []int)

func (*NetworkInfo) GetAvgChannelSize

func (m *NetworkInfo) GetAvgChannelSize() float64

func (*NetworkInfo) GetAvgOutDegree

func (m *NetworkInfo) GetAvgOutDegree() float64

func (*NetworkInfo) GetGraphDiameter

func (m *NetworkInfo) GetGraphDiameter() uint32

func (*NetworkInfo) GetMaxChannelSize

func (m *NetworkInfo) GetMaxChannelSize() int64

func (*NetworkInfo) GetMaxOutDegree

func (m *NetworkInfo) GetMaxOutDegree() uint32

func (*NetworkInfo) GetMedianChannelSizeSat

func (m *NetworkInfo) GetMedianChannelSizeSat() int64

func (*NetworkInfo) GetMinChannelSize

func (m *NetworkInfo) GetMinChannelSize() int64

func (*NetworkInfo) GetNumChannels

func (m *NetworkInfo) GetNumChannels() uint32

func (*NetworkInfo) GetNumNodes

func (m *NetworkInfo) GetNumNodes() uint32

func (*NetworkInfo) GetTotalNetworkCapacity

func (m *NetworkInfo) GetTotalNetworkCapacity() int64

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) Reset

func (m *NetworkInfo) Reset()

func (*NetworkInfo) String

func (m *NetworkInfo) String() string

func (*NetworkInfo) XXX_DiscardUnknown

func (m *NetworkInfo) XXX_DiscardUnknown()

func (*NetworkInfo) XXX_Marshal

func (m *NetworkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInfo) XXX_Merge

func (dst *NetworkInfo) XXX_Merge(src proto.Message)

func (*NetworkInfo) XXX_Size

func (m *NetworkInfo) XXX_Size() int

func (*NetworkInfo) XXX_Unmarshal

func (m *NetworkInfo) XXX_Unmarshal(b []byte) error

type NetworkInfoRequest

type NetworkInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkInfoRequest) Descriptor

func (*NetworkInfoRequest) Descriptor() ([]byte, []int)

func (*NetworkInfoRequest) ProtoMessage

func (*NetworkInfoRequest) ProtoMessage()

func (*NetworkInfoRequest) Reset

func (m *NetworkInfoRequest) Reset()

func (*NetworkInfoRequest) String

func (m *NetworkInfoRequest) String() string

func (*NetworkInfoRequest) XXX_DiscardUnknown

func (m *NetworkInfoRequest) XXX_DiscardUnknown()

func (*NetworkInfoRequest) XXX_Marshal

func (m *NetworkInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInfoRequest) XXX_Merge

func (dst *NetworkInfoRequest) XXX_Merge(src proto.Message)

func (*NetworkInfoRequest) XXX_Size

func (m *NetworkInfoRequest) XXX_Size() int

func (*NetworkInfoRequest) XXX_Unmarshal

func (m *NetworkInfoRequest) XXX_Unmarshal(b []byte) error

type NewAddressRequest

type NewAddressRequest struct {
	// / The address type
	Type                 AddressType `protobuf:"varint,1,opt,name=type,proto3,enum=lnrpc.AddressType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*NewAddressRequest) Descriptor

func (*NewAddressRequest) Descriptor() ([]byte, []int)

func (*NewAddressRequest) GetType

func (m *NewAddressRequest) GetType() AddressType

func (*NewAddressRequest) ProtoMessage

func (*NewAddressRequest) ProtoMessage()

func (*NewAddressRequest) Reset

func (m *NewAddressRequest) Reset()

func (*NewAddressRequest) String

func (m *NewAddressRequest) String() string

func (*NewAddressRequest) XXX_DiscardUnknown

func (m *NewAddressRequest) XXX_DiscardUnknown()

func (*NewAddressRequest) XXX_Marshal

func (m *NewAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewAddressRequest) XXX_Merge

func (dst *NewAddressRequest) XXX_Merge(src proto.Message)

func (*NewAddressRequest) XXX_Size

func (m *NewAddressRequest) XXX_Size() int

func (*NewAddressRequest) XXX_Unmarshal

func (m *NewAddressRequest) XXX_Unmarshal(b []byte) error

type NewAddressResponse

type NewAddressResponse struct {
	// / The newly generated wallet address
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NewAddressResponse) Descriptor

func (*NewAddressResponse) Descriptor() ([]byte, []int)

func (*NewAddressResponse) GetAddress

func (m *NewAddressResponse) GetAddress() string

func (*NewAddressResponse) ProtoMessage

func (*NewAddressResponse) ProtoMessage()

func (*NewAddressResponse) Reset

func (m *NewAddressResponse) Reset()

func (*NewAddressResponse) String

func (m *NewAddressResponse) String() string

func (*NewAddressResponse) XXX_DiscardUnknown

func (m *NewAddressResponse) XXX_DiscardUnknown()

func (*NewAddressResponse) XXX_Marshal

func (m *NewAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewAddressResponse) XXX_Merge

func (dst *NewAddressResponse) XXX_Merge(src proto.Message)

func (*NewAddressResponse) XXX_Size

func (m *NewAddressResponse) XXX_Size() int

func (*NewAddressResponse) XXX_Unmarshal

func (m *NewAddressResponse) XXX_Unmarshal(b []byte) error

type NodeAddress

type NodeAddress struct {
	Network              string   `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeAddress) Descriptor

func (*NodeAddress) Descriptor() ([]byte, []int)

func (*NodeAddress) GetAddr

func (m *NodeAddress) GetAddr() string

func (*NodeAddress) GetNetwork

func (m *NodeAddress) GetNetwork() string

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) Reset

func (m *NodeAddress) Reset()

func (*NodeAddress) String

func (m *NodeAddress) String() string

func (*NodeAddress) XXX_DiscardUnknown

func (m *NodeAddress) XXX_DiscardUnknown()

func (*NodeAddress) XXX_Marshal

func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeAddress) XXX_Merge

func (dst *NodeAddress) XXX_Merge(src proto.Message)

func (*NodeAddress) XXX_Size

func (m *NodeAddress) XXX_Size() int

func (*NodeAddress) XXX_Unmarshal

func (m *NodeAddress) XXX_Unmarshal(b []byte) error

type NodeInfo

type NodeInfo struct {
	// *
	// 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.
	Node                 *LightningNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	NumChannels          uint32         `protobuf:"varint,2,opt,name=num_channels,proto3" json:"num_channels,omitempty"`
	TotalCapacity        int64          `protobuf:"varint,3,opt,name=total_capacity,proto3" json:"total_capacity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*NodeInfo) Descriptor

func (*NodeInfo) Descriptor() ([]byte, []int)

func (*NodeInfo) GetNode

func (m *NodeInfo) GetNode() *LightningNode

func (*NodeInfo) GetNumChannels

func (m *NodeInfo) GetNumChannels() uint32

func (*NodeInfo) GetTotalCapacity

func (m *NodeInfo) GetTotalCapacity() int64

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

func (*NodeInfo) XXX_DiscardUnknown

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal

func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfo) XXX_Merge

func (dst *NodeInfo) XXX_Merge(src proto.Message)

func (*NodeInfo) XXX_Size

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal

func (m *NodeInfo) XXX_Unmarshal(b []byte) error

type NodeInfoRequest

type NodeInfoRequest struct {
	// / The 33-byte hex-encoded compressed public of the target node
	PubKey               string   `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeInfoRequest) Descriptor

func (*NodeInfoRequest) Descriptor() ([]byte, []int)

func (*NodeInfoRequest) GetPubKey

func (m *NodeInfoRequest) GetPubKey() string

func (*NodeInfoRequest) ProtoMessage

func (*NodeInfoRequest) ProtoMessage()

func (*NodeInfoRequest) Reset

func (m *NodeInfoRequest) Reset()

func (*NodeInfoRequest) String

func (m *NodeInfoRequest) String() string

func (*NodeInfoRequest) XXX_DiscardUnknown

func (m *NodeInfoRequest) XXX_DiscardUnknown()

func (*NodeInfoRequest) XXX_Marshal

func (m *NodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfoRequest) XXX_Merge

func (dst *NodeInfoRequest) XXX_Merge(src proto.Message)

func (*NodeInfoRequest) XXX_Size

func (m *NodeInfoRequest) XXX_Size() int

func (*NodeInfoRequest) XXX_Unmarshal

func (m *NodeInfoRequest) XXX_Unmarshal(b []byte) error

type NodeUpdate

type NodeUpdate struct {
	Addresses            []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	IdentityKey          string   `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" 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,proto3" json:"alias,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeUpdate) Descriptor

func (*NodeUpdate) Descriptor() ([]byte, []int)

func (*NodeUpdate) GetAddresses

func (m *NodeUpdate) GetAddresses() []string

func (*NodeUpdate) GetAlias

func (m *NodeUpdate) GetAlias() string

func (*NodeUpdate) GetGlobalFeatures

func (m *NodeUpdate) GetGlobalFeatures() []byte

func (*NodeUpdate) GetIdentityKey

func (m *NodeUpdate) GetIdentityKey() string

func (*NodeUpdate) ProtoMessage

func (*NodeUpdate) ProtoMessage()

func (*NodeUpdate) Reset

func (m *NodeUpdate) Reset()

func (*NodeUpdate) String

func (m *NodeUpdate) String() string

func (*NodeUpdate) XXX_DiscardUnknown

func (m *NodeUpdate) XXX_DiscardUnknown()

func (*NodeUpdate) XXX_Marshal

func (m *NodeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeUpdate) XXX_Merge

func (dst *NodeUpdate) XXX_Merge(src proto.Message)

func (*NodeUpdate) XXX_Size

func (m *NodeUpdate) XXX_Size() int

func (*NodeUpdate) XXX_Unmarshal

func (m *NodeUpdate) XXX_Unmarshal(b []byte) error

type OpenChannelRequest

type OpenChannelRequest struct {
	// / The pubkey of the node to open a channel with
	NodePubkey []byte `protobuf:"bytes,2,opt,name=node_pubkey,proto3" json:"node_pubkey,omitempty"`
	// / The hex encoded pubkey of the node to open a channel with
	NodePubkeyString string `protobuf:"bytes,3,opt,name=node_pubkey_string,proto3" 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,proto3" 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,proto3" json:"push_sat,omitempty"`
	// / The target number of blocks that the funding transaction should be confirmed by.
	TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	// / A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
	SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
	// / Whether this channel should be private, not announced to the greater network.
	Private bool `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"`
	// / The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
	MinHtlcMsat int64 `protobuf:"varint,9,opt,name=min_htlc_msat,proto3" json:"min_htlc_msat,omitempty"`
	// / The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
	RemoteCsvDelay uint32 `protobuf:"varint,10,opt,name=remote_csv_delay,proto3" json:"remote_csv_delay,omitempty"`
	// / The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
	MinConfs int32 `protobuf:"varint,11,opt,name=min_confs,proto3" json:"min_confs,omitempty"`
	// / Whether unconfirmed outputs should be used as inputs for the funding transaction.
	SpendUnconfirmed     bool     `protobuf:"varint,12,opt,name=spend_unconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenChannelRequest) Descriptor

func (*OpenChannelRequest) Descriptor() ([]byte, []int)

func (*OpenChannelRequest) GetLocalFundingAmount

func (m *OpenChannelRequest) GetLocalFundingAmount() int64

func (*OpenChannelRequest) GetMinConfs

func (m *OpenChannelRequest) GetMinConfs() int32

func (*OpenChannelRequest) GetMinHtlcMsat

func (m *OpenChannelRequest) GetMinHtlcMsat() int64

func (*OpenChannelRequest) GetNodePubkey

func (m *OpenChannelRequest) GetNodePubkey() []byte

func (*OpenChannelRequest) GetNodePubkeyString

func (m *OpenChannelRequest) GetNodePubkeyString() string

func (*OpenChannelRequest) GetPrivate

func (m *OpenChannelRequest) GetPrivate() bool

func (*OpenChannelRequest) GetPushSat

func (m *OpenChannelRequest) GetPushSat() int64

func (*OpenChannelRequest) GetRemoteCsvDelay

func (m *OpenChannelRequest) GetRemoteCsvDelay() uint32

func (*OpenChannelRequest) GetSatPerByte

func (m *OpenChannelRequest) GetSatPerByte() int64

func (*OpenChannelRequest) GetSpendUnconfirmed

func (m *OpenChannelRequest) GetSpendUnconfirmed() bool

func (*OpenChannelRequest) GetTargetConf

func (m *OpenChannelRequest) GetTargetConf() int32

func (*OpenChannelRequest) ProtoMessage

func (*OpenChannelRequest) ProtoMessage()

func (*OpenChannelRequest) Reset

func (m *OpenChannelRequest) Reset()

func (*OpenChannelRequest) String

func (m *OpenChannelRequest) String() string

func (*OpenChannelRequest) XXX_DiscardUnknown

func (m *OpenChannelRequest) XXX_DiscardUnknown()

func (*OpenChannelRequest) XXX_Marshal

func (m *OpenChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenChannelRequest) XXX_Merge

func (dst *OpenChannelRequest) XXX_Merge(src proto.Message)

func (*OpenChannelRequest) XXX_Size

func (m *OpenChannelRequest) XXX_Size() int

func (*OpenChannelRequest) XXX_Unmarshal

func (m *OpenChannelRequest) XXX_Unmarshal(b []byte) error

type OpenStatusUpdate

type OpenStatusUpdate struct {
	// Types that are valid to be assigned to Update:
	//	*OpenStatusUpdate_ChanPending
	//	*OpenStatusUpdate_ChanOpen
	Update               isOpenStatusUpdate_Update `protobuf_oneof:"update"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*OpenStatusUpdate) Descriptor

func (*OpenStatusUpdate) Descriptor() ([]byte, []int)

func (*OpenStatusUpdate) GetChanOpen

func (m *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate

func (*OpenStatusUpdate) GetChanPending

func (m *OpenStatusUpdate) GetChanPending() *PendingUpdate

func (*OpenStatusUpdate) GetUpdate

func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update

func (*OpenStatusUpdate) ProtoMessage

func (*OpenStatusUpdate) ProtoMessage()

func (*OpenStatusUpdate) Reset

func (m *OpenStatusUpdate) Reset()

func (*OpenStatusUpdate) String

func (m *OpenStatusUpdate) String() string

func (*OpenStatusUpdate) XXX_DiscardUnknown

func (m *OpenStatusUpdate) XXX_DiscardUnknown()

func (*OpenStatusUpdate) XXX_Marshal

func (m *OpenStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenStatusUpdate) XXX_Merge

func (dst *OpenStatusUpdate) XXX_Merge(src proto.Message)

func (*OpenStatusUpdate) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*OpenStatusUpdate) XXX_Size

func (m *OpenStatusUpdate) XXX_Size() int

func (*OpenStatusUpdate) XXX_Unmarshal

func (m *OpenStatusUpdate) XXX_Unmarshal(b []byte) error

type OpenStatusUpdate_ChanOpen

type OpenStatusUpdate_ChanOpen struct {
	ChanOpen *ChannelOpenUpdate `protobuf:"bytes,3,opt,name=chan_open,proto3,oneof"`
}

type OpenStatusUpdate_ChanPending

type OpenStatusUpdate_ChanPending struct {
	ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,proto3,oneof"`
}

type OutPoint

type OutPoint struct {
	// / Raw bytes representing the transaction id.
	TxidBytes []byte `protobuf:"bytes,1,opt,name=txid_bytes,proto3" json:"txid_bytes,omitempty"`
	// / Reversed, hex-encoded string representing the transaction id.
	TxidStr string `protobuf:"bytes,2,opt,name=txid_str,proto3" json:"txid_str,omitempty"`
	// / The index of the output on the transaction.
	OutputIndex          uint32   `protobuf:"varint,3,opt,name=output_index,proto3" json:"output_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OutPoint) Descriptor

func (*OutPoint) Descriptor() ([]byte, []int)

func (*OutPoint) GetOutputIndex

func (m *OutPoint) GetOutputIndex() uint32

func (*OutPoint) GetTxidBytes

func (m *OutPoint) GetTxidBytes() []byte

func (*OutPoint) GetTxidStr

func (m *OutPoint) GetTxidStr() string

func (*OutPoint) ProtoMessage

func (*OutPoint) ProtoMessage()

func (*OutPoint) Reset

func (m *OutPoint) Reset()

func (*OutPoint) String

func (m *OutPoint) String() string

func (*OutPoint) XXX_DiscardUnknown

func (m *OutPoint) XXX_DiscardUnknown()

func (*OutPoint) XXX_Marshal

func (m *OutPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutPoint) XXX_Merge

func (dst *OutPoint) XXX_Merge(src proto.Message)

func (*OutPoint) XXX_Size

func (m *OutPoint) XXX_Size() int

func (*OutPoint) XXX_Unmarshal

func (m *OutPoint) XXX_Unmarshal(b []byte) error

type PayReq

type PayReq struct {
	Destination          string       `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	PaymentHash          string       `protobuf:"bytes,2,opt,name=payment_hash,proto3" json:"payment_hash,omitempty"`
	NumSatoshis          int64        `protobuf:"varint,3,opt,name=num_satoshis,proto3" json:"num_satoshis,omitempty"`
	Timestamp            int64        `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Expiry               int64        `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	Description          string       `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	DescriptionHash      string       `protobuf:"bytes,7,opt,name=description_hash,proto3" json:"description_hash,omitempty"`
	FallbackAddr         string       `protobuf:"bytes,8,opt,name=fallback_addr,proto3" json:"fallback_addr,omitempty"`
	CltvExpiry           int64        `protobuf:"varint,9,opt,name=cltv_expiry,proto3" json:"cltv_expiry,omitempty"`
	RouteHints           []*RouteHint `protobuf:"bytes,10,rep,name=route_hints,proto3" json:"route_hints,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*PayReq) Descriptor

func (*PayReq) Descriptor() ([]byte, []int)

func (*PayReq) GetCltvExpiry

func (m *PayReq) GetCltvExpiry() int64

func (*PayReq) GetDescription

func (m *PayReq) GetDescription() string

func (*PayReq) GetDescriptionHash

func (m *PayReq) GetDescriptionHash() string

func (*PayReq) GetDestination

func (m *PayReq) GetDestination() string

func (*PayReq) GetExpiry

func (m *PayReq) GetExpiry() int64

func (*PayReq) GetFallbackAddr

func (m *PayReq) GetFallbackAddr() string

func (*PayReq) GetNumSatoshis

func (m *PayReq) GetNumSatoshis() int64

func (*PayReq) GetPaymentHash

func (m *PayReq) GetPaymentHash() string

func (*PayReq) GetRouteHints

func (m *PayReq) GetRouteHints() []*RouteHint

func (*PayReq) GetTimestamp

func (m *PayReq) GetTimestamp() int64

func (*PayReq) ProtoMessage

func (*PayReq) ProtoMessage()

func (*PayReq) Reset

func (m *PayReq) Reset()

func (*PayReq) String

func (m *PayReq) String() string

func (*PayReq) XXX_DiscardUnknown

func (m *PayReq) XXX_DiscardUnknown()

func (*PayReq) XXX_Marshal

func (m *PayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayReq) XXX_Merge

func (dst *PayReq) XXX_Merge(src proto.Message)

func (*PayReq) XXX_Size

func (m *PayReq) XXX_Size() int

func (*PayReq) XXX_Unmarshal

func (m *PayReq) XXX_Unmarshal(b []byte) error

type PayReqString

type PayReqString struct {
	// / The payment request string to be decoded
	PayReq               string   `protobuf:"bytes,1,opt,name=pay_req,json=payReq,proto3" json:"pay_req,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PayReqString) Descriptor

func (*PayReqString) Descriptor() ([]byte, []int)

func (*PayReqString) GetPayReq

func (m *PayReqString) GetPayReq() string

func (*PayReqString) ProtoMessage

func (*PayReqString) ProtoMessage()

func (*PayReqString) Reset

func (m *PayReqString) Reset()

func (*PayReqString) String

func (m *PayReqString) String() string

func (*PayReqString) XXX_DiscardUnknown

func (m *PayReqString) XXX_DiscardUnknown()

func (*PayReqString) XXX_Marshal

func (m *PayReqString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayReqString) XXX_Merge

func (dst *PayReqString) XXX_Merge(src proto.Message)

func (*PayReqString) XXX_Size

func (m *PayReqString) XXX_Size() int

func (*PayReqString) XXX_Unmarshal

func (m *PayReqString) XXX_Unmarshal(b []byte) error

type Payment

type Payment struct {
	// / The payment hash
	PaymentHash string `protobuf:"bytes,1,opt,name=payment_hash,proto3" json:"payment_hash,omitempty"`
	// / Deprecated, use value_sat or value_msat.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Deprecated: Do not use.
	// / The date of this payment
	CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,proto3" json:"creation_date,omitempty"`
	// / The path this payment took
	Path []string `protobuf:"bytes,4,rep,name=path,proto3" json:"path,omitempty"`
	// / The fee paid for this payment in satoshis
	Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"`
	// / The payment preimage
	PaymentPreimage string `protobuf:"bytes,6,opt,name=payment_preimage,proto3" json:"payment_preimage,omitempty"`
	// / The value of the payment in satoshis
	ValueSat int64 `protobuf:"varint,7,opt,name=value_sat,proto3" json:"value_sat,omitempty"`
	// / The value of the payment in milli-satoshis
	ValueMsat            int64    `protobuf:"varint,8,opt,name=value_msat,proto3" json:"value_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Payment) Descriptor

func (*Payment) Descriptor() ([]byte, []int)

func (*Payment) GetCreationDate

func (m *Payment) GetCreationDate() int64

func (*Payment) GetFee

func (m *Payment) GetFee() int64

func (*Payment) GetPath

func (m *Payment) GetPath() []string

func (*Payment) GetPaymentHash

func (m *Payment) GetPaymentHash() string

func (*Payment) GetPaymentPreimage

func (m *Payment) GetPaymentPreimage() string

func (*Payment) GetValue deprecated

func (m *Payment) GetValue() int64

Deprecated: Do not use.

func (*Payment) GetValueMsat

func (m *Payment) GetValueMsat() int64

func (*Payment) GetValueSat

func (m *Payment) GetValueSat() int64

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) String

func (m *Payment) String() string

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payment) XXX_Merge

func (dst *Payment) XXX_Merge(src proto.Message)

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

func (m *Payment) XXX_Unmarshal(b []byte) error

type PaymentHash

type PaymentHash struct {
	// *
	// 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.
	RHashStr string `protobuf:"bytes,1,opt,name=r_hash_str,proto3" json:"r_hash_str,omitempty"`
	// / The payment hash of the invoice to be looked up.
	RHash                []byte   `protobuf:"bytes,2,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaymentHash) Descriptor

func (*PaymentHash) Descriptor() ([]byte, []int)

func (*PaymentHash) GetRHash

func (m *PaymentHash) GetRHash() []byte

func (*PaymentHash) GetRHashStr

func (m *PaymentHash) GetRHashStr() string

func (*PaymentHash) ProtoMessage

func (*PaymentHash) ProtoMessage()

func (*PaymentHash) Reset

func (m *PaymentHash) Reset()

func (*PaymentHash) String

func (m *PaymentHash) String() string

func (*PaymentHash) XXX_DiscardUnknown

func (m *PaymentHash) XXX_DiscardUnknown()

func (*PaymentHash) XXX_Marshal

func (m *PaymentHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentHash) XXX_Merge

func (dst *PaymentHash) XXX_Merge(src proto.Message)

func (*PaymentHash) XXX_Size

func (m *PaymentHash) XXX_Size() int

func (*PaymentHash) XXX_Unmarshal

func (m *PaymentHash) XXX_Unmarshal(b []byte) error

type Peer

type Peer struct {
	// / The identity pubkey of the peer
	PubKey string `protobuf:"bytes,1,opt,name=pub_key,proto3" json:"pub_key,omitempty"`
	// / Network address of the peer; eg `127.0.0.1:10011`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// / Bytes of data transmitted to this peer
	BytesSent uint64 `protobuf:"varint,4,opt,name=bytes_sent,proto3" json:"bytes_sent,omitempty"`
	// / Bytes of data transmitted from this peer
	BytesRecv uint64 `protobuf:"varint,5,opt,name=bytes_recv,proto3" json:"bytes_recv,omitempty"`
	// / Satoshis sent to this peer
	SatSent int64 `protobuf:"varint,6,opt,name=sat_sent,proto3" json:"sat_sent,omitempty"`
	// / Satoshis received from this peer
	SatRecv int64 `protobuf:"varint,7,opt,name=sat_recv,proto3" json:"sat_recv,omitempty"`
	// / A channel is inbound if the counterparty initiated the channel
	Inbound bool `protobuf:"varint,8,opt,name=inbound,proto3" json:"inbound,omitempty"`
	// / Ping time to this peer
	PingTime int64 `protobuf:"varint,9,opt,name=ping_time,proto3" json:"ping_time,omitempty"`
	// The type of sync we are currently performing with this peer.
	SyncType             Peer_SyncType `protobuf:"varint,10,opt,name=sync_type,proto3,enum=lnrpc.Peer_SyncType" json:"sync_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Peer) Descriptor

func (*Peer) Descriptor() ([]byte, []int)

func (*Peer) GetAddress

func (m *Peer) GetAddress() string

func (*Peer) GetBytesRecv

func (m *Peer) GetBytesRecv() uint64

func (*Peer) GetBytesSent

func (m *Peer) GetBytesSent() uint64

func (*Peer) GetInbound

func (m *Peer) GetInbound() bool

func (*Peer) GetPingTime

func (m *Peer) GetPingTime() int64

func (*Peer) GetPubKey

func (m *Peer) GetPubKey() string

func (*Peer) GetSatRecv

func (m *Peer) GetSatRecv() int64

func (*Peer) GetSatSent

func (m *Peer) GetSatSent() int64

func (*Peer) GetSyncType

func (m *Peer) GetSyncType() Peer_SyncType

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) String

func (m *Peer) String() string

func (*Peer) XXX_DiscardUnknown

func (m *Peer) XXX_DiscardUnknown()

func (*Peer) XXX_Marshal

func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peer) XXX_Merge

func (dst *Peer) XXX_Merge(src proto.Message)

func (*Peer) XXX_Size

func (m *Peer) XXX_Size() int

func (*Peer) XXX_Unmarshal

func (m *Peer) XXX_Unmarshal(b []byte) error

type Peer_SyncType

type Peer_SyncType int32
const (
	// *
	// Denotes that we cannot determine the peer's current sync type.
	Peer_UNKNOWN_SYNC Peer_SyncType = 0
	// *
	// Denotes that we are actively receiving new graph updates from the peer.
	Peer_ACTIVE_SYNC Peer_SyncType = 1
	// *
	// Denotes that we are not receiving new graph updates from the peer.
	Peer_PASSIVE_SYNC Peer_SyncType = 2
)

func (Peer_SyncType) EnumDescriptor

func (Peer_SyncType) EnumDescriptor() ([]byte, []int)

func (Peer_SyncType) String

func (x Peer_SyncType) String() string

type PendingChannelsRequest

type PendingChannelsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsRequest) Descriptor

func (*PendingChannelsRequest) Descriptor() ([]byte, []int)

func (*PendingChannelsRequest) ProtoMessage

func (*PendingChannelsRequest) ProtoMessage()

func (*PendingChannelsRequest) Reset

func (m *PendingChannelsRequest) Reset()

func (*PendingChannelsRequest) String

func (m *PendingChannelsRequest) String() string

func (*PendingChannelsRequest) XXX_DiscardUnknown

func (m *PendingChannelsRequest) XXX_DiscardUnknown()

func (*PendingChannelsRequest) XXX_Marshal

func (m *PendingChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsRequest) XXX_Merge

func (dst *PendingChannelsRequest) XXX_Merge(src proto.Message)

func (*PendingChannelsRequest) XXX_Size

func (m *PendingChannelsRequest) XXX_Size() int

func (*PendingChannelsRequest) XXX_Unmarshal

func (m *PendingChannelsRequest) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse

type PendingChannelsResponse struct {
	// / The balance in satoshis encumbered in pending channels
	TotalLimboBalance int64 `protobuf:"varint,1,opt,name=total_limbo_balance,proto3" json:"total_limbo_balance,omitempty"`
	// / Channels pending opening
	PendingOpenChannels []*PendingChannelsResponse_PendingOpenChannel `protobuf:"bytes,2,rep,name=pending_open_channels,proto3" json:"pending_open_channels,omitempty"`
	// / Channels pending closing
	PendingClosingChannels []*PendingChannelsResponse_ClosedChannel `protobuf:"bytes,3,rep,name=pending_closing_channels,proto3" json:"pending_closing_channels,omitempty"`
	// / Channels pending force closing
	PendingForceClosingChannels []*PendingChannelsResponse_ForceClosedChannel `protobuf:"bytes,4,rep,name=pending_force_closing_channels,proto3" json:"pending_force_closing_channels,omitempty"`
	// / Channels waiting for closing tx to confirm
	WaitingCloseChannels []*PendingChannelsResponse_WaitingCloseChannel `protobuf:"bytes,5,rep,name=waiting_close_channels,proto3" json:"waiting_close_channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*PendingChannelsResponse) Descriptor

func (*PendingChannelsResponse) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse) GetPendingClosingChannels

func (m *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChannel

func (*PendingChannelsResponse) GetPendingForceClosingChannels

func (m *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel

func (*PendingChannelsResponse) GetPendingOpenChannels

func (*PendingChannelsResponse) GetTotalLimboBalance

func (m *PendingChannelsResponse) GetTotalLimboBalance() int64

func (*PendingChannelsResponse) GetWaitingCloseChannels

func (*PendingChannelsResponse) ProtoMessage

func (*PendingChannelsResponse) ProtoMessage()

func (*PendingChannelsResponse) Reset

func (m *PendingChannelsResponse) Reset()

func (*PendingChannelsResponse) String

func (m *PendingChannelsResponse) String() string

func (*PendingChannelsResponse) XXX_DiscardUnknown

func (m *PendingChannelsResponse) XXX_DiscardUnknown()

func (*PendingChannelsResponse) XXX_Marshal

func (m *PendingChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse) XXX_Merge

func (dst *PendingChannelsResponse) XXX_Merge(src proto.Message)

func (*PendingChannelsResponse) XXX_Size

func (m *PendingChannelsResponse) XXX_Size() int

func (*PendingChannelsResponse) XXX_Unmarshal

func (m *PendingChannelsResponse) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_ClosedChannel

type PendingChannelsResponse_ClosedChannel struct {
	// / The pending channel to be closed
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// / The transaction id of the closing transaction
	ClosingTxid          string   `protobuf:"bytes,2,opt,name=closing_txid,proto3" json:"closing_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsResponse_ClosedChannel) Descriptor

func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse_ClosedChannel) GetChannel

func (*PendingChannelsResponse_ClosedChannel) GetClosingTxid

func (m *PendingChannelsResponse_ClosedChannel) GetClosingTxid() string

func (*PendingChannelsResponse_ClosedChannel) ProtoMessage

func (*PendingChannelsResponse_ClosedChannel) ProtoMessage()

func (*PendingChannelsResponse_ClosedChannel) Reset

func (*PendingChannelsResponse_ClosedChannel) String

func (*PendingChannelsResponse_ClosedChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_ClosedChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_ClosedChannel) XXX_Marshal

func (m *PendingChannelsResponse_ClosedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_ClosedChannel) XXX_Merge

func (*PendingChannelsResponse_ClosedChannel) XXX_Size

func (*PendingChannelsResponse_ClosedChannel) XXX_Unmarshal

func (m *PendingChannelsResponse_ClosedChannel) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_ForceClosedChannel

type PendingChannelsResponse_ForceClosedChannel struct {
	// / The pending channel to be force closed
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// / The transaction id of the closing transaction
	ClosingTxid string `protobuf:"bytes,2,opt,name=closing_txid,proto3" json:"closing_txid,omitempty"`
	// / The balance in satoshis encumbered in this pending channel
	LimboBalance int64 `protobuf:"varint,3,opt,name=limbo_balance,proto3" json:"limbo_balance,omitempty"`
	// / The height at which funds can be sweeped into the wallet
	MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,proto3" json:"maturity_height,omitempty"`
	//
	// 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,proto3" json:"blocks_til_maturity,omitempty"`
	// / The total value of funds successfully recovered from this channel
	RecoveredBalance     int64          `protobuf:"varint,6,opt,name=recovered_balance,proto3" json:"recovered_balance,omitempty"`
	PendingHtlcs         []*PendingHTLC `protobuf:"bytes,8,rep,name=pending_htlcs,proto3" json:"pending_htlcs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PendingChannelsResponse_ForceClosedChannel) Descriptor

func (*PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity

func (m *PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity() int32

func (*PendingChannelsResponse_ForceClosedChannel) GetChannel

func (*PendingChannelsResponse_ForceClosedChannel) GetClosingTxid

func (*PendingChannelsResponse_ForceClosedChannel) GetLimboBalance

func (*PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight

func (m *PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight() uint32

func (*PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs

func (*PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance

func (m *PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance() int64

func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage

func (*PendingChannelsResponse_ForceClosedChannel) Reset

func (*PendingChannelsResponse_ForceClosedChannel) String

func (*PendingChannelsResponse_ForceClosedChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_ForceClosedChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Marshal

func (m *PendingChannelsResponse_ForceClosedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Merge

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Size

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Unmarshal

type PendingChannelsResponse_PendingChannel

type PendingChannelsResponse_PendingChannel struct {
	RemoteNodePub        string   `protobuf:"bytes,1,opt,name=remote_node_pub,proto3" json:"remote_node_pub,omitempty"`
	ChannelPoint         string   `protobuf:"bytes,2,opt,name=channel_point,proto3" json:"channel_point,omitempty"`
	Capacity             int64    `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	LocalBalance         int64    `protobuf:"varint,4,opt,name=local_balance,proto3" json:"local_balance,omitempty"`
	RemoteBalance        int64    `protobuf:"varint,5,opt,name=remote_balance,proto3" json:"remote_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsResponse_PendingChannel) Descriptor

func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse_PendingChannel) GetCapacity

func (*PendingChannelsResponse_PendingChannel) GetChannelPoint

func (m *PendingChannelsResponse_PendingChannel) GetChannelPoint() string

func (*PendingChannelsResponse_PendingChannel) GetLocalBalance

func (m *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteBalance

func (m *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteNodePub

func (m *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() string

func (*PendingChannelsResponse_PendingChannel) ProtoMessage

func (*PendingChannelsResponse_PendingChannel) Reset

func (*PendingChannelsResponse_PendingChannel) String

func (*PendingChannelsResponse_PendingChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_PendingChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_PendingChannel) XXX_Marshal

func (m *PendingChannelsResponse_PendingChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_PendingChannel) XXX_Merge

func (*PendingChannelsResponse_PendingChannel) XXX_Size

func (*PendingChannelsResponse_PendingChannel) XXX_Unmarshal

func (m *PendingChannelsResponse_PendingChannel) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_PendingOpenChannel

type PendingChannelsResponse_PendingOpenChannel struct {
	// / The pending channel
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// / The height at which this channel will be confirmed
	ConfirmationHeight uint32 `protobuf:"varint,2,opt,name=confirmation_height,proto3" 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,proto3" json:"commit_fee,omitempty"`
	// / The weight of the commitment transaction
	CommitWeight int64 `protobuf:"varint,5,opt,name=commit_weight,proto3" 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,proto3" json:"fee_per_kw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsResponse_PendingOpenChannel) Descriptor

func (*PendingChannelsResponse_PendingOpenChannel) GetChannel

func (*PendingChannelsResponse_PendingOpenChannel) GetCommitFee

func (*PendingChannelsResponse_PendingOpenChannel) GetCommitWeight

func (*PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight

func (m *PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight() uint32

func (*PendingChannelsResponse_PendingOpenChannel) GetFeePerKw

func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage

func (*PendingChannelsResponse_PendingOpenChannel) Reset

func (*PendingChannelsResponse_PendingOpenChannel) String

func (*PendingChannelsResponse_PendingOpenChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_PendingOpenChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Marshal

func (m *PendingChannelsResponse_PendingOpenChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Merge

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Size

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Unmarshal

type PendingChannelsResponse_WaitingCloseChannel

type PendingChannelsResponse_WaitingCloseChannel struct {
	// / The pending channel waiting for closing tx to confirm
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// / The balance in satoshis encumbered in this channel
	LimboBalance         int64    `protobuf:"varint,2,opt,name=limbo_balance,proto3" json:"limbo_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor

func (*PendingChannelsResponse_WaitingCloseChannel) GetChannel

func (*PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance

func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage

func (*PendingChannelsResponse_WaitingCloseChannel) Reset

func (*PendingChannelsResponse_WaitingCloseChannel) String

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Marshal

func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Merge

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Size

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Unmarshal

type PendingHTLC

type PendingHTLC struct {
	// / The direction within the channel that the htlc was sent
	Incoming bool `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
	// / The total value of the htlc
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// / The final output to be swept back to the user's wallet
	Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// / The next block height at which we can spend the current stage
	MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,proto3" 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,proto3" 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,proto3" json:"stage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingHTLC) Descriptor

func (*PendingHTLC) Descriptor() ([]byte, []int)

func (*PendingHTLC) GetAmount

func (m *PendingHTLC) GetAmount() int64

func (*PendingHTLC) GetBlocksTilMaturity

func (m *PendingHTLC) GetBlocksTilMaturity() int32

func (*PendingHTLC) GetIncoming

func (m *PendingHTLC) GetIncoming() bool

func (*PendingHTLC) GetMaturityHeight

func (m *PendingHTLC) GetMaturityHeight() uint32

func (*PendingHTLC) GetOutpoint

func (m *PendingHTLC) GetOutpoint() string

func (*PendingHTLC) GetStage

func (m *PendingHTLC) GetStage() uint32

func (*PendingHTLC) ProtoMessage

func (*PendingHTLC) ProtoMessage()

func (*PendingHTLC) Reset

func (m *PendingHTLC) Reset()

func (*PendingHTLC) String

func (m *PendingHTLC) String() string

func (*PendingHTLC) XXX_DiscardUnknown

func (m *PendingHTLC) XXX_DiscardUnknown()

func (*PendingHTLC) XXX_Marshal

func (m *PendingHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingHTLC) XXX_Merge

func (dst *PendingHTLC) XXX_Merge(src proto.Message)

func (*PendingHTLC) XXX_Size

func (m *PendingHTLC) XXX_Size() int

func (*PendingHTLC) XXX_Unmarshal

func (m *PendingHTLC) XXX_Unmarshal(b []byte) error

type PendingUpdate

type PendingUpdate struct {
	Txid                 []byte   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	OutputIndex          uint32   `protobuf:"varint,2,opt,name=output_index,proto3" json:"output_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingUpdate) Descriptor

func (*PendingUpdate) Descriptor() ([]byte, []int)

func (*PendingUpdate) GetOutputIndex

func (m *PendingUpdate) GetOutputIndex() uint32

func (*PendingUpdate) GetTxid

func (m *PendingUpdate) GetTxid() []byte

func (*PendingUpdate) ProtoMessage

func (*PendingUpdate) ProtoMessage()

func (*PendingUpdate) Reset

func (m *PendingUpdate) Reset()

func (*PendingUpdate) String

func (m *PendingUpdate) String() string

func (*PendingUpdate) XXX_DiscardUnknown

func (m *PendingUpdate) XXX_DiscardUnknown()

func (*PendingUpdate) XXX_Marshal

func (m *PendingUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingUpdate) XXX_Merge

func (dst *PendingUpdate) XXX_Merge(src proto.Message)

func (*PendingUpdate) XXX_Size

func (m *PendingUpdate) XXX_Size() int

func (*PendingUpdate) XXX_Unmarshal

func (m *PendingUpdate) XXX_Unmarshal(b []byte) error

type PolicyUpdateRequest

type PolicyUpdateRequest struct {
	// Types that are valid to be assigned to Scope:
	//	*PolicyUpdateRequest_Global
	//	*PolicyUpdateRequest_ChanPoint
	Scope isPolicyUpdateRequest_Scope `protobuf_oneof:"scope"`
	// / The base fee charged regardless of the number of milli-satoshis sent.
	BaseFeeMsat int64 `protobuf:"varint,3,opt,name=base_fee_msat,proto3" 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,proto3" json:"fee_rate,omitempty"`
	// / The required timelock delta for HTLCs forwarded over the channel.
	TimeLockDelta        uint32   `protobuf:"varint,5,opt,name=time_lock_delta,proto3" json:"time_lock_delta,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PolicyUpdateRequest) Descriptor

func (*PolicyUpdateRequest) Descriptor() ([]byte, []int)

func (*PolicyUpdateRequest) GetBaseFeeMsat

func (m *PolicyUpdateRequest) GetBaseFeeMsat() int64

func (*PolicyUpdateRequest) GetChanPoint

func (m *PolicyUpdateRequest) GetChanPoint() *ChannelPoint

func (*PolicyUpdateRequest) GetFeeRate

func (m *PolicyUpdateRequest) GetFeeRate() float64

func (*PolicyUpdateRequest) GetGlobal

func (m *PolicyUpdateRequest) GetGlobal() bool

func (*PolicyUpdateRequest) GetScope

func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope

func (*PolicyUpdateRequest) GetTimeLockDelta

func (m *PolicyUpdateRequest) GetTimeLockDelta() uint32

func (*PolicyUpdateRequest) ProtoMessage

func (*PolicyUpdateRequest) ProtoMessage()

func (*PolicyUpdateRequest) Reset

func (m *PolicyUpdateRequest) Reset()

func (*PolicyUpdateRequest) String

func (m *PolicyUpdateRequest) String() string

func (*PolicyUpdateRequest) XXX_DiscardUnknown

func (m *PolicyUpdateRequest) XXX_DiscardUnknown()

func (*PolicyUpdateRequest) XXX_Marshal

func (m *PolicyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyUpdateRequest) XXX_Merge

func (dst *PolicyUpdateRequest) XXX_Merge(src proto.Message)

func (*PolicyUpdateRequest) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*PolicyUpdateRequest) XXX_Size

func (m *PolicyUpdateRequest) XXX_Size() int

func (*PolicyUpdateRequest) XXX_Unmarshal

func (m *PolicyUpdateRequest) XXX_Unmarshal(b []byte) error

type PolicyUpdateRequest_ChanPoint

type PolicyUpdateRequest_ChanPoint struct {
	ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,proto3,oneof"`
}

type PolicyUpdateRequest_Global

type PolicyUpdateRequest_Global struct {
	Global bool `protobuf:"varint,1,opt,name=global,proto3,oneof"`
}

type PolicyUpdateResponse

type PolicyUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PolicyUpdateResponse) Descriptor

func (*PolicyUpdateResponse) Descriptor() ([]byte, []int)

func (*PolicyUpdateResponse) ProtoMessage

func (*PolicyUpdateResponse) ProtoMessage()

func (*PolicyUpdateResponse) Reset

func (m *PolicyUpdateResponse) Reset()

func (*PolicyUpdateResponse) String

func (m *PolicyUpdateResponse) String() string

func (*PolicyUpdateResponse) XXX_DiscardUnknown

func (m *PolicyUpdateResponse) XXX_DiscardUnknown()

func (*PolicyUpdateResponse) XXX_Marshal

func (m *PolicyUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyUpdateResponse) XXX_Merge

func (dst *PolicyUpdateResponse) XXX_Merge(src proto.Message)

func (*PolicyUpdateResponse) XXX_Size

func (m *PolicyUpdateResponse) XXX_Size() int

func (*PolicyUpdateResponse) XXX_Unmarshal

func (m *PolicyUpdateResponse) XXX_Unmarshal(b []byte) error

type QueryRoutesRequest

type QueryRoutesRequest struct {
	// / The 33-byte hex-encoded public key for the payment destination
	PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// / The amount to send expressed in satoshis
	Amt int64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"`
	// *
	// Deprecated. The max number of routes to return. In the future, QueryRoutes
	// will only return a single route.
	NumRoutes int32 `protobuf:"varint,3,opt,name=num_routes,json=numRoutes,proto3" json:"num_routes,omitempty"` // Deprecated: Do not use.
	// / An optional CLTV delta from the current height that should be used for the timelock of the final hop
	FinalCltvDelta int32 `protobuf:"varint,4,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"`
	// *
	// The maximum number of satoshis that will be paid as a fee of the payment.
	// This value can be represented either as a percentage of the amount being
	// sent, or as a fixed amount of the maximum fee the user is willing the pay to
	// send the payment.
	FeeLimit *FeeLimit `protobuf:"bytes,5,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	// *
	// A list of nodes to ignore during path finding.
	IgnoredNodes [][]byte `protobuf:"bytes,6,rep,name=ignored_nodes,json=ignoredNodes,proto3" json:"ignored_nodes,omitempty"`
	// *
	// A list of edges to ignore during path finding.
	IgnoredEdges []*EdgeLocator `protobuf:"bytes,7,rep,name=ignored_edges,json=ignoredEdges,proto3" json:"ignored_edges,omitempty"`
	// *
	// The source node where the request route should originated from. If empty,
	// self is assumed.
	SourcePubKey         string   `protobuf:"bytes,8,opt,name=source_pub_key,json=sourcePubKey,proto3" json:"source_pub_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryRoutesRequest) Descriptor

func (*QueryRoutesRequest) Descriptor() ([]byte, []int)

func (*QueryRoutesRequest) GetAmt

func (m *QueryRoutesRequest) GetAmt() int64

func (*QueryRoutesRequest) GetFeeLimit

func (m *QueryRoutesRequest) GetFeeLimit() *FeeLimit

func (*QueryRoutesRequest) GetFinalCltvDelta

func (m *QueryRoutesRequest) GetFinalCltvDelta() int32

func (*QueryRoutesRequest) GetIgnoredEdges

func (m *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocator

func (*QueryRoutesRequest) GetIgnoredNodes

func (m *QueryRoutesRequest) GetIgnoredNodes() [][]byte

func (*QueryRoutesRequest) GetNumRoutes deprecated

func (m *QueryRoutesRequest) GetNumRoutes() int32

Deprecated: Do not use.

func (*QueryRoutesRequest) GetPubKey

func (m *QueryRoutesRequest) GetPubKey() string

func (*QueryRoutesRequest) GetSourcePubKey

func (m *QueryRoutesRequest) GetSourcePubKey() string

func (*QueryRoutesRequest) ProtoMessage

func (*QueryRoutesRequest) ProtoMessage()

func (*QueryRoutesRequest) Reset

func (m *QueryRoutesRequest) Reset()

func (*QueryRoutesRequest) String

func (m *QueryRoutesRequest) String() string

func (*QueryRoutesRequest) XXX_DiscardUnknown

func (m *QueryRoutesRequest) XXX_DiscardUnknown()

func (*QueryRoutesRequest) XXX_Marshal

func (m *QueryRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRoutesRequest) XXX_Merge

func (dst *QueryRoutesRequest) XXX_Merge(src proto.Message)

func (*QueryRoutesRequest) XXX_Size

func (m *QueryRoutesRequest) XXX_Size() int

func (*QueryRoutesRequest) XXX_Unmarshal

func (m *QueryRoutesRequest) XXX_Unmarshal(b []byte) error

type QueryRoutesResponse

type QueryRoutesResponse struct {
	Routes               []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryRoutesResponse) Descriptor

func (*QueryRoutesResponse) Descriptor() ([]byte, []int)

func (*QueryRoutesResponse) GetRoutes

func (m *QueryRoutesResponse) GetRoutes() []*Route

func (*QueryRoutesResponse) ProtoMessage

func (*QueryRoutesResponse) ProtoMessage()

func (*QueryRoutesResponse) Reset

func (m *QueryRoutesResponse) Reset()

func (*QueryRoutesResponse) String

func (m *QueryRoutesResponse) String() string

func (*QueryRoutesResponse) XXX_DiscardUnknown

func (m *QueryRoutesResponse) XXX_DiscardUnknown()

func (*QueryRoutesResponse) XXX_Marshal

func (m *QueryRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRoutesResponse) XXX_Merge

func (dst *QueryRoutesResponse) XXX_Merge(src proto.Message)

func (*QueryRoutesResponse) XXX_Size

func (m *QueryRoutesResponse) XXX_Size() int

func (*QueryRoutesResponse) XXX_Unmarshal

func (m *QueryRoutesResponse) XXX_Unmarshal(b []byte) error

type RestoreBackupResponse

type RestoreBackupResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreBackupResponse) Descriptor

func (*RestoreBackupResponse) Descriptor() ([]byte, []int)

func (*RestoreBackupResponse) ProtoMessage

func (*RestoreBackupResponse) ProtoMessage()

func (*RestoreBackupResponse) Reset

func (m *RestoreBackupResponse) Reset()

func (*RestoreBackupResponse) String

func (m *RestoreBackupResponse) String() string

func (*RestoreBackupResponse) XXX_DiscardUnknown

func (m *RestoreBackupResponse) XXX_DiscardUnknown()

func (*RestoreBackupResponse) XXX_Marshal

func (m *RestoreBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreBackupResponse) XXX_Merge

func (dst *RestoreBackupResponse) XXX_Merge(src proto.Message)

func (*RestoreBackupResponse) XXX_Size

func (m *RestoreBackupResponse) XXX_Size() int

func (*RestoreBackupResponse) XXX_Unmarshal

func (m *RestoreBackupResponse) XXX_Unmarshal(b []byte) error

type RestoreChanBackupRequest

type RestoreChanBackupRequest struct {
	// Types that are valid to be assigned to Backup:
	//	*RestoreChanBackupRequest_ChanBackups
	//	*RestoreChanBackupRequest_MultiChanBackup
	Backup               isRestoreChanBackupRequest_Backup `protobuf_oneof:"backup"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*RestoreChanBackupRequest) Descriptor

func (*RestoreChanBackupRequest) Descriptor() ([]byte, []int)

func (*RestoreChanBackupRequest) GetBackup

func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup

func (*RestoreChanBackupRequest) GetChanBackups

func (m *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups

func (*RestoreChanBackupRequest) GetMultiChanBackup

func (m *RestoreChanBackupRequest) GetMultiChanBackup() []byte

func (*RestoreChanBackupRequest) ProtoMessage

func (*RestoreChanBackupRequest) ProtoMessage()

func (*RestoreChanBackupRequest) Reset

func (m *RestoreChanBackupRequest) Reset()

func (*RestoreChanBackupRequest) String

func (m *RestoreChanBackupRequest) String() string

func (*RestoreChanBackupRequest) XXX_DiscardUnknown

func (m *RestoreChanBackupRequest) XXX_DiscardUnknown()

func (*RestoreChanBackupRequest) XXX_Marshal

func (m *RestoreChanBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreChanBackupRequest) XXX_Merge

func (dst *RestoreChanBackupRequest) XXX_Merge(src proto.Message)

func (*RestoreChanBackupRequest) XXX_OneofFuncs

func (*RestoreChanBackupRequest) 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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RestoreChanBackupRequest) XXX_Size

func (m *RestoreChanBackupRequest) XXX_Size() int

func (*RestoreChanBackupRequest) XXX_Unmarshal

func (m *RestoreChanBackupRequest) XXX_Unmarshal(b []byte) error

type RestoreChanBackupRequest_ChanBackups

type RestoreChanBackupRequest_ChanBackups struct {
	ChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=chan_backups,proto3,oneof"`
}

type RestoreChanBackupRequest_MultiChanBackup

type RestoreChanBackupRequest_MultiChanBackup struct {
	MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,proto3,oneof"`
}

type Route

type Route struct {
	// *
	// 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.
	TotalTimeLock uint32 `protobuf:"varint,1,opt,name=total_time_lock,proto3" json:"total_time_lock,omitempty"`
	// *
	// 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,proto3" json:"total_fees,omitempty"` // Deprecated: Do not use.
	// *
	// 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,proto3" json:"total_amt,omitempty"` // Deprecated: Do not use.
	// *
	// Contains details concerning the specific forwarding details at each hop.
	Hops []*Hop `protobuf:"bytes,4,rep,name=hops,proto3" json:"hops,omitempty"`
	// *
	// The total fees in millisatoshis.
	TotalFeesMsat int64 `protobuf:"varint,5,opt,name=total_fees_msat,proto3" json:"total_fees_msat,omitempty"`
	// *
	// The total amount in millisatoshis.
	TotalAmtMsat         int64    `protobuf:"varint,6,opt,name=total_amt_msat,proto3" json:"total_amt_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* 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.

func (*Route) Descriptor

func (*Route) Descriptor() ([]byte, []int)

func (*Route) GetHops

func (m *Route) GetHops() []*Hop

func (*Route) GetTotalAmt deprecated

func (m *Route) GetTotalAmt() int64

Deprecated: Do not use.

func (*Route) GetTotalAmtMsat

func (m *Route) GetTotalAmtMsat() int64

func (*Route) GetTotalFees deprecated

func (m *Route) GetTotalFees() int64

Deprecated: Do not use.

func (*Route) GetTotalFeesMsat

func (m *Route) GetTotalFeesMsat() int64

func (*Route) GetTotalTimeLock

func (m *Route) GetTotalTimeLock() uint32

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (dst *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteHint

type RouteHint struct {
	// *
	// A list of hop hints that when chained together can assist in reaching a
	// specific destination.
	HopHints             []*HopHint `protobuf:"bytes,1,rep,name=hop_hints,proto3" json:"hop_hints,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*RouteHint) Descriptor

func (*RouteHint) Descriptor() ([]byte, []int)

func (*RouteHint) GetHopHints

func (m *RouteHint) GetHopHints() []*HopHint

func (*RouteHint) ProtoMessage

func (*RouteHint) ProtoMessage()

func (*RouteHint) Reset

func (m *RouteHint) Reset()

func (*RouteHint) String

func (m *RouteHint) String() string

func (*RouteHint) XXX_DiscardUnknown

func (m *RouteHint) XXX_DiscardUnknown()

func (*RouteHint) XXX_Marshal

func (m *RouteHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteHint) XXX_Merge

func (dst *RouteHint) XXX_Merge(src proto.Message)

func (*RouteHint) XXX_Size

func (m *RouteHint) XXX_Size() int

func (*RouteHint) XXX_Unmarshal

func (m *RouteHint) XXX_Unmarshal(b []byte) error

type RoutingPolicy

type RoutingPolicy struct {
	TimeLockDelta        uint32   `protobuf:"varint,1,opt,name=time_lock_delta,proto3" json:"time_lock_delta,omitempty"`
	MinHtlc              int64    `protobuf:"varint,2,opt,name=min_htlc,proto3" json:"min_htlc,omitempty"`
	FeeBaseMsat          int64    `protobuf:"varint,3,opt,name=fee_base_msat,proto3" json:"fee_base_msat,omitempty"`
	FeeRateMilliMsat     int64    `protobuf:"varint,4,opt,name=fee_rate_milli_msat,proto3" json:"fee_rate_milli_msat,omitempty"`
	Disabled             bool     `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	MaxHtlcMsat          uint64   `protobuf:"varint,6,opt,name=max_htlc_msat,proto3" json:"max_htlc_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoutingPolicy) Descriptor

func (*RoutingPolicy) Descriptor() ([]byte, []int)

func (*RoutingPolicy) GetDisabled

func (m *RoutingPolicy) GetDisabled() bool

func (*RoutingPolicy) GetFeeBaseMsat

func (m *RoutingPolicy) GetFeeBaseMsat() int64

func (*RoutingPolicy) GetFeeRateMilliMsat

func (m *RoutingPolicy) GetFeeRateMilliMsat() int64

func (*RoutingPolicy) GetMaxHtlcMsat

func (m *RoutingPolicy) GetMaxHtlcMsat() uint64

func (*RoutingPolicy) GetMinHtlc

func (m *RoutingPolicy) GetMinHtlc() int64

func (*RoutingPolicy) GetTimeLockDelta

func (m *RoutingPolicy) GetTimeLockDelta() uint32

func (*RoutingPolicy) ProtoMessage

func (*RoutingPolicy) ProtoMessage()

func (*RoutingPolicy) Reset

func (m *RoutingPolicy) Reset()

func (*RoutingPolicy) String

func (m *RoutingPolicy) String() string

func (*RoutingPolicy) XXX_DiscardUnknown

func (m *RoutingPolicy) XXX_DiscardUnknown()

func (*RoutingPolicy) XXX_Marshal

func (m *RoutingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoutingPolicy) XXX_Merge

func (dst *RoutingPolicy) XXX_Merge(src proto.Message)

func (*RoutingPolicy) XXX_Size

func (m *RoutingPolicy) XXX_Size() int

func (*RoutingPolicy) XXX_Unmarshal

func (m *RoutingPolicy) XXX_Unmarshal(b []byte) error

type SendCoinsRequest

type SendCoinsRequest struct {
	// / The address to send coins to
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// / The amount in satoshis to send
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// / The target number of blocks that this transaction should be confirmed by.
	TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" 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,proto3" json:"sat_per_byte,omitempty"`
	// *
	// If set, then the amount field will be ignored, and lnd will attempt to
	// send all the coins under control of the internal wallet to the specified
	// address.
	SendAll              bool     `protobuf:"varint,6,opt,name=send_all,json=sendAll,proto3" json:"send_all,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendCoinsRequest) Descriptor

func (*SendCoinsRequest) Descriptor() ([]byte, []int)

func (*SendCoinsRequest) GetAddr

func (m *SendCoinsRequest) GetAddr() string

func (*SendCoinsRequest) GetAmount

func (m *SendCoinsRequest) GetAmount() int64

func (*SendCoinsRequest) GetSatPerByte

func (m *SendCoinsRequest) GetSatPerByte() int64

func (*SendCoinsRequest) GetSendAll

func (m *SendCoinsRequest) GetSendAll() bool

func (*SendCoinsRequest) GetTargetConf

func (m *SendCoinsRequest) GetTargetConf() int32

func (*SendCoinsRequest) ProtoMessage

func (*SendCoinsRequest) ProtoMessage()

func (*SendCoinsRequest) Reset

func (m *SendCoinsRequest) Reset()

func (*SendCoinsRequest) String

func (m *SendCoinsRequest) String() string

func (*SendCoinsRequest) XXX_DiscardUnknown

func (m *SendCoinsRequest) XXX_DiscardUnknown()

func (*SendCoinsRequest) XXX_Marshal

func (m *SendCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendCoinsRequest) XXX_Merge

func (dst *SendCoinsRequest) XXX_Merge(src proto.Message)

func (*SendCoinsRequest) XXX_Size

func (m *SendCoinsRequest) XXX_Size() int

func (*SendCoinsRequest) XXX_Unmarshal

func (m *SendCoinsRequest) XXX_Unmarshal(b []byte) error

type SendCoinsResponse

type SendCoinsResponse struct {
	// / The transaction ID of the transaction
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendCoinsResponse) Descriptor

func (*SendCoinsResponse) Descriptor() ([]byte, []int)

func (*SendCoinsResponse) GetTxid

func (m *SendCoinsResponse) GetTxid() string

func (*SendCoinsResponse) ProtoMessage

func (*SendCoinsResponse) ProtoMessage()

func (*SendCoinsResponse) Reset

func (m *SendCoinsResponse) Reset()

func (*SendCoinsResponse) String

func (m *SendCoinsResponse) String() string

func (*SendCoinsResponse) XXX_DiscardUnknown

func (m *SendCoinsResponse) XXX_DiscardUnknown()

func (*SendCoinsResponse) XXX_Marshal

func (m *SendCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendCoinsResponse) XXX_Merge

func (dst *SendCoinsResponse) XXX_Merge(src proto.Message)

func (*SendCoinsResponse) XXX_Size

func (m *SendCoinsResponse) XXX_Size() int

func (*SendCoinsResponse) XXX_Unmarshal

func (m *SendCoinsResponse) XXX_Unmarshal(b []byte) error

type SendManyRequest

type SendManyRequest struct {
	// / The map from addresses to amounts
	AddrToAmount map[string]int64 `` /* 166-byte string literal not displayed */
	// / The target number of blocks that this transaction should be confirmed by.
	TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" 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,proto3" json:"sat_per_byte,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendManyRequest) Descriptor

func (*SendManyRequest) Descriptor() ([]byte, []int)

func (*SendManyRequest) GetAddrToAmount

func (m *SendManyRequest) GetAddrToAmount() map[string]int64

func (*SendManyRequest) GetSatPerByte

func (m *SendManyRequest) GetSatPerByte() int64

func (*SendManyRequest) GetTargetConf

func (m *SendManyRequest) GetTargetConf() int32

func (*SendManyRequest) ProtoMessage

func (*SendManyRequest) ProtoMessage()

func (*SendManyRequest) Reset

func (m *SendManyRequest) Reset()

func (*SendManyRequest) String

func (m *SendManyRequest) String() string

func (*SendManyRequest) XXX_DiscardUnknown

func (m *SendManyRequest) XXX_DiscardUnknown()

func (*SendManyRequest) XXX_Marshal

func (m *SendManyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendManyRequest) XXX_Merge

func (dst *SendManyRequest) XXX_Merge(src proto.Message)

func (*SendManyRequest) XXX_Size

func (m *SendManyRequest) XXX_Size() int

func (*SendManyRequest) XXX_Unmarshal

func (m *SendManyRequest) XXX_Unmarshal(b []byte) error

type SendManyResponse

type SendManyResponse struct {
	// / The id of the transaction
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendManyResponse) Descriptor

func (*SendManyResponse) Descriptor() ([]byte, []int)

func (*SendManyResponse) GetTxid

func (m *SendManyResponse) GetTxid() string

func (*SendManyResponse) ProtoMessage

func (*SendManyResponse) ProtoMessage()

func (*SendManyResponse) Reset

func (m *SendManyResponse) Reset()

func (*SendManyResponse) String

func (m *SendManyResponse) String() string

func (*SendManyResponse) XXX_DiscardUnknown

func (m *SendManyResponse) XXX_DiscardUnknown()

func (*SendManyResponse) XXX_Marshal

func (m *SendManyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendManyResponse) XXX_Merge

func (dst *SendManyResponse) XXX_Merge(src proto.Message)

func (*SendManyResponse) XXX_Size

func (m *SendManyResponse) XXX_Size() int

func (*SendManyResponse) XXX_Unmarshal

func (m *SendManyResponse) XXX_Unmarshal(b []byte) error

type SendRequest

type SendRequest struct {
	// / 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,proto3" json:"dest_string,omitempty"`
	// / Number of satoshis to send.
	Amt int64 `protobuf:"varint,3,opt,name=amt,proto3" 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
	PaymentHashString string `protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,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.
	PaymentRequest string `protobuf:"bytes,6,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
	// *
	// 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,proto3" json:"final_cltv_delta,omitempty"`
	// *
	// The maximum number of satoshis that will be paid as a fee of the payment.
	// This value can be represented either as a percentage of the amount being
	// sent, or as a fixed amount of the maximum fee the user is willing the pay to
	// send the payment.
	FeeLimit *FeeLimit `protobuf:"bytes,8,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	// *
	// The channel id of the channel that must be taken to the first hop. If zero,
	// any channel may be used.
	OutgoingChanId uint64 `protobuf:"varint,9,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"`
	// *
	// An optional maximum total time lock for the route. If zero, there is no
	// maximum enforced.
	CltvLimit            uint32   `protobuf:"varint,10,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendRequest) Descriptor

func (*SendRequest) Descriptor() ([]byte, []int)

func (*SendRequest) GetAmt

func (m *SendRequest) GetAmt() int64

func (*SendRequest) GetCltvLimit

func (m *SendRequest) GetCltvLimit() uint32

func (*SendRequest) GetDest

func (m *SendRequest) GetDest() []byte

func (*SendRequest) GetDestString

func (m *SendRequest) GetDestString() string

func (*SendRequest) GetFeeLimit

func (m *SendRequest) GetFeeLimit() *FeeLimit

func (*SendRequest) GetFinalCltvDelta

func (m *SendRequest) GetFinalCltvDelta() int32

func (*SendRequest) GetOutgoingChanId

func (m *SendRequest) GetOutgoingChanId() uint64

func (*SendRequest) GetPaymentHash

func (m *SendRequest) GetPaymentHash() []byte

func (*SendRequest) GetPaymentHashString

func (m *SendRequest) GetPaymentHashString() string

func (*SendRequest) GetPaymentRequest

func (m *SendRequest) GetPaymentRequest() string

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) Reset

func (m *SendRequest) Reset()

func (*SendRequest) String

func (m *SendRequest) String() string

func (*SendRequest) XXX_DiscardUnknown

func (m *SendRequest) XXX_DiscardUnknown()

func (*SendRequest) XXX_Marshal

func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendRequest) XXX_Merge

func (dst *SendRequest) XXX_Merge(src proto.Message)

func (*SendRequest) XXX_Size

func (m *SendRequest) XXX_Size() int

func (*SendRequest) XXX_Unmarshal

func (m *SendRequest) XXX_Unmarshal(b []byte) error

type SendResponse

type SendResponse struct {
	PaymentError         string   `protobuf:"bytes,1,opt,name=payment_error,proto3" 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,proto3" json:"payment_route,omitempty"`
	PaymentHash          []byte   `protobuf:"bytes,4,opt,name=payment_hash,proto3" json:"payment_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendResponse) Descriptor

func (*SendResponse) Descriptor() ([]byte, []int)

func (*SendResponse) GetPaymentError

func (m *SendResponse) GetPaymentError() string

func (*SendResponse) GetPaymentHash

func (m *SendResponse) GetPaymentHash() []byte

func (*SendResponse) GetPaymentPreimage

func (m *SendResponse) GetPaymentPreimage() []byte

func (*SendResponse) GetPaymentRoute

func (m *SendResponse) GetPaymentRoute() *Route

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) Reset

func (m *SendResponse) Reset()

func (*SendResponse) String

func (m *SendResponse) String() string

func (*SendResponse) XXX_DiscardUnknown

func (m *SendResponse) XXX_DiscardUnknown()

func (*SendResponse) XXX_Marshal

func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendResponse) XXX_Merge

func (dst *SendResponse) XXX_Merge(src proto.Message)

func (*SendResponse) XXX_Size

func (m *SendResponse) XXX_Size() int

func (*SendResponse) XXX_Unmarshal

func (m *SendResponse) XXX_Unmarshal(b []byte) error

type SendToRouteRequest

type SendToRouteRequest struct {
	// / The payment hash to use for the HTLC.
	PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	// / An optional hex-encoded payment hash to be used for the HTLC.
	PaymentHashString string `protobuf:"bytes,2,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"`
	// *
	// Deprecated. The set of routes that should be used to attempt to complete the
	// payment. The possibility to pass in multiple routes is deprecated and
	// instead the single route field below should be used in combination with the
	// streaming variant of SendToRoute.
	Routes []*Route `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"` // Deprecated: Do not use.
	// / Route that should be used to attempt to complete the payment.
	Route                *Route   `protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendToRouteRequest) Descriptor

func (*SendToRouteRequest) Descriptor() ([]byte, []int)

func (*SendToRouteRequest) GetPaymentHash

func (m *SendToRouteRequest) GetPaymentHash() []byte

func (*SendToRouteRequest) GetPaymentHashString

func (m *SendToRouteRequest) GetPaymentHashString() string

func (*SendToRouteRequest) GetRoute

func (m *SendToRouteRequest) GetRoute() *Route

func (*SendToRouteRequest) GetRoutes deprecated

func (m *SendToRouteRequest) GetRoutes() []*Route

Deprecated: Do not use.

func (*SendToRouteRequest) ProtoMessage

func (*SendToRouteRequest) ProtoMessage()

func (*SendToRouteRequest) Reset

func (m *SendToRouteRequest) Reset()

func (*SendToRouteRequest) String

func (m *SendToRouteRequest) String() string

func (*SendToRouteRequest) XXX_DiscardUnknown

func (m *SendToRouteRequest) XXX_DiscardUnknown()

func (*SendToRouteRequest) XXX_Marshal

func (m *SendToRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendToRouteRequest) XXX_Merge

func (dst *SendToRouteRequest) XXX_Merge(src proto.Message)

func (*SendToRouteRequest) XXX_Size

func (m *SendToRouteRequest) XXX_Size() int

func (*SendToRouteRequest) XXX_Unmarshal

func (m *SendToRouteRequest) XXX_Unmarshal(b []byte) error

type SignMessageRequest

type SignMessageRequest struct {
	// / The message to be signed
	Msg                  []byte   `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignMessageRequest) Descriptor

func (*SignMessageRequest) Descriptor() ([]byte, []int)

func (*SignMessageRequest) GetMsg

func (m *SignMessageRequest) GetMsg() []byte

func (*SignMessageRequest) ProtoMessage

func (*SignMessageRequest) ProtoMessage()

func (*SignMessageRequest) Reset

func (m *SignMessageRequest) Reset()

func (*SignMessageRequest) String

func (m *SignMessageRequest) String() string

func (*SignMessageRequest) XXX_DiscardUnknown

func (m *SignMessageRequest) XXX_DiscardUnknown()

func (*SignMessageRequest) XXX_Marshal

func (m *SignMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignMessageRequest) XXX_Merge

func (dst *SignMessageRequest) XXX_Merge(src proto.Message)

func (*SignMessageRequest) XXX_Size

func (m *SignMessageRequest) XXX_Size() int

func (*SignMessageRequest) XXX_Unmarshal

func (m *SignMessageRequest) XXX_Unmarshal(b []byte) error

type SignMessageResponse

type SignMessageResponse struct {
	// / The signature for the given message
	Signature            string   `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignMessageResponse) Descriptor

func (*SignMessageResponse) Descriptor() ([]byte, []int)

func (*SignMessageResponse) GetSignature

func (m *SignMessageResponse) GetSignature() string

func (*SignMessageResponse) ProtoMessage

func (*SignMessageResponse) ProtoMessage()

func (*SignMessageResponse) Reset

func (m *SignMessageResponse) Reset()

func (*SignMessageResponse) String

func (m *SignMessageResponse) String() string

func (*SignMessageResponse) XXX_DiscardUnknown

func (m *SignMessageResponse) XXX_DiscardUnknown()

func (*SignMessageResponse) XXX_Marshal

func (m *SignMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignMessageResponse) XXX_Merge

func (dst *SignMessageResponse) XXX_Merge(src proto.Message)

func (*SignMessageResponse) XXX_Size

func (m *SignMessageResponse) XXX_Size() int

func (*SignMessageResponse) XXX_Unmarshal

func (m *SignMessageResponse) XXX_Unmarshal(b []byte) error

type StopRequest

type StopRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopRequest) Descriptor

func (*StopRequest) Descriptor() ([]byte, []int)

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) Reset

func (m *StopRequest) Reset()

func (*StopRequest) String

func (m *StopRequest) String() string

func (*StopRequest) XXX_DiscardUnknown

func (m *StopRequest) XXX_DiscardUnknown()

func (*StopRequest) XXX_Marshal

func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopRequest) XXX_Merge

func (dst *StopRequest) XXX_Merge(src proto.Message)

func (*StopRequest) XXX_Size

func (m *StopRequest) XXX_Size() int

func (*StopRequest) XXX_Unmarshal

func (m *StopRequest) XXX_Unmarshal(b []byte) error

type StopResponse

type StopResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopResponse) Descriptor

func (*StopResponse) Descriptor() ([]byte, []int)

func (*StopResponse) ProtoMessage

func (*StopResponse) ProtoMessage()

func (*StopResponse) Reset

func (m *StopResponse) Reset()

func (*StopResponse) String

func (m *StopResponse) String() string

func (*StopResponse) XXX_DiscardUnknown

func (m *StopResponse) XXX_DiscardUnknown()

func (*StopResponse) XXX_Marshal

func (m *StopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopResponse) XXX_Merge

func (dst *StopResponse) XXX_Merge(src proto.Message)

func (*StopResponse) XXX_Size

func (m *StopResponse) XXX_Size() int

func (*StopResponse) XXX_Unmarshal

func (m *StopResponse) XXX_Unmarshal(b []byte) error

type SubServer

type SubServer interface {
	// Start starts the sub-server and all goroutines it needs to operate.
	Start() error

	// Stop signals that the sub-server should wrap up any lingering
	// requests, and being a graceful shutdown.
	Stop() error

	// Name returns a unique string representation of the sub-server. This
	// can be used to identify the sub-server and also de-duplicate them.
	Name() string

	// RegisterWithRootServer will be called by the root gRPC server to
	// direct a sub RPC server to register itself with the main gRPC root
	// server. Until this is called, each sub-server won't be able to have
	// requests routed towards it.
	RegisterWithRootServer(*grpc.Server) error
}

SubServer is a child server of the main lnrpc gRPC server. Sub-servers allow lnd to expose discrete services that can be used with or independent of the main RPC server. The main rpcserver will create, start, stop, and manage each sub-server in a generalized manner.

type SubServerConfigDispatcher

type SubServerConfigDispatcher interface {
	// FetchConfig attempts to locate an existing configuration file mapped
	// to the target sub-server. If we're unable to find a config file
	// matching the subServerName name, then false will be returned for the
	// second parameter.
	FetchConfig(subServerName string) (interface{}, bool)
}

SubServerConfigDispatcher is an interface that all sub-servers will use to dynamically locate their configuration files. This abstraction will allow the primary RPC sever to initialize all sub-servers in a generic manner without knowing of each individual sub server.

type SubServerDriver

type SubServerDriver struct {
	// SubServerName is the full name of a sub-sever.
	//
	// NOTE: This MUST be unique.
	SubServerName string

	// New creates, and fully initializes a new sub-server instance with
	// the aide of the SubServerConfigDispatcher. This closure should
	// return the SubServer, ready for action, along with the set of
	// macaroon permissions that the sub-server wishes to pass on to the
	// root server for all methods routed towards it.
	New func(subCfgs SubServerConfigDispatcher) (SubServer, MacaroonPerms, error)
}

SubServerDriver is a template struct that allows the root server to create a sub-server with minimal knowledge. The root server only need a fully populated SubServerConfigDispatcher and with the aide of the RegisterSubServers method, it's able to create and initialize all sub-servers.

func RegisteredSubServers

func RegisteredSubServers() []*SubServerDriver

RegisteredSubServers returns all registered sub-servers.

NOTE: This function is safe for concurrent access.

type Transaction

type Transaction struct {
	// / The transaction hash
	TxHash string `protobuf:"bytes,1,opt,name=tx_hash,proto3" json:"tx_hash,omitempty"`
	// / The transaction amount, denominated in satoshis
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// / The number of confirmations
	NumConfirmations int32 `protobuf:"varint,3,opt,name=num_confirmations,proto3" json:"num_confirmations,omitempty"`
	// / The hash of the block this transaction was included in
	BlockHash string `protobuf:"bytes,4,opt,name=block_hash,proto3" json:"block_hash,omitempty"`
	// / The height of the block this transaction was included in
	BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,proto3" json:"block_height,omitempty"`
	// / Timestamp of this transaction
	TimeStamp int64 `protobuf:"varint,6,opt,name=time_stamp,proto3" json:"time_stamp,omitempty"`
	// / Fees paid for this transaction
	TotalFees int64 `protobuf:"varint,7,opt,name=total_fees,proto3" json:"total_fees,omitempty"`
	// / Addresses that received funds for this transaction
	DestAddresses        []string `protobuf:"bytes,8,rep,name=dest_addresses,proto3" json:"dest_addresses,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transaction) Descriptor

func (*Transaction) Descriptor() ([]byte, []int)

func (*Transaction) GetAmount

func (m *Transaction) GetAmount() int64

func (*Transaction) GetBlockHash

func (m *Transaction) GetBlockHash() string

func (*Transaction) GetBlockHeight

func (m *Transaction) GetBlockHeight() int32

func (*Transaction) GetDestAddresses

func (m *Transaction) GetDestAddresses() []string

func (*Transaction) GetNumConfirmations

func (m *Transaction) GetNumConfirmations() int32

func (*Transaction) GetTimeStamp

func (m *Transaction) GetTimeStamp() int64

func (*Transaction) GetTotalFees

func (m *Transaction) GetTotalFees() int64

func (*Transaction) GetTxHash

func (m *Transaction) GetTxHash() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transaction) XXX_Merge

func (dst *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

func (m *Transaction) XXX_Unmarshal(b []byte) error

type TransactionDetails

type TransactionDetails struct {
	// / The list of transactions relevant to the wallet.
	Transactions         []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TransactionDetails) Descriptor

func (*TransactionDetails) Descriptor() ([]byte, []int)

func (*TransactionDetails) GetTransactions

func (m *TransactionDetails) GetTransactions() []*Transaction

func (*TransactionDetails) ProtoMessage

func (*TransactionDetails) ProtoMessage()

func (*TransactionDetails) Reset

func (m *TransactionDetails) Reset()

func (*TransactionDetails) String

func (m *TransactionDetails) String() string

func (*TransactionDetails) XXX_DiscardUnknown

func (m *TransactionDetails) XXX_DiscardUnknown()

func (*TransactionDetails) XXX_Marshal

func (m *TransactionDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionDetails) XXX_Merge

func (dst *TransactionDetails) XXX_Merge(src proto.Message)

func (*TransactionDetails) XXX_Size

func (m *TransactionDetails) XXX_Size() int

func (*TransactionDetails) XXX_Unmarshal

func (m *TransactionDetails) XXX_Unmarshal(b []byte) error

type UnlockWalletRequest

type UnlockWalletRequest struct {
	// *
	// 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"`
	// *
	// recovery_window is an optional argument specifying the address lookahead
	// when restoring a wallet seed. The recovery window applies to each
	// invdividual branch of the BIP44 derivation paths. Supplying a recovery
	// window of zero indicates that no addresses should be recovered, such after
	// the first initialization of the wallet.
	RecoveryWindow int32 `protobuf:"varint,2,opt,name=recovery_window,json=recoveryWindow,proto3" json:"recovery_window,omitempty"`
	// *
	// channel_backups is an optional argument that allows clients to recover the
	// settled funds within a set of channels. This should be populated if the
	// user was unable to close out all channels and sweep funds before partial or
	// total data loss occurred. If specified, then after on-chain recovery of
	// funds, lnd begin to carry out the data loss recovery protocol in order to
	// recover the funds in each channel from a remote force closed transaction.
	ChannelBackups       *ChanBackupSnapshot `protobuf:"bytes,3,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*UnlockWalletRequest) Descriptor

func (*UnlockWalletRequest) Descriptor() ([]byte, []int)

func (*UnlockWalletRequest) GetChannelBackups

func (m *UnlockWalletRequest) GetChannelBackups() *ChanBackupSnapshot

func (*UnlockWalletRequest) GetRecoveryWindow

func (m *UnlockWalletRequest) GetRecoveryWindow() int32

func (*UnlockWalletRequest) GetWalletPassword

func (m *UnlockWalletRequest) GetWalletPassword() []byte

func (*UnlockWalletRequest) ProtoMessage

func (*UnlockWalletRequest) ProtoMessage()

func (*UnlockWalletRequest) Reset

func (m *UnlockWalletRequest) Reset()

func (*UnlockWalletRequest) String

func (m *UnlockWalletRequest) String() string

func (*UnlockWalletRequest) XXX_DiscardUnknown

func (m *UnlockWalletRequest) XXX_DiscardUnknown()

func (*UnlockWalletRequest) XXX_Marshal

func (m *UnlockWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnlockWalletRequest) XXX_Merge

func (dst *UnlockWalletRequest) XXX_Merge(src proto.Message)

func (*UnlockWalletRequest) XXX_Size

func (m *UnlockWalletRequest) XXX_Size() int

func (*UnlockWalletRequest) XXX_Unmarshal

func (m *UnlockWalletRequest) XXX_Unmarshal(b []byte) error

type UnlockWalletResponse

type UnlockWalletResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnlockWalletResponse) Descriptor

func (*UnlockWalletResponse) Descriptor() ([]byte, []int)

func (*UnlockWalletResponse) ProtoMessage

func (*UnlockWalletResponse) ProtoMessage()

func (*UnlockWalletResponse) Reset

func (m *UnlockWalletResponse) Reset()

func (*UnlockWalletResponse) String

func (m *UnlockWalletResponse) String() string

func (*UnlockWalletResponse) XXX_DiscardUnknown

func (m *UnlockWalletResponse) XXX_DiscardUnknown()

func (*UnlockWalletResponse) XXX_Marshal

func (m *UnlockWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnlockWalletResponse) XXX_Merge

func (dst *UnlockWalletResponse) XXX_Merge(src proto.Message)

func (*UnlockWalletResponse) XXX_Size

func (m *UnlockWalletResponse) XXX_Size() int

func (*UnlockWalletResponse) XXX_Unmarshal

func (m *UnlockWalletResponse) XXX_Unmarshal(b []byte) error

type Utxo

type Utxo struct {
	// / The type of address
	Type AddressType `protobuf:"varint,1,opt,name=type,json=address_type,proto3,enum=lnrpc.AddressType" json:"type,omitempty"`
	// / The address
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// / The value of the unspent coin in satoshis
	AmountSat int64 `protobuf:"varint,3,opt,name=amount_sat,proto3" json:"amount_sat,omitempty"`
	// / The pkscript in hex
	PkScript string `protobuf:"bytes,4,opt,name=pk_script,proto3" json:"pk_script,omitempty"`
	// / The outpoint in format txid:n
	Outpoint *OutPoint `protobuf:"bytes,5,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// / The number of confirmations for the Utxo
	Confirmations        int64    `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Utxo) Descriptor

func (*Utxo) Descriptor() ([]byte, []int)

func (*Utxo) GetAddress

func (m *Utxo) GetAddress() string

func (*Utxo) GetAmountSat

func (m *Utxo) GetAmountSat() int64

func (*Utxo) GetConfirmations

func (m *Utxo) GetConfirmations() int64

func (*Utxo) GetOutpoint

func (m *Utxo) GetOutpoint() *OutPoint

func (*Utxo) GetPkScript

func (m *Utxo) GetPkScript() string

func (*Utxo) GetType

func (m *Utxo) GetType() AddressType

func (*Utxo) ProtoMessage

func (*Utxo) ProtoMessage()

func (*Utxo) Reset

func (m *Utxo) Reset()

func (*Utxo) String

func (m *Utxo) String() string

func (*Utxo) XXX_DiscardUnknown

func (m *Utxo) XXX_DiscardUnknown()

func (*Utxo) XXX_Marshal

func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Utxo) XXX_Merge

func (dst *Utxo) XXX_Merge(src proto.Message)

func (*Utxo) XXX_Size

func (m *Utxo) XXX_Size() int

func (*Utxo) XXX_Unmarshal

func (m *Utxo) XXX_Unmarshal(b []byte) error

type VerifyChanBackupResponse

type VerifyChanBackupResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyChanBackupResponse) Descriptor

func (*VerifyChanBackupResponse) Descriptor() ([]byte, []int)

func (*VerifyChanBackupResponse) ProtoMessage

func (*VerifyChanBackupResponse) ProtoMessage()

func (*VerifyChanBackupResponse) Reset

func (m *VerifyChanBackupResponse) Reset()

func (*VerifyChanBackupResponse) String

func (m *VerifyChanBackupResponse) String() string

func (*VerifyChanBackupResponse) XXX_DiscardUnknown

func (m *VerifyChanBackupResponse) XXX_DiscardUnknown()

func (*VerifyChanBackupResponse) XXX_Marshal

func (m *VerifyChanBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyChanBackupResponse) XXX_Merge

func (dst *VerifyChanBackupResponse) XXX_Merge(src proto.Message)

func (*VerifyChanBackupResponse) XXX_Size

func (m *VerifyChanBackupResponse) XXX_Size() int

func (*VerifyChanBackupResponse) XXX_Unmarshal

func (m *VerifyChanBackupResponse) XXX_Unmarshal(b []byte) error

type VerifyMessageRequest

type VerifyMessageRequest struct {
	// / The message over which the signature is to be verified
	Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// / The signature to be verified over the given message
	Signature            string   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyMessageRequest) Descriptor

func (*VerifyMessageRequest) Descriptor() ([]byte, []int)

func (*VerifyMessageRequest) GetMsg

func (m *VerifyMessageRequest) GetMsg() []byte

func (*VerifyMessageRequest) GetSignature

func (m *VerifyMessageRequest) GetSignature() string

func (*VerifyMessageRequest) ProtoMessage

func (*VerifyMessageRequest) ProtoMessage()

func (*VerifyMessageRequest) Reset

func (m *VerifyMessageRequest) Reset()

func (*VerifyMessageRequest) String

func (m *VerifyMessageRequest) String() string

func (*VerifyMessageRequest) XXX_DiscardUnknown

func (m *VerifyMessageRequest) XXX_DiscardUnknown()

func (*VerifyMessageRequest) XXX_Marshal

func (m *VerifyMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyMessageRequest) XXX_Merge

func (dst *VerifyMessageRequest) XXX_Merge(src proto.Message)

func (*VerifyMessageRequest) XXX_Size

func (m *VerifyMessageRequest) XXX_Size() int

func (*VerifyMessageRequest) XXX_Unmarshal

func (m *VerifyMessageRequest) XXX_Unmarshal(b []byte) error

type VerifyMessageResponse

type VerifyMessageResponse struct {
	// / Whether the signature was valid over the given message
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// / The pubkey recovered from the signature
	Pubkey               string   `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyMessageResponse) Descriptor

func (*VerifyMessageResponse) Descriptor() ([]byte, []int)

func (*VerifyMessageResponse) GetPubkey

func (m *VerifyMessageResponse) GetPubkey() string

func (*VerifyMessageResponse) GetValid

func (m *VerifyMessageResponse) GetValid() bool

func (*VerifyMessageResponse) ProtoMessage

func (*VerifyMessageResponse) ProtoMessage()

func (*VerifyMessageResponse) Reset

func (m *VerifyMessageResponse) Reset()

func (*VerifyMessageResponse) String

func (m *VerifyMessageResponse) String() string

func (*VerifyMessageResponse) XXX_DiscardUnknown

func (m *VerifyMessageResponse) XXX_DiscardUnknown()

func (*VerifyMessageResponse) XXX_Marshal

func (m *VerifyMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyMessageResponse) XXX_Merge

func (dst *VerifyMessageResponse) XXX_Merge(src proto.Message)

func (*VerifyMessageResponse) XXX_Size

func (m *VerifyMessageResponse) XXX_Size() int

func (*VerifyMessageResponse) XXX_Unmarshal

func (m *VerifyMessageResponse) XXX_Unmarshal(b []byte) error

type WalletBalanceRequest

type WalletBalanceRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WalletBalanceRequest) Descriptor

func (*WalletBalanceRequest) Descriptor() ([]byte, []int)

func (*WalletBalanceRequest) ProtoMessage

func (*WalletBalanceRequest) ProtoMessage()

func (*WalletBalanceRequest) Reset

func (m *WalletBalanceRequest) Reset()

func (*WalletBalanceRequest) String

func (m *WalletBalanceRequest) String() string

func (*WalletBalanceRequest) XXX_DiscardUnknown

func (m *WalletBalanceRequest) XXX_DiscardUnknown()

func (*WalletBalanceRequest) XXX_Marshal

func (m *WalletBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletBalanceRequest) XXX_Merge

func (dst *WalletBalanceRequest) XXX_Merge(src proto.Message)

func (*WalletBalanceRequest) XXX_Size

func (m *WalletBalanceRequest) XXX_Size() int

func (*WalletBalanceRequest) XXX_Unmarshal

func (m *WalletBalanceRequest) XXX_Unmarshal(b []byte) error

type WalletBalanceResponse

type WalletBalanceResponse struct {
	// / The balance of the wallet
	TotalBalance int64 `protobuf:"varint,1,opt,name=total_balance,proto3" json:"total_balance,omitempty"`
	// / The confirmed balance of a wallet(with >= 1 confirmations)
	ConfirmedBalance int64 `protobuf:"varint,2,opt,name=confirmed_balance,proto3" json:"confirmed_balance,omitempty"`
	// / The unconfirmed balance of a wallet(with 0 confirmations)
	UnconfirmedBalance   int64    `protobuf:"varint,3,opt,name=unconfirmed_balance,proto3" json:"unconfirmed_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WalletBalanceResponse) Descriptor

func (*WalletBalanceResponse) Descriptor() ([]byte, []int)

func (*WalletBalanceResponse) GetConfirmedBalance

func (m *WalletBalanceResponse) GetConfirmedBalance() int64

func (*WalletBalanceResponse) GetTotalBalance

func (m *WalletBalanceResponse) GetTotalBalance() int64

func (*WalletBalanceResponse) GetUnconfirmedBalance

func (m *WalletBalanceResponse) GetUnconfirmedBalance() int64

func (*WalletBalanceResponse) ProtoMessage

func (*WalletBalanceResponse) ProtoMessage()

func (*WalletBalanceResponse) Reset

func (m *WalletBalanceResponse) Reset()

func (*WalletBalanceResponse) String

func (m *WalletBalanceResponse) String() string

func (*WalletBalanceResponse) XXX_DiscardUnknown

func (m *WalletBalanceResponse) XXX_DiscardUnknown()

func (*WalletBalanceResponse) XXX_Marshal

func (m *WalletBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletBalanceResponse) XXX_Merge

func (dst *WalletBalanceResponse) XXX_Merge(src proto.Message)

func (*WalletBalanceResponse) XXX_Size

func (m *WalletBalanceResponse) XXX_Size() int

func (*WalletBalanceResponse) XXX_Unmarshal

func (m *WalletBalanceResponse) XXX_Unmarshal(b []byte) error

type WalletUnlockerClient

type WalletUnlockerClient interface {
	// *
	// 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)
	// *
	// 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)
	// * 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)
	// * lncli: `changepassword`
	// ChangePassword changes the password of the encrypted wallet. This will
	// automatically unlock the wallet database if successful.
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error)
}

WalletUnlockerClient is the client API for WalletUnlocker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewWalletUnlockerClient

func NewWalletUnlockerClient(cc *grpc.ClientConn) WalletUnlockerClient

type WalletUnlockerServer

type WalletUnlockerServer interface {
	// *
	// 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)
	// *
	// 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)
	// * lncli: `unlock`
	// UnlockWallet is used at startup of lnd to provide a password to unlock
	// the wallet database.
	UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
	// * lncli: `changepassword`
	// ChangePassword changes the password of the encrypted wallet. This will
	// automatically unlock the wallet database if successful.
	ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
}

WalletUnlockerServer is the server API for WalletUnlocker service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL