lnrpc

package
v0.0.0-...-dfc2b99 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: ISC, MIT Imports: 29 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.
  • GetRecoveryInfo
    • Returns information about recovery process.
  • 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.
  • ForwardingHistory
    • ForwardingHistory allows the caller to query the htlcswitch for a record of all HTLCs forwarded.
  • BakeMacaroon
    • Bakes a new macaroon with the provided list of permissions and restrictions
  • ListMacaroonIDs
    • List all the macaroon root key IDs that are in use.
  • DeleteMacaroonID
    • Remove a specific macaroon root key ID from the database and invalidates all macaroons derived from the key with that ID.

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/lightningnetwork/lnd/lnrpc

Generate protobuf definitions

Linux

For linux there is an easy install script that is also used for the Travis CI build. Just run the following command (requires sudo permissions and the tools make, go, wget and unzip to be installed) from the repository's root folder:

./scripts/install_travis_proto.sh

MacOS / Unix like systems
  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 version v1.3.2.
$ git clone https://github.com/golang/protobuf $GOPATH/src/github.com/golang/protobuf
$ cd $GOPATH/src/github.com/golang/protobuf
$ git reset --hard v1.3.2
$ make
  1. Install 'genproto' at commit 20e1ac93f88cf06d2b1defb90b9e9e126c7dfff6.
$ go get google.golang.org/genproto
$ cd $GOPATH/src/google.golang.org/genproto
$ git reset --hard 20e1ac93f88cf06d2b1defb90b9e9e126c7dfff6
  1. Install grpc-ecosystem/grpc-gateway at version v1.14.3.
$ 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 v1.14.3
$ go install ./protoc-gen-grpc-gateway ./protoc-gen-swagger
  1. Run gen_protos.sh or make rpc to generate new protobuf definitions.

Format .proto files

We use clang-format to make sure the .proto files are formatted correctly. You can install the formatter on Ubuntu by running apt install clang-format.

Consult this page to find binaries for other operating systems or distributions.

Makefile commands

The following commands are available with make:

  • rpc: Compile .proto files (calls lnrpc/gen_protos.sh).
  • rpc-format: Formats all .proto files according to our formatting rules. Requires clang-format, see previous chapter.
  • rpc-check: Runs both previous commands and makes sure the git work tree is not dirty. This can be used to check that the .proto files are formatted and compiled properly.

Documentation

Overview

Package lnrpc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// MethodOverrideParam is the GET query parameter that specifies what
	// HTTP request method should be used for the forwarded REST request.
	// This is necessary because the WebSocket API specifies that a
	// handshake request must always be done through a GET request.
	MethodOverrideParam = "method"

	// HeaderWebSocketProtocol is the name of the WebSocket protocol
	// exchange header field that we use to transport additional header
	// fields.
	HeaderWebSocketProtocol = "Sec-Websocket-Protocol"

	// WebSocketProtocolDelimiter is the delimiter we use between the
	// additional header field and its value. We use the plus symbol because
	// the default delimiters aren't allowed in the protocol names.
	WebSocketProtocolDelimiter = "+"
)

Variables

View Source
var (
	Err = er.NewErrorType("lnd.lnrpc")
	// ErrSatMsatMutualExclusive is returned when both a sat and an msat
	// amount are set.
	ErrSatMsatMutualExclusive = Err.CodeWithDetail("ErrSatMsatMutualExclusive",
		"sat and msat arguments are mutually exclusive",
	)
)
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",
	4: "PENDING_OPEN_CHANNEL",
}
View Source
var ChannelEventUpdate_UpdateType_value = map[string]int32{
	"OPEN_CHANNEL":         0,
	"CLOSED_CHANNEL":       1,
	"ACTIVE_CHANNEL":       2,
	"INACTIVE_CHANNEL":     3,
	"PENDING_OPEN_CHANNEL": 4,
}
View Source
var CommitmentType_name = map[int32]string{
	0:   "LEGACY",
	1:   "STATIC_REMOTE_KEY",
	2:   "ANCHORS",
	999: "UNKNOWN_COMMITMENT_TYPE",
}
View Source
var CommitmentType_value = map[string]int32{
	"LEGACY":                  0,
	"STATIC_REMOTE_KEY":       1,
	"ANCHORS":                 2,
	"UNKNOWN_COMMITMENT_TYPE": 999,
}
View Source
var Failure_FailureCode_name = map[int32]string{
	0:   "RESERVED",
	1:   "INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",
	2:   "INCORRECT_PAYMENT_AMOUNT",
	3:   "FINAL_INCORRECT_CLTV_EXPIRY",
	4:   "FINAL_INCORRECT_HTLC_AMOUNT",
	5:   "FINAL_EXPIRY_TOO_SOON",
	6:   "INVALID_REALM",
	7:   "EXPIRY_TOO_SOON",
	8:   "INVALID_ONION_VERSION",
	9:   "INVALID_ONION_HMAC",
	10:  "INVALID_ONION_KEY",
	11:  "AMOUNT_BELOW_MINIMUM",
	12:  "FEE_INSUFFICIENT",
	13:  "INCORRECT_CLTV_EXPIRY",
	14:  "CHANNEL_DISABLED",
	15:  "TEMPORARY_CHANNEL_FAILURE",
	16:  "REQUIRED_NODE_FEATURE_MISSING",
	17:  "REQUIRED_CHANNEL_FEATURE_MISSING",
	18:  "UNKNOWN_NEXT_PEER",
	19:  "TEMPORARY_NODE_FAILURE",
	20:  "PERMANENT_NODE_FAILURE",
	21:  "PERMANENT_CHANNEL_FAILURE",
	22:  "EXPIRY_TOO_FAR",
	23:  "MPP_TIMEOUT",
	997: "INTERNAL_FAILURE",
	998: "UNKNOWN_FAILURE",
	999: "UNREADABLE_FAILURE",
}
View Source
var Failure_FailureCode_value = map[string]int32{
	"RESERVED":                             0,
	"INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS": 1,
	"INCORRECT_PAYMENT_AMOUNT":             2,
	"FINAL_INCORRECT_CLTV_EXPIRY":          3,
	"FINAL_INCORRECT_HTLC_AMOUNT":          4,
	"FINAL_EXPIRY_TOO_SOON":                5,
	"INVALID_REALM":                        6,
	"EXPIRY_TOO_SOON":                      7,
	"INVALID_ONION_VERSION":                8,
	"INVALID_ONION_HMAC":                   9,
	"INVALID_ONION_KEY":                    10,
	"AMOUNT_BELOW_MINIMUM":                 11,
	"FEE_INSUFFICIENT":                     12,
	"INCORRECT_CLTV_EXPIRY":                13,
	"CHANNEL_DISABLED":                     14,
	"TEMPORARY_CHANNEL_FAILURE":            15,
	"REQUIRED_NODE_FEATURE_MISSING":        16,
	"REQUIRED_CHANNEL_FEATURE_MISSING":     17,
	"UNKNOWN_NEXT_PEER":                    18,
	"TEMPORARY_NODE_FAILURE":               19,
	"PERMANENT_NODE_FAILURE":               20,
	"PERMANENT_CHANNEL_FAILURE":            21,
	"EXPIRY_TOO_FAR":                       22,
	"MPP_TIMEOUT":                          23,
	"INTERNAL_FAILURE":                     997,
	"UNKNOWN_FAILURE":                      998,
	"UNREADABLE_FAILURE":                   999,
}
View Source
var FeatureBit_name = map[int32]string{
	0:  "DATALOSS_PROTECT_REQ",
	1:  "DATALOSS_PROTECT_OPT",
	3:  "INITIAL_ROUING_SYNC",
	4:  "UPFRONT_SHUTDOWN_SCRIPT_REQ",
	5:  "UPFRONT_SHUTDOWN_SCRIPT_OPT",
	6:  "GOSSIP_QUERIES_REQ",
	7:  "GOSSIP_QUERIES_OPT",
	8:  "TLV_ONION_REQ",
	9:  "TLV_ONION_OPT",
	10: "EXT_GOSSIP_QUERIES_REQ",
	11: "EXT_GOSSIP_QUERIES_OPT",
	12: "STATIC_REMOTE_KEY_REQ",
	13: "STATIC_REMOTE_KEY_OPT",
	14: "PAYMENT_ADDR_REQ",
	15: "PAYMENT_ADDR_OPT",
	16: "MPP_REQ",
	17: "MPP_OPT",
}
View Source
var FeatureBit_value = map[string]int32{
	"DATALOSS_PROTECT_REQ":        0,
	"DATALOSS_PROTECT_OPT":        1,
	"INITIAL_ROUING_SYNC":         3,
	"UPFRONT_SHUTDOWN_SCRIPT_REQ": 4,
	"UPFRONT_SHUTDOWN_SCRIPT_OPT": 5,
	"GOSSIP_QUERIES_REQ":          6,
	"GOSSIP_QUERIES_OPT":          7,
	"TLV_ONION_REQ":               8,
	"TLV_ONION_OPT":               9,
	"EXT_GOSSIP_QUERIES_REQ":      10,
	"EXT_GOSSIP_QUERIES_OPT":      11,
	"STATIC_REMOTE_KEY_REQ":       12,
	"STATIC_REMOTE_KEY_OPT":       13,
	"PAYMENT_ADDR_REQ":            14,
	"PAYMENT_ADDR_OPT":            15,
	"MPP_REQ":                     16,
	"MPP_OPT":                     17,
}
View Source
var HTLCAttempt_HTLCStatus_name = map[int32]string{
	0: "IN_FLIGHT",
	1: "SUCCEEDED",
	2: "FAILED",
}
View Source
var HTLCAttempt_HTLCStatus_value = map[string]int32{
	"IN_FLIGHT": 0,
	"SUCCEEDED": 1,
	"FAILED":    2,
}
View Source
var Initiator_name = map[int32]string{
	0: "INITIATOR_UNKNOWN",
	1: "INITIATOR_LOCAL",
	2: "INITIATOR_REMOTE",
	3: "INITIATOR_BOTH",
}
View Source
var Initiator_value = map[string]int32{
	"INITIATOR_UNKNOWN": 0,
	"INITIATOR_LOCAL":   1,
	"INITIATOR_REMOTE":  2,
	"INITIATOR_BOTH":    3,
}
View Source
var InvoiceHTLCState_name = map[int32]string{
	0: "ACCEPTED",
	1: "SETTLED",
	2: "CANCELED",
}
View Source
var InvoiceHTLCState_value = map[string]int32{
	"ACCEPTED": 0,
	"SETTLED":  1,
	"CANCELED": 2,
}
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 Lightning_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "lnrpc.Lightning",
	HandlerType: (*LightningServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "WalletBalance",
			Handler:    _Lightning_WalletBalance_Handler,
		},
		{
			MethodName: "GetAddressBalances",
			Handler:    _Lightning_GetAddressBalances_Handler,
		},
		{
			MethodName: "ChannelBalance",
			Handler:    _Lightning_ChannelBalance_Handler,
		},
		{
			MethodName: "GetTransactions",
			Handler:    _Lightning_GetTransactions_Handler,
		},
		{
			MethodName: "EstimateFee",
			Handler:    _Lightning_EstimateFee_Handler,
		},
		{
			MethodName: "SendCoins",
			Handler:    _Lightning_SendCoins_Handler,
		},
		{
			MethodName: "ListUnspent",
			Handler:    _Lightning_ListUnspent_Handler,
		},
		{
			MethodName: "SendMany",
			Handler:    _Lightning_SendMany_Handler,
		},
		{
			MethodName: "NewAddress",
			Handler:    _Lightning_NewAddress_Handler,
		},
		{
			MethodName: "SignMessage",
			Handler:    _Lightning_SignMessage_Handler,
		},
		{
			MethodName: "ConnectPeer",
			Handler:    _Lightning_ConnectPeer_Handler,
		},
		{
			MethodName: "DisconnectPeer",
			Handler:    _Lightning_DisconnectPeer_Handler,
		},
		{
			MethodName: "ListPeers",
			Handler:    _Lightning_ListPeers_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _Lightning_GetInfo_Handler,
		},
		{
			MethodName: "GetRecoveryInfo",
			Handler:    _Lightning_GetRecoveryInfo_Handler,
		},
		{
			MethodName: "PendingChannels",
			Handler:    _Lightning_PendingChannels_Handler,
		},
		{
			MethodName: "ListChannels",
			Handler:    _Lightning_ListChannels_Handler,
		},
		{
			MethodName: "ClosedChannels",
			Handler:    _Lightning_ClosedChannels_Handler,
		},
		{
			MethodName: "OpenChannelSync",
			Handler:    _Lightning_OpenChannelSync_Handler,
		},
		{
			MethodName: "FundingStateStep",
			Handler:    _Lightning_FundingStateStep_Handler,
		},
		{
			MethodName: "AbandonChannel",
			Handler:    _Lightning_AbandonChannel_Handler,
		},
		{
			MethodName: "SendPaymentSync",
			Handler:    _Lightning_SendPaymentSync_Handler,
		},
		{
			MethodName: "SendToRouteSync",
			Handler:    _Lightning_SendToRouteSync_Handler,
		},
		{
			MethodName: "AddInvoice",
			Handler:    _Lightning_AddInvoice_Handler,
		},
		{
			MethodName: "ListInvoices",
			Handler:    _Lightning_ListInvoices_Handler,
		},
		{
			MethodName: "LookupInvoice",
			Handler:    _Lightning_LookupInvoice_Handler,
		},
		{
			MethodName: "DecodePayReq",
			Handler:    _Lightning_DecodePayReq_Handler,
		},
		{
			MethodName: "ListPayments",
			Handler:    _Lightning_ListPayments_Handler,
		},
		{
			MethodName: "DeleteAllPayments",
			Handler:    _Lightning_DeleteAllPayments_Handler,
		},
		{
			MethodName: "DescribeGraph",
			Handler:    _Lightning_DescribeGraph_Handler,
		},
		{
			MethodName: "GetNodeMetrics",
			Handler:    _Lightning_GetNodeMetrics_Handler,
		},
		{
			MethodName: "GetChanInfo",
			Handler:    _Lightning_GetChanInfo_Handler,
		},
		{
			MethodName: "GetNodeInfo",
			Handler:    _Lightning_GetNodeInfo_Handler,
		},
		{
			MethodName: "QueryRoutes",
			Handler:    _Lightning_QueryRoutes_Handler,
		},
		{
			MethodName: "GetNetworkInfo",
			Handler:    _Lightning_GetNetworkInfo_Handler,
		},
		{
			MethodName: "StopDaemon",
			Handler:    _Lightning_StopDaemon_Handler,
		},
		{
			MethodName: "DebugLevel",
			Handler:    _Lightning_DebugLevel_Handler,
		},
		{
			MethodName: "FeeReport",
			Handler:    _Lightning_FeeReport_Handler,
		},
		{
			MethodName: "UpdateChannelPolicy",
			Handler:    _Lightning_UpdateChannelPolicy_Handler,
		},
		{
			MethodName: "ForwardingHistory",
			Handler:    _Lightning_ForwardingHistory_Handler,
		},
		{
			MethodName: "ExportChannelBackup",
			Handler:    _Lightning_ExportChannelBackup_Handler,
		},
		{
			MethodName: "ExportAllChannelBackups",
			Handler:    _Lightning_ExportAllChannelBackups_Handler,
		},
		{
			MethodName: "VerifyChanBackup",
			Handler:    _Lightning_VerifyChanBackup_Handler,
		},
		{
			MethodName: "RestoreChannelBackups",
			Handler:    _Lightning_RestoreChannelBackups_Handler,
		},
		{
			MethodName: "ReSync",
			Handler:    _Lightning_ReSync_Handler,
		},
		{
			MethodName: "StopReSync",
			Handler:    _Lightning_StopReSync_Handler,
		},
		{
			MethodName: "GetWalletSeed",
			Handler:    _Lightning_GetWalletSeed_Handler,
		},
		{
			MethodName: "ChangeSeedPassphrase",
			Handler:    _Lightning_ChangeSeedPassphrase_Handler,
		},
		{
			MethodName: "GetSecret",
			Handler:    _Lightning_GetSecret_Handler,
		},
		{
			MethodName: "ImportPrivKey",
			Handler:    _Lightning_ImportPrivKey_Handler,
		},
		{
			MethodName: "DumpPrivKey",
			Handler:    _Lightning_DumpPrivKey_Handler,
		},
		{
			MethodName: "ListLockUnspent",
			Handler:    _Lightning_ListLockUnspent_Handler,
		},
		{
			MethodName: "LockUnspent",
			Handler:    _Lightning_LockUnspent_Handler,
		},
		{
			MethodName: "CreateTransaction",
			Handler:    _Lightning_CreateTransaction_Handler,
		},
		{
			MethodName: "GetNewAddress",
			Handler:    _Lightning_GetNewAddress_Handler,
		},
		{
			MethodName: "GetTransaction",
			Handler:    _Lightning_GetTransaction_Handler,
		},
		{
			MethodName: "SetNetworkStewardVote",
			Handler:    _Lightning_SetNetworkStewardVote_Handler,
		},
		{
			MethodName: "GetNetworkStewardVote",
			Handler:    _Lightning_GetNetworkStewardVote_Handler,
		},
		{
			MethodName: "BcastTransaction",
			Handler:    _Lightning_BcastTransaction_Handler,
		},
		{
			MethodName: "SendFrom",
			Handler:    _Lightning_SendFrom_Handler,
		},
		{
			MethodName: "DecodeRawTransaction",
			Handler:    _Lightning_DecodeRawTransaction_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeTransactions",
			Handler:       _Lightning_SubscribeTransactions_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribePeerEvents",
			Handler:       _Lightning_SubscribePeerEvents_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeChannelEvents",
			Handler:       _Lightning_SubscribeChannelEvents_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "OpenChannel",
			Handler:       _Lightning_OpenChannel_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ChannelAcceptor",
			Handler:       _Lightning_ChannelAcceptor_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "CloseChannel",
			Handler:       _Lightning_CloseChannel_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SendPayment",
			Handler:       _Lightning_SendPayment_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SendToRoute",
			Handler:       _Lightning_SendToRoute_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SubscribeInvoices",
			Handler:       _Lightning_SubscribeInvoices_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeChannelGraph",
			Handler:       _Lightning_SubscribeChannelGraph_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeChannelBackups",
			Handler:       _Lightning_SubscribeChannelBackups_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "rpc.proto",
}

Lightning_ServiceDesc is the grpc.ServiceDesc for Lightning service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MetaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "lnrpc.MetaService",
	HandlerType: (*MetaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInfo2",
			Handler:    _MetaService_GetInfo2_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _MetaService_ChangePassword_Handler,
		},
		{
			MethodName: "CheckPassword",
			Handler:    _MetaService_CheckPassword_Handler,
		},
		{
			MethodName: "ForceCrash",
			Handler:    _MetaService_ForceCrash_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metaservice.proto",
}

MetaService_ServiceDesc is the grpc.ServiceDesc for MetaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NodeMetricType_name = map[int32]string{
	0: "UNKNOWN",
	1: "BETWEENNESS_CENTRALITY",
}
View Source
var NodeMetricType_value = map[string]int32{
	"UNKNOWN":                0,
	"BETWEENNESS_CENTRALITY": 1,
}
View Source
var PaymentFailureReason_name = map[int32]string{
	0: "FAILURE_REASON_NONE",
	1: "FAILURE_REASON_TIMEOUT",
	2: "FAILURE_REASON_NO_ROUTE",
	3: "FAILURE_REASON_ERROR",
	4: "FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",
	5: "FAILURE_REASON_INSUFFICIENT_BALANCE",
}
View Source
var PaymentFailureReason_value = map[string]int32{
	"FAILURE_REASON_NONE":                      0,
	"FAILURE_REASON_TIMEOUT":                   1,
	"FAILURE_REASON_NO_ROUTE":                  2,
	"FAILURE_REASON_ERROR":                     3,
	"FAILURE_REASON_INCORRECT_PAYMENT_DETAILS": 4,
	"FAILURE_REASON_INSUFFICIENT_BALANCE":      5,
}
View Source
var Payment_PaymentStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "IN_FLIGHT",
	2: "SUCCEEDED",
	3: "FAILED",
}
View Source
var Payment_PaymentStatus_value = map[string]int32{
	"UNKNOWN":   0,
	"IN_FLIGHT": 1,
	"SUCCEEDED": 2,
	"FAILED":    3,
}
View Source
var PeerEvent_EventType_name = map[int32]string{
	0: "PEER_ONLINE",
	1: "PEER_OFFLINE",
}
View Source
var PeerEvent_EventType_value = map[string]int32{
	"PEER_ONLINE":  0,
	"PEER_OFFLINE": 1,
}
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,
}
View Source
var PendingChannelsResponse_ForceClosedChannel_AnchorState_name = map[int32]string{
	0: "LIMBO",
	1: "RECOVERED",
	2: "LOST",
}
View Source
var PendingChannelsResponse_ForceClosedChannel_AnchorState_value = map[string]int32{
	"LIMBO":     0,
	"RECOVERED": 1,
	"LOST":      2,
}
View Source
var ResolutionOutcome_name = map[int32]string{
	0: "OUTCOME_UNKNOWN",
	1: "CLAIMED",
	2: "UNCLAIMED",
	3: "ABANDONED",
	4: "FIRST_STAGE",
	5: "TIMEOUT",
}
View Source
var ResolutionOutcome_value = map[string]int32{
	"OUTCOME_UNKNOWN": 0,
	"CLAIMED":         1,
	"UNCLAIMED":       2,
	"ABANDONED":       3,
	"FIRST_STAGE":     4,
	"TIMEOUT":         5,
}
View Source
var ResolutionType_name = map[int32]string{
	0: "TYPE_UNKNOWN",
	1: "ANCHOR",
	2: "INCOMING_HTLC",
	3: "OUTGOING_HTLC",
	4: "COMMIT",
}
View Source
var ResolutionType_value = map[string]int32{
	"TYPE_UNKNOWN":  0,
	"ANCHOR":        1,
	"INCOMING_HTLC": 2,
	"OUTGOING_HTLC": 3,
	"COMMIT":        4,
}
View Source
var WalletUnlocker_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "lnrpc.WalletUnlocker",
	HandlerType: (*WalletUnlockerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenSeed",
			Handler:    _WalletUnlocker_GenSeed_Handler,
		},
		{
			MethodName: "InitWallet",
			Handler:    _WalletUnlocker_InitWallet_Handler,
		},
		{
			MethodName: "UnlockWallet",
			Handler:    _WalletUnlocker_UnlockWallet_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "walletunlocker.proto",
}

WalletUnlocker_ServiceDesc is the grpc.ServiceDesc for WalletUnlocker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func CalculateFeeLimit

func CalculateFeeLimit(feeLimit *FeeLimit,
	amount lnwire.MilliSatoshi) lnwire.MilliSatoshi

CalculateFeeLimit returns the fee limit in millisatoshis. If a percentage based fee limit has been requested, we'll factor in the ratio provided with the amount of the payment.

func ExtractMinConfs

func ExtractMinConfs(minConfs int32, spendUnconfirmed bool) (int32, er.R)

ExtractMinConfs extracts the minimum number of confirmations that each output used to fund a transaction should satisfy.

func FileExists

func FileExists(name string) bool

FileExists reports whether the named file or directory exists.

func IsClosedConnError

func IsClosedConnError(err error) bool

IsClosedConnError is a helper function that returns true if the given error is an error indicating we are using a closed connection.

func NewWebSocketProxy

func NewWebSocketProxy(h http.Handler) http.Handler

NewWebSocketProxy attempts to expose the underlying handler as a response- streaming WebSocket stream with newline-delimited JSON as the content encoding.

func ParseConfs

func ParseConfs(min, max int32) (int32, int32, er.R)

ParseConfs validates the minimum and maximum confirmation arguments of a ListUnspent request.

func RegisterLightningServer

func RegisterLightningServer(s grpc.ServiceRegistrar, srv LightningServer)

func RegisterMetaServiceHandler

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

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

func RegisterMetaServiceHandlerClient

func RegisterMetaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetaServiceClient) error

RegisterMetaServiceHandlerClient registers the http handlers for service MetaService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MetaServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MetaServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MetaServiceClient" to call the correct interceptors.

func RegisterMetaServiceHandlerFromEndpoint

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

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

func RegisterMetaServiceServer

func RegisterMetaServiceServer(s grpc.ServiceRegistrar, srv MetaServiceServer)

func RegisterSubServer

func RegisterSubServer(driver *SubServerDriver) er.R

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 RegisterWalletUnlockerServer

func RegisterWalletUnlockerServer(s grpc.ServiceRegistrar, 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.

func UnmarshallAmt

func UnmarshallAmt(amtSat, amtMsat int64) (lnwire.MilliSatoshi, er.R)

UnmarshallAmt returns a strong msat type for a sat/msat pair of rpc fields.

Types

type AbandonChannelRequest

type AbandonChannelRequest struct {
	ChannelPoint           *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	PendingFundingShimOnly bool          `` /* 132-byte string literal not displayed */
	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) GetPendingFundingShimOnly

func (m *AbandonChannelRequest) GetPendingFundingShimOnly() bool

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 (m *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 (m *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,json=rHash,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. Represented as bech32 encoding.
	PaymentRequest string `protobuf:"bytes,2,opt,name=payment_request,json=paymentRequest,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,json=addIndex,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 (m *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 Amount

type Amount struct {
	// Value denominated in satoshis.
	Sat uint64 `protobuf:"varint,1,opt,name=sat,proto3" json:"sat,omitempty"`
	// Value denominated in milli-satoshis.
	Msat                 uint64   `protobuf:"varint,2,opt,name=msat,proto3" json:"msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Amount) Descriptor

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

func (*Amount) GetMsat

func (m *Amount) GetMsat() uint64

func (*Amount) GetSat

func (m *Amount) GetSat() uint64

func (*Amount) ProtoMessage

func (*Amount) ProtoMessage()

func (*Amount) Reset

func (m *Amount) Reset()

func (*Amount) String

func (m *Amount) String() string

func (*Amount) XXX_DiscardUnknown

func (m *Amount) XXX_DiscardUnknown()

func (*Amount) XXX_Marshal

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

func (*Amount) XXX_Merge

func (m *Amount) XXX_Merge(src proto.Message)

func (*Amount) XXX_Size

func (m *Amount) XXX_Size() int

func (*Amount) XXX_Unmarshal

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

type BcastTransactionRequest

type BcastTransactionRequest struct {
	Tx                   []byte   `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BcastTransactionRequest) Descriptor

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

func (*BcastTransactionRequest) GetTx

func (m *BcastTransactionRequest) GetTx() []byte

func (*BcastTransactionRequest) ProtoMessage

func (*BcastTransactionRequest) ProtoMessage()

func (*BcastTransactionRequest) Reset

func (m *BcastTransactionRequest) Reset()

func (*BcastTransactionRequest) String

func (m *BcastTransactionRequest) String() string

func (*BcastTransactionRequest) XXX_DiscardUnknown

func (m *BcastTransactionRequest) XXX_DiscardUnknown()

func (*BcastTransactionRequest) XXX_Marshal

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

func (*BcastTransactionRequest) XXX_Merge

func (m *BcastTransactionRequest) XXX_Merge(src proto.Message)

func (*BcastTransactionRequest) XXX_Size

func (m *BcastTransactionRequest) XXX_Size() int

func (*BcastTransactionRequest) XXX_Unmarshal

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

type BcastTransactionResponse

type BcastTransactionResponse struct {
	TxnHash              string   `protobuf:"bytes,1,opt,name=txn_hash,json=txnHash,proto3" json:"txn_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BcastTransactionResponse) Descriptor

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

func (*BcastTransactionResponse) GetTxnHash

func (m *BcastTransactionResponse) GetTxnHash() string

func (*BcastTransactionResponse) ProtoMessage

func (*BcastTransactionResponse) ProtoMessage()

func (*BcastTransactionResponse) Reset

func (m *BcastTransactionResponse) Reset()

func (*BcastTransactionResponse) String

func (m *BcastTransactionResponse) String() string

func (*BcastTransactionResponse) XXX_DiscardUnknown

func (m *BcastTransactionResponse) XXX_DiscardUnknown()

func (*BcastTransactionResponse) XXX_Marshal

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

func (*BcastTransactionResponse) XXX_Merge

func (m *BcastTransactionResponse) XXX_Merge(src proto.Message)

func (*BcastTransactionResponse) XXX_Size

func (m *BcastTransactionResponse) XXX_Size() int

func (*BcastTransactionResponse) XXX_Unmarshal

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

type Chain

type Chain struct {
	// The blockchain the node is on (eg bitcoin, litecoin)
	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 (m *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 (m *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,json=singleChanBackups,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,json=multiChanBackup,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 (m *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 (m *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 ChanPointShim

type ChanPointShim struct {
	//
	//The size of the pre-crafted output to be used as the channel point for this
	//channel funding.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// The target channel point to refrence in created commitment transactions.
	ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	// Our local key to use when creating the multi-sig output.
	LocalKey *KeyDescriptor `protobuf:"bytes,3,opt,name=local_key,json=localKey,proto3" json:"local_key,omitempty"`
	// The key of the remote party to use when creating the multi-sig output.
	RemoteKey []byte `protobuf:"bytes,4,opt,name=remote_key,json=remoteKey,proto3" json:"remote_key,omitempty"`
	//
	//If non-zero, then this will be used as the pending channel ID on the wire
	//protocol to initate the funding request. This is an optional field, and
	//should only be set if the responder is already expecting a specific pending
	//channel ID.
	PendingChanId []byte `protobuf:"bytes,5,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//This uint32 indicates if this channel is to be considered 'frozen'. A frozen
	//channel does not allow a cooperative channel close by the initiator. The
	//thaw_height is the height that this restriction stops applying to the
	//channel. The height can be interpreted in two ways: as a relative height if
	//the value is less than 500,000, or as an absolute height otherwise.
	ThawHeight           uint32   `protobuf:"varint,6,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanPointShim) Descriptor

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

func (*ChanPointShim) GetAmt

func (m *ChanPointShim) GetAmt() int64

func (*ChanPointShim) GetChanPoint

func (m *ChanPointShim) GetChanPoint() *ChannelPoint

func (*ChanPointShim) GetLocalKey

func (m *ChanPointShim) GetLocalKey() *KeyDescriptor

func (*ChanPointShim) GetPendingChanId

func (m *ChanPointShim) GetPendingChanId() []byte

func (*ChanPointShim) GetRemoteKey

func (m *ChanPointShim) GetRemoteKey() []byte

func (*ChanPointShim) GetThawHeight

func (m *ChanPointShim) GetThawHeight() uint32

func (*ChanPointShim) ProtoMessage

func (*ChanPointShim) ProtoMessage()

func (*ChanPointShim) Reset

func (m *ChanPointShim) Reset()

func (*ChanPointShim) String

func (m *ChanPointShim) String() string

func (*ChanPointShim) XXX_DiscardUnknown

func (m *ChanPointShim) XXX_DiscardUnknown()

func (*ChanPointShim) XXX_Marshal

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

func (*ChanPointShim) XXX_Merge

func (m *ChanPointShim) XXX_Merge(src proto.Message)

func (*ChanPointShim) XXX_Size

func (m *ChanPointShim) XXX_Size() int

func (*ChanPointShim) XXX_Unmarshal

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

type ChangePasswordRequest

type ChangePasswordRequest struct {
	//
	//current_password should be the current valid passphrase used to unlock the daemon.
	CurrentPassphrase string `protobuf:"bytes,1,opt,name=current_passphrase,json=currentPassphrase,proto3" json:"current_passphrase,omitempty"`
	//
	//Binary form of current_passphrase, if specified will override current_passphrase.
	//When using JSON, this field must be encoded as base64.
	CurrentPasswordBin []byte `protobuf:"bytes,2,opt,name=current_password_bin,json=currentPasswordBin,proto3" json:"current_password_bin,omitempty"`
	//
	//new_passphrase should be the new passphrase that will be needed to unlock the
	//daemon.
	NewPassphrase string `protobuf:"bytes,3,opt,name=new_passphrase,json=newPassphrase,proto3" json:"new_passphrase,omitempty"`
	//
	//Binary form of new_passphrase, if specified will override new_passphrase.
	//When using JSON, this field must be encoded as base64.
	NewPassphraseBin []byte `protobuf:"bytes,4,opt,name=new_passphrase_bin,json=newPassphraseBin,proto3" json:"new_passphrase_bin,omitempty"`
	//wallet_name is optional, if specified will override default wallet.db
	WalletName           string   `protobuf:"bytes,5,opt,name=wallet_name,json=walletName,proto3" json:"wallet_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordRequest) Descriptor

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

func (*ChangePasswordRequest) GetCurrentPassphrase

func (m *ChangePasswordRequest) GetCurrentPassphrase() string

func (*ChangePasswordRequest) GetCurrentPasswordBin

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

func (*ChangePasswordRequest) GetNewPassphrase

func (m *ChangePasswordRequest) GetNewPassphrase() string

func (*ChangePasswordRequest) GetNewPassphraseBin

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

func (*ChangePasswordRequest) GetWalletName

func (m *ChangePasswordRequest) GetWalletName() string

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 (m *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 (m *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 ChangeSeedPassphraseRequest

type ChangeSeedPassphraseRequest struct {
	//
	//current_seed_passphrase is the optional user specified passphrase that
	//encrypts the current seed.
	CurrentSeedPassphrase string `` /* 126-byte string literal not displayed */
	//
	//current_seed_passphrase_bin overrides current_seed_passphrase if specified,
	//for binary representation of the current seed passphrase. If using JSON then
	//this field must be base64 encoded.
	CurrentSeedPassphraseBin []byte `` /* 137-byte string literal not displayed */
	//
	//current_seed is the seed whose passphrase is going to be changed
	CurrentSeed []string `protobuf:"bytes,3,rep,name=current_seed,json=currentSeed,proto3" json:"current_seed,omitempty"`
	//
	//new_seed_passphrase is the optional user specified passphrase that will be used
	//to encrypt the seed.
	NewSeedPassphrase string `protobuf:"bytes,4,opt,name=new_seed_passphrase,json=newSeedPassphrase,proto3" json:"new_seed_passphrase,omitempty"`
	//
	//new_seed_passphrase_bin overrides new_seed_passphrase if specified, for binary
	//representation of the passphrase. If using JSON then this field must be base64
	//encoded.
	NewSeedPassphraseBin []byte   `protobuf:"bytes,5,opt,name=new_seed_passphrase_bin,json=newSeedPassphraseBin,proto3" json:"new_seed_passphrase_bin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangeSeedPassphraseRequest) Descriptor

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

func (*ChangeSeedPassphraseRequest) GetCurrentSeed

func (m *ChangeSeedPassphraseRequest) GetCurrentSeed() []string

func (*ChangeSeedPassphraseRequest) GetCurrentSeedPassphrase

func (m *ChangeSeedPassphraseRequest) GetCurrentSeedPassphrase() string

func (*ChangeSeedPassphraseRequest) GetCurrentSeedPassphraseBin

func (m *ChangeSeedPassphraseRequest) GetCurrentSeedPassphraseBin() []byte

func (*ChangeSeedPassphraseRequest) GetNewSeedPassphrase

func (m *ChangeSeedPassphraseRequest) GetNewSeedPassphrase() string

func (*ChangeSeedPassphraseRequest) GetNewSeedPassphraseBin

func (m *ChangeSeedPassphraseRequest) GetNewSeedPassphraseBin() []byte

func (*ChangeSeedPassphraseRequest) ProtoMessage

func (*ChangeSeedPassphraseRequest) ProtoMessage()

func (*ChangeSeedPassphraseRequest) Reset

func (m *ChangeSeedPassphraseRequest) Reset()

func (*ChangeSeedPassphraseRequest) String

func (m *ChangeSeedPassphraseRequest) String() string

func (*ChangeSeedPassphraseRequest) XXX_DiscardUnknown

func (m *ChangeSeedPassphraseRequest) XXX_DiscardUnknown()

func (*ChangeSeedPassphraseRequest) XXX_Marshal

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

func (*ChangeSeedPassphraseRequest) XXX_Merge

func (m *ChangeSeedPassphraseRequest) XXX_Merge(src proto.Message)

func (*ChangeSeedPassphraseRequest) XXX_Size

func (m *ChangeSeedPassphraseRequest) XXX_Size() int

func (*ChangeSeedPassphraseRequest) XXX_Unmarshal

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

type ChangeSeedPassphraseResponse

type ChangeSeedPassphraseResponse struct {
	Seed                 []string `protobuf:"bytes,1,rep,name=seed,proto3" json:"seed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangeSeedPassphraseResponse) Descriptor

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

func (*ChangeSeedPassphraseResponse) GetSeed

func (m *ChangeSeedPassphraseResponse) GetSeed() []string

func (*ChangeSeedPassphraseResponse) ProtoMessage

func (*ChangeSeedPassphraseResponse) ProtoMessage()

func (*ChangeSeedPassphraseResponse) Reset

func (m *ChangeSeedPassphraseResponse) Reset()

func (*ChangeSeedPassphraseResponse) String

func (*ChangeSeedPassphraseResponse) XXX_DiscardUnknown

func (m *ChangeSeedPassphraseResponse) XXX_DiscardUnknown()

func (*ChangeSeedPassphraseResponse) XXX_Marshal

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

func (*ChangeSeedPassphraseResponse) XXX_Merge

func (m *ChangeSeedPassphraseResponse) XXX_Merge(src proto.Message)

func (*ChangeSeedPassphraseResponse) XXX_Size

func (m *ChangeSeedPassphraseResponse) XXX_Size() int

func (*ChangeSeedPassphraseResponse) XXX_Unmarshal

func (m *ChangeSeedPassphraseResponse) 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 []byte `protobuf:"bytes,2,opt,name=remote_pubkey,json=remotePubkey,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,json=channelPoint,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,json=chanId,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,json=localBalance,proto3" json:"local_balance,omitempty"`
	// The counterparty's current balance in this channel
	RemoteBalance int64 `protobuf:"varint,7,opt,name=remote_balance,json=remoteBalance,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,json=commitFee,proto3" json:"commit_fee,omitempty"`
	// The weight of the commitment transaction
	CommitWeight int64 `protobuf:"varint,9,opt,name=commit_weight,json=commitWeight,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,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
	// The unsettled balance in this channel
	UnsettledBalance int64 `protobuf:"varint,11,opt,name=unsettled_balance,json=unsettledBalance,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,json=totalSatoshisSent,proto3" json:"total_satoshis_sent,omitempty"`
	//
	//The total number of satoshis we've received within this channel.
	TotalSatoshisReceived int64 `` /* 128-byte string literal not displayed */
	//
	//The total number of updates conducted within this channel.
	NumUpdates uint64 `protobuf:"varint,14,opt,name=num_updates,json=numUpdates,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,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"`
	//
	//Deprecated. 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,json=csvDelay,proto3" json:"csv_delay,omitempty"` // Deprecated: Do not use.
	// 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 channel.
	ChanStatusFlags string `protobuf:"bytes,19,opt,name=chan_status_flags,json=chanStatusFlags,proto3" json:"chan_status_flags,omitempty"`
	// Deprecated. The minimum satoshis this node is required to reserve in its
	// balance.
	LocalChanReserveSat int64 `protobuf:"varint,20,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"` // Deprecated: Do not use.
	//
	//Deprecated. The minimum satoshis the other node is required to reserve in
	//its balance.
	RemoteChanReserveSat int64 `` // Deprecated: Do not use.
	/* 127-byte string literal not displayed */
	// Deprecated. Use commitment_type.
	StaticRemoteKey bool `protobuf:"varint,22,opt,name=static_remote_key,json=staticRemoteKey,proto3" json:"static_remote_key,omitempty"` // Deprecated: Do not use.
	// The commitment type used by this channel.
	CommitmentType CommitmentType `` /* 131-byte string literal not displayed */
	//
	//The number of seconds that the channel has been monitored by the channel
	//scoring system. Scores are currently not persisted, so this value may be
	//less than the lifetime of the channel [EXPERIMENTAL].
	Lifetime int64 `protobuf:"varint,23,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	//
	//The number of seconds that the remote peer has been observed as being online
	//by the channel scoring system over the lifetime of the channel
	//[EXPERIMENTAL].
	Uptime int64 `protobuf:"varint,24,opt,name=uptime,proto3" json:"uptime,omitempty"`
	//
	//Close address is the address that we will enforce payout to on cooperative
	//close if the channel was opened utilizing option upfront shutdown. This
	//value can be set on channel open by setting close_address in an open channel
	//request. If this value is not set, you can still choose a payout address by
	//cooperatively closing with the delivery_address field set.
	CloseAddress string `protobuf:"bytes,25,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
	//
	//The amount that the initiator of the channel optionally pushed to the remote
	//party on channel open. This amount will be zero if the channel initiator did
	//not push any funds to the remote peer. If the initiator field is true, we
	//pushed this amount to our peer, if it is false, the remote peer pushed this
	//amount to us.
	PushAmountSat uint64 `protobuf:"varint,27,opt,name=push_amount_sat,json=pushAmountSat,proto3" json:"push_amount_sat,omitempty"`
	//
	//This uint32 indicates if this channel is to be considered 'frozen'. A
	//frozen channel doest not allow a cooperative channel close by the
	//initiator. The thaw_height is the height that this restriction stops
	//applying to the channel. This field is optional, not setting it or using a
	//value of zero will mean the channel has no additional restrictions. The
	//height can be interpreted in two ways: as a relative height if the value is
	//less than 500,000, or as an absolute height otherwise.
	ThawHeight uint32 `protobuf:"varint,28,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"`
	// List constraints for the local node.
	LocalConstraints *ChannelConstraints `protobuf:"bytes,29,opt,name=local_constraints,json=localConstraints,proto3" json:"local_constraints,omitempty"`
	// List constraints for the remote node.
	RemoteConstraints    *ChannelConstraints `protobuf:"bytes,30,opt,name=remote_constraints,json=remoteConstraints,proto3" json:"remote_constraints,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) GetCloseAddress

func (m *Channel) GetCloseAddress() string

func (*Channel) GetCommitFee

func (m *Channel) GetCommitFee() int64

func (*Channel) GetCommitWeight

func (m *Channel) GetCommitWeight() int64

func (*Channel) GetCommitmentType

func (m *Channel) GetCommitmentType() CommitmentType

func (*Channel) GetCsvDelay deprecated

func (m *Channel) GetCsvDelay() uint32

Deprecated: Do not use.

func (*Channel) GetFeePerKw

func (m *Channel) GetFeePerKw() int64

func (*Channel) GetInitiator

func (m *Channel) GetInitiator() bool

func (*Channel) GetLifetime

func (m *Channel) GetLifetime() int64

func (*Channel) GetLocalBalance

func (m *Channel) GetLocalBalance() int64

func (*Channel) GetLocalChanReserveSat deprecated

func (m *Channel) GetLocalChanReserveSat() int64

Deprecated: Do not use.

func (*Channel) GetLocalConstraints

func (m *Channel) GetLocalConstraints() *ChannelConstraints

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) GetPushAmountSat

func (m *Channel) GetPushAmountSat() uint64

func (*Channel) GetRemoteBalance

func (m *Channel) GetRemoteBalance() int64

func (*Channel) GetRemoteChanReserveSat deprecated

func (m *Channel) GetRemoteChanReserveSat() int64

Deprecated: Do not use.

func (*Channel) GetRemoteConstraints

func (m *Channel) GetRemoteConstraints() *ChannelConstraints

func (*Channel) GetRemotePubkey

func (m *Channel) GetRemotePubkey() []byte

func (*Channel) GetStaticRemoteKey deprecated

func (m *Channel) GetStaticRemoteKey() bool

Deprecated: Do not use.

func (*Channel) GetThawHeight

func (m *Channel) GetThawHeight() uint32

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) GetUptime

func (m *Channel) GetUptime() 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 (m *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 ChannelAcceptRequest

type ChannelAcceptRequest struct {
	// The pubkey of the node that wishes to open an inbound channel.
	NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
	// The hash of the genesis block that the proposed channel resides in.
	ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
	// The pending channel id.
	PendingChanId []byte `protobuf:"bytes,3,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	// The funding amount in satoshis that initiator wishes to use in the
	// channel.
	FundingAmt uint64 `protobuf:"varint,4,opt,name=funding_amt,json=fundingAmt,proto3" json:"funding_amt,omitempty"`
	// The push amount of the proposed channel in millisatoshis.
	PushAmt uint64 `protobuf:"varint,5,opt,name=push_amt,json=pushAmt,proto3" json:"push_amt,omitempty"`
	// The dust limit of the initiator's commitment tx.
	DustLimit uint64 `protobuf:"varint,6,opt,name=dust_limit,json=dustLimit,proto3" json:"dust_limit,omitempty"`
	// The maximum amount of coins in millisatoshis that can be pending in this
	// channel.
	MaxValueInFlight uint64 `protobuf:"varint,7,opt,name=max_value_in_flight,json=maxValueInFlight,proto3" json:"max_value_in_flight,omitempty"`
	// The minimum amount of satoshis the initiator requires us to have at all
	// times.
	ChannelReserve uint64 `protobuf:"varint,8,opt,name=channel_reserve,json=channelReserve,proto3" json:"channel_reserve,omitempty"`
	// The smallest HTLC in millisatoshis that the initiator will accept.
	MinHtlc uint64 `protobuf:"varint,9,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"`
	// The initial fee rate that the initiator suggests for both commitment
	// transactions.
	FeePerKw uint64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
	//
	//The number of blocks to use for the relative time lock in the pay-to-self
	//output of both commitment transactions.
	CsvDelay uint32 `protobuf:"varint,11,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
	// The total number of incoming HTLC's that the initiator will accept.
	MaxAcceptedHtlcs uint32 `protobuf:"varint,12,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"`
	// A bit-field which the initiator uses to specify proposed channel
	// behavior.
	ChannelFlags         uint32   `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelAcceptRequest) Descriptor

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

func (*ChannelAcceptRequest) GetChainHash

func (m *ChannelAcceptRequest) GetChainHash() []byte

func (*ChannelAcceptRequest) GetChannelFlags

func (m *ChannelAcceptRequest) GetChannelFlags() uint32

func (*ChannelAcceptRequest) GetChannelReserve

func (m *ChannelAcceptRequest) GetChannelReserve() uint64

func (*ChannelAcceptRequest) GetCsvDelay

func (m *ChannelAcceptRequest) GetCsvDelay() uint32

func (*ChannelAcceptRequest) GetDustLimit

func (m *ChannelAcceptRequest) GetDustLimit() uint64

func (*ChannelAcceptRequest) GetFeePerKw

func (m *ChannelAcceptRequest) GetFeePerKw() uint64

func (*ChannelAcceptRequest) GetFundingAmt

func (m *ChannelAcceptRequest) GetFundingAmt() uint64

func (*ChannelAcceptRequest) GetMaxAcceptedHtlcs

func (m *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32

func (*ChannelAcceptRequest) GetMaxValueInFlight

func (m *ChannelAcceptRequest) GetMaxValueInFlight() uint64

func (*ChannelAcceptRequest) GetMinHtlc

func (m *ChannelAcceptRequest) GetMinHtlc() uint64

func (*ChannelAcceptRequest) GetNodePubkey

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

func (*ChannelAcceptRequest) GetPendingChanId

func (m *ChannelAcceptRequest) GetPendingChanId() []byte

func (*ChannelAcceptRequest) GetPushAmt

func (m *ChannelAcceptRequest) GetPushAmt() uint64

func (*ChannelAcceptRequest) ProtoMessage

func (*ChannelAcceptRequest) ProtoMessage()

func (*ChannelAcceptRequest) Reset

func (m *ChannelAcceptRequest) Reset()

func (*ChannelAcceptRequest) String

func (m *ChannelAcceptRequest) String() string

func (*ChannelAcceptRequest) XXX_DiscardUnknown

func (m *ChannelAcceptRequest) XXX_DiscardUnknown()

func (*ChannelAcceptRequest) XXX_Marshal

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

func (*ChannelAcceptRequest) XXX_Merge

func (m *ChannelAcceptRequest) XXX_Merge(src proto.Message)

func (*ChannelAcceptRequest) XXX_Size

func (m *ChannelAcceptRequest) XXX_Size() int

func (*ChannelAcceptRequest) XXX_Unmarshal

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

type ChannelAcceptResponse

type ChannelAcceptResponse struct {
	// Whether or not the client accepts the channel.
	Accept bool `protobuf:"varint,1,opt,name=accept,proto3" json:"accept,omitempty"`
	// The pending channel id to which this response applies.
	PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//An optional error to send the initiating party to indicate why the channel
	//was rejected. This field *should not* contain sensitive information, it will
	//be sent to the initiating party. This field should only be set if accept is
	//false, the channel will be rejected if an error is set with accept=true
	//because the meaning of this response is ambiguous. Limited to 500
	//characters.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	//
	//The upfront shutdown address to use if the initiating peer supports option
	//upfront shutdown script (see ListPeers for the features supported). Note
	//that the channel open will fail if this value is set for a peer that does
	//not support this feature bit.
	UpfrontShutdown string `protobuf:"bytes,4,opt,name=upfront_shutdown,json=upfrontShutdown,proto3" json:"upfront_shutdown,omitempty"`
	//
	//The csv delay (in blocks) that we require for the remote party.
	CsvDelay uint32 `protobuf:"varint,5,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
	//
	//The reserve amount in satoshis that we require the remote peer to adhere to.
	//We require that the remote peer always have some reserve amount allocated to
	//them so that there is always a disincentive to broadcast old state (if they
	//hold 0 sats on their side of the channel, there is nothing to lose).
	ReserveSat uint64 `protobuf:"varint,6,opt,name=reserve_sat,json=reserveSat,proto3" json:"reserve_sat,omitempty"`
	//
	//The maximum amount of funds in millisatoshis that we allow the remote peer
	//to have in outstanding htlcs.
	InFlightMaxMsat uint64 `protobuf:"varint,7,opt,name=in_flight_max_msat,json=inFlightMaxMsat,proto3" json:"in_flight_max_msat,omitempty"`
	//
	//The maximum number of htlcs that the remote peer can offer us.
	MaxHtlcCount uint32 `protobuf:"varint,8,opt,name=max_htlc_count,json=maxHtlcCount,proto3" json:"max_htlc_count,omitempty"`
	//
	//The minimum value in millisatoshis for incoming htlcs on the channel.
	MinHtlcIn uint64 `protobuf:"varint,9,opt,name=min_htlc_in,json=minHtlcIn,proto3" json:"min_htlc_in,omitempty"`
	//
	//The number of confirmations we require before we consider the channel open.
	MinAcceptDepth       uint32   `protobuf:"varint,10,opt,name=min_accept_depth,json=minAcceptDepth,proto3" json:"min_accept_depth,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelAcceptResponse) Descriptor

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

func (*ChannelAcceptResponse) GetAccept

func (m *ChannelAcceptResponse) GetAccept() bool

func (*ChannelAcceptResponse) GetCsvDelay

func (m *ChannelAcceptResponse) GetCsvDelay() uint32

func (*ChannelAcceptResponse) GetError

func (m *ChannelAcceptResponse) GetError() string

func (*ChannelAcceptResponse) GetInFlightMaxMsat

func (m *ChannelAcceptResponse) GetInFlightMaxMsat() uint64

func (*ChannelAcceptResponse) GetMaxHtlcCount

func (m *ChannelAcceptResponse) GetMaxHtlcCount() uint32

func (*ChannelAcceptResponse) GetMinAcceptDepth

func (m *ChannelAcceptResponse) GetMinAcceptDepth() uint32

func (*ChannelAcceptResponse) GetMinHtlcIn

func (m *ChannelAcceptResponse) GetMinHtlcIn() uint64

func (*ChannelAcceptResponse) GetPendingChanId

func (m *ChannelAcceptResponse) GetPendingChanId() []byte

func (*ChannelAcceptResponse) GetReserveSat

func (m *ChannelAcceptResponse) GetReserveSat() uint64

func (*ChannelAcceptResponse) GetUpfrontShutdown

func (m *ChannelAcceptResponse) GetUpfrontShutdown() string

func (*ChannelAcceptResponse) ProtoMessage

func (*ChannelAcceptResponse) ProtoMessage()

func (*ChannelAcceptResponse) Reset

func (m *ChannelAcceptResponse) Reset()

func (*ChannelAcceptResponse) String

func (m *ChannelAcceptResponse) String() string

func (*ChannelAcceptResponse) XXX_DiscardUnknown

func (m *ChannelAcceptResponse) XXX_DiscardUnknown()

func (*ChannelAcceptResponse) XXX_Marshal

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

func (*ChannelAcceptResponse) XXX_Merge

func (m *ChannelAcceptResponse) XXX_Merge(src proto.Message)

func (*ChannelAcceptResponse) XXX_Size

func (m *ChannelAcceptResponse) XXX_Size() int

func (*ChannelAcceptResponse) XXX_Unmarshal

func (m *ChannelAcceptResponse) 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,json=chanPoint,proto3" json:"chan_point,omitempty"`
	//
	//Is an encrypted single-chan backup. this can be passed to
	//RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in
	//order to trigger the recovery protocol.
	ChanBackup           []byte   `protobuf:"bytes,2,opt,name=chan_backup,json=chanBackup,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 (m *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 (m *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,json=chanBackups,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 (m *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 (m *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 {
	// Deprecated. Sum of channels balances denominated in satoshis
	Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` // Deprecated: Do not use.
	// Deprecated. Sum of channels pending balances denominated in satoshis
	PendingOpenBalance int64 `protobuf:"varint,2,opt,name=pending_open_balance,json=pendingOpenBalance,proto3" json:"pending_open_balance,omitempty"` // Deprecated: Do not use.
	// Sum of channels local balances.
	LocalBalance *Amount `protobuf:"bytes,3,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"`
	// Sum of channels remote balances.
	RemoteBalance *Amount `protobuf:"bytes,4,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
	// Sum of channels local unsettled balances.
	UnsettledLocalBalance *Amount `` /* 126-byte string literal not displayed */
	// Sum of channels remote unsettled balances.
	UnsettledRemoteBalance *Amount `` /* 129-byte string literal not displayed */
	// Sum of channels pending local balances.
	PendingOpenLocalBalance *Amount `` /* 134-byte string literal not displayed */
	// Sum of channels pending remote balances.
	PendingOpenRemoteBalance *Amount  `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

func (*ChannelBalanceResponse) Descriptor

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

func (*ChannelBalanceResponse) GetBalance deprecated

func (m *ChannelBalanceResponse) GetBalance() int64

Deprecated: Do not use.

func (*ChannelBalanceResponse) GetLocalBalance

func (m *ChannelBalanceResponse) GetLocalBalance() *Amount

func (*ChannelBalanceResponse) GetPendingOpenBalance deprecated

func (m *ChannelBalanceResponse) GetPendingOpenBalance() int64

Deprecated: Do not use.

func (*ChannelBalanceResponse) GetPendingOpenLocalBalance

func (m *ChannelBalanceResponse) GetPendingOpenLocalBalance() *Amount

func (*ChannelBalanceResponse) GetPendingOpenRemoteBalance

func (m *ChannelBalanceResponse) GetPendingOpenRemoteBalance() *Amount

func (*ChannelBalanceResponse) GetRemoteBalance

func (m *ChannelBalanceResponse) GetRemoteBalance() *Amount

func (*ChannelBalanceResponse) GetUnsettledLocalBalance

func (m *ChannelBalanceResponse) GetUnsettledLocalBalance() *Amount

func (*ChannelBalanceResponse) GetUnsettledRemoteBalance

func (m *ChannelBalanceResponse) GetUnsettledRemoteBalance() *Amount

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 (m *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,json=channelPoint,proto3" json:"channel_point,omitempty"`
	//  The unique channel ID for the channel.
	ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,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,json=chainHash,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,json=closingTxHash,proto3" json:"closing_tx_hash,omitempty"`
	// Public key of the remote peer that we formerly had a channel with.
	RemotePubkey []byte `protobuf:"bytes,5,opt,name=remote_pubkey,json=remotePubkey,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,json=closeHeight,proto3" json:"close_height,omitempty"`
	// Settled balance at the time of channel closure
	SettledBalance int64 `protobuf:"varint,8,opt,name=settled_balance,json=settledBalance,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,json=timeLockedBalance,proto3" json:"time_locked_balance,omitempty"`
	// Details on how the channel was closed.
	CloseType ChannelCloseSummary_ClosureType `` /* 133-byte string literal not displayed */
	//
	//Open initiator is the party that initiated opening the channel. Note that
	//this value may be unknown if the channel was closed before we migrated to
	//store open channel information after close.
	OpenInitiator Initiator `protobuf:"varint,11,opt,name=open_initiator,json=openInitiator,proto3,enum=lnrpc.Initiator" json:"open_initiator,omitempty"`
	//
	//Close initiator indicates which party initiated the close. This value will
	//be unknown for channels that were cooperatively closed before we started
	//tracking cooperative close initiators. Note that this indicates which party
	//initiated a close, and it is possible for both to initiate cooperative or
	//force closes, although only one party's close will be confirmed on chain.
	CloseInitiator       Initiator     `` /* 126-byte string literal not displayed */
	Resolutions          []*Resolution `protobuf:"bytes,13,rep,name=resolutions,proto3" json:"resolutions,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) GetCloseInitiator

func (m *ChannelCloseSummary) GetCloseInitiator() Initiator

func (*ChannelCloseSummary) GetCloseType

func (*ChannelCloseSummary) GetClosingTxHash

func (m *ChannelCloseSummary) GetClosingTxHash() string

func (*ChannelCloseSummary) GetOpenInitiator

func (m *ChannelCloseSummary) GetOpenInitiator() Initiator

func (*ChannelCloseSummary) GetRemotePubkey

func (m *ChannelCloseSummary) GetRemotePubkey() []byte

func (*ChannelCloseSummary) GetResolutions

func (m *ChannelCloseSummary) GetResolutions() []*Resolution

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 (m *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,json=closingTxid,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 (m *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 ChannelConstraints

type ChannelConstraints struct {
	//
	//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,1,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
	// The minimum satoshis this node is required to reserve in its balance.
	ChanReserveSat uint64 `protobuf:"varint,2,opt,name=chan_reserve_sat,json=chanReserveSat,proto3" json:"chan_reserve_sat,omitempty"`
	// The dust limit (in satoshis) of the initiator's commitment tx.
	DustLimitSat uint64 `protobuf:"varint,3,opt,name=dust_limit_sat,json=dustLimitSat,proto3" json:"dust_limit_sat,omitempty"`
	// The maximum amount of coins in millisatoshis that can be pending in this
	// channel.
	MaxPendingAmtMsat uint64 `protobuf:"varint,4,opt,name=max_pending_amt_msat,json=maxPendingAmtMsat,proto3" json:"max_pending_amt_msat,omitempty"`
	// The smallest HTLC in millisatoshis that the initiator will accept.
	MinHtlcMsat uint64 `protobuf:"varint,5,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
	// The total number of incoming HTLC's that the initiator will accept.
	MaxAcceptedHtlcs     uint32   `protobuf:"varint,6,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelConstraints) Descriptor

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

func (*ChannelConstraints) GetChanReserveSat

func (m *ChannelConstraints) GetChanReserveSat() uint64

func (*ChannelConstraints) GetCsvDelay

func (m *ChannelConstraints) GetCsvDelay() uint32

func (*ChannelConstraints) GetDustLimitSat

func (m *ChannelConstraints) GetDustLimitSat() uint64

func (*ChannelConstraints) GetMaxAcceptedHtlcs

func (m *ChannelConstraints) GetMaxAcceptedHtlcs() uint32

func (*ChannelConstraints) GetMaxPendingAmtMsat

func (m *ChannelConstraints) GetMaxPendingAmtMsat() uint64

func (*ChannelConstraints) GetMinHtlcMsat

func (m *ChannelConstraints) GetMinHtlcMsat() uint64

func (*ChannelConstraints) ProtoMessage

func (*ChannelConstraints) ProtoMessage()

func (*ChannelConstraints) Reset

func (m *ChannelConstraints) Reset()

func (*ChannelConstraints) String

func (m *ChannelConstraints) String() string

func (*ChannelConstraints) XXX_DiscardUnknown

func (m *ChannelConstraints) XXX_DiscardUnknown()

func (*ChannelConstraints) XXX_Marshal

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

func (*ChannelConstraints) XXX_Merge

func (m *ChannelConstraints) XXX_Merge(src proto.Message)

func (*ChannelConstraints) XXX_Size

func (m *ChannelConstraints) XXX_Size() int

func (*ChannelConstraints) XXX_Unmarshal

func (m *ChannelConstraints) 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,json=channelId,proto3" json:"channel_id,omitempty"`
	ChanPoint            string         `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	LastUpdate           uint32         `protobuf:"varint,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` // Deprecated: Do not use.
	Node1Pub             []byte         `protobuf:"bytes,4,opt,name=node1_pub,json=node1Pub,proto3" json:"node1_pub,omitempty"`
	Node2Pub             []byte         `protobuf:"bytes,5,opt,name=node2_pub,json=node2Pub,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,json=node1Policy,proto3" json:"node1_policy,omitempty"`
	Node2Policy          *RoutingPolicy `protobuf:"bytes,8,opt,name=node2_policy,json=node2Policy,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 deprecated

func (m *ChannelEdge) GetLastUpdate() uint32

Deprecated: Do not use.

func (*ChannelEdge) GetNode1Policy

func (m *ChannelEdge) GetNode1Policy() *RoutingPolicy

func (*ChannelEdge) GetNode1Pub

func (m *ChannelEdge) GetNode1Pub() []byte

func (*ChannelEdge) GetNode2Policy

func (m *ChannelEdge) GetNode2Policy() *RoutingPolicy

func (*ChannelEdge) GetNode2Pub

func (m *ChannelEdge) GetNode2Pub() []byte

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 (m *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 (m *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 (m *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
	//	*ChannelEventUpdate_PendingOpenChannel
	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) GetPendingOpenChannel

func (m *ChannelEventUpdate) GetPendingOpenChannel() *PendingUpdate

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 (m *ChannelEventUpdate) XXX_Merge(src proto.Message)

func (*ChannelEventUpdate) XXX_OneofWrappers

func (*ChannelEventUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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,json=activeChannel,proto3,oneof"`
}

type ChannelEventUpdate_ClosedChannel

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

type ChannelEventUpdate_InactiveChannel

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

type ChannelEventUpdate_OpenChannel

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

type ChannelEventUpdate_PendingOpenChannel

type ChannelEventUpdate_PendingOpenChannel struct {
	PendingOpenChannel *PendingUpdate `protobuf:"bytes,6,opt,name=pending_open_channel,json=pendingOpenChannel,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
	ChannelEventUpdate_PENDING_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 4
)

func (ChannelEventUpdate_UpdateType) EnumDescriptor

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

func (ChannelEventUpdate_UpdateType) String

type ChannelFeeReport

type ChannelFeeReport struct {
	// The short channel id that this fee report belongs to.
	ChanId uint64 `protobuf:"varint,5,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// The channel that this fee report belongs to.
	ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	// The base fee charged regardless of the number of milli-satoshis sent.
	BaseFeeMsat int64 `protobuf:"varint,2,opt,name=base_fee_msat,json=baseFeeMsat,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,json=feePerMil,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,json=feeRate,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) GetChanId

func (m *ChannelFeeReport) GetChanId() uint64

func (*ChannelFeeReport) GetChannelPoint

func (m *ChannelFeeReport) GetChannelPoint() 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 (m *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 (m *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,json=includeUnannounced,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 (m *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,json=channelPoint,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 (m *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,json=outputIndex,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 (m *ChannelPoint) XXX_Merge(src proto.Message)

func (*ChannelPoint) XXX_OneofWrappers

func (*ChannelPoint) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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,json=fundingTxidBytes,proto3,oneof"`
}

type ChannelPoint_FundingTxidStr

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

type ChannelUpdate

type ChannelUpdate struct {
	//
	//The signature that validates the announced data and proves the ownership
	//of node id.
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	//
	//The target chain that this channel was opened within. This value
	//should be the genesis hash of the target chain. Along with the short
	//channel ID, this uniquely identifies the channel globally in a
	//blockchain.
	ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
	//
	//The unique description of the funding transaction.
	ChanId uint64 `protobuf:"varint,3,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	//
	//A timestamp that allows ordering in the case of multiple announcements.
	//We should ignore the message if timestamp is not greater than the
	//last-received.
	Timestamp uint32 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	//
	//The bitfield that describes whether optional fields are present in this
	//update. Currently, the least-significant bit must be set to 1 if the
	//optional field MaxHtlc is present.
	MessageFlags uint32 `protobuf:"varint,10,opt,name=message_flags,json=messageFlags,proto3" json:"message_flags,omitempty"`
	//
	//The bitfield that describes additional meta-data concerning how the
	//update is to be interpreted. Currently, the least-significant bit must be
	//set to 0 if the creating node corresponds to the first node in the
	//previously sent channel announcement and 1 otherwise. If the second bit
	//is set, then the channel is set to be disabled.
	ChannelFlags uint32 `protobuf:"varint,5,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
	//
	//The minimum number of blocks this node requires to be added to the expiry
	//of HTLCs. This is a security parameter determined by the node operator.
	//This value represents the required gap between the time locks of the
	//incoming and outgoing HTLC's set to this node.
	TimeLockDelta uint32 `protobuf:"varint,6,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
	//
	//The minimum HTLC value which will be accepted.
	HtlcMinimumMsat uint64 `protobuf:"varint,7,opt,name=htlc_minimum_msat,json=htlcMinimumMsat,proto3" json:"htlc_minimum_msat,omitempty"`
	//
	//The base fee that must be used for incoming HTLC's to this particular
	//channel. This value will be tacked onto the required for a payment
	//independent of the size of the payment.
	BaseFee uint32 `protobuf:"varint,8,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	//
	//The fee rate that will be charged per millionth of a satoshi.
	FeeRate uint32 `protobuf:"varint,9,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	//
	//The maximum HTLC value which will be accepted.
	HtlcMaximumMsat uint64 `protobuf:"varint,11,opt,name=htlc_maximum_msat,json=htlcMaximumMsat,proto3" json:"htlc_maximum_msat,omitempty"`
	//
	//The set of data that was appended to this message, some of which we may
	//not actually know how to iterate or parse. By holding onto this data, we
	//ensure that we're able to properly validate the set of signatures that
	//cover these new fields, and ensure we're able to make upgrades to the
	//network in a forwards compatible manner.
	ExtraOpaqueData      []byte   `protobuf:"bytes,12,opt,name=extra_opaque_data,json=extraOpaqueData,proto3" json:"extra_opaque_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelUpdate) Descriptor

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

func (*ChannelUpdate) GetBaseFee

func (m *ChannelUpdate) GetBaseFee() uint32

func (*ChannelUpdate) GetChainHash

func (m *ChannelUpdate) GetChainHash() []byte

func (*ChannelUpdate) GetChanId

func (m *ChannelUpdate) GetChanId() uint64

func (*ChannelUpdate) GetChannelFlags

func (m *ChannelUpdate) GetChannelFlags() uint32

func (*ChannelUpdate) GetExtraOpaqueData

func (m *ChannelUpdate) GetExtraOpaqueData() []byte

func (*ChannelUpdate) GetFeeRate

func (m *ChannelUpdate) GetFeeRate() uint32

func (*ChannelUpdate) GetHtlcMaximumMsat

func (m *ChannelUpdate) GetHtlcMaximumMsat() uint64

func (*ChannelUpdate) GetHtlcMinimumMsat

func (m *ChannelUpdate) GetHtlcMinimumMsat() uint64

func (*ChannelUpdate) GetMessageFlags

func (m *ChannelUpdate) GetMessageFlags() uint32

func (*ChannelUpdate) GetSignature

func (m *ChannelUpdate) GetSignature() []byte

func (*ChannelUpdate) GetTimeLockDelta

func (m *ChannelUpdate) GetTimeLockDelta() uint32

func (*ChannelUpdate) GetTimestamp

func (m *ChannelUpdate) GetTimestamp() uint32

func (*ChannelUpdate) ProtoMessage

func (*ChannelUpdate) ProtoMessage()

func (*ChannelUpdate) Reset

func (m *ChannelUpdate) Reset()

func (*ChannelUpdate) String

func (m *ChannelUpdate) String() string

func (*ChannelUpdate) XXX_DiscardUnknown

func (m *ChannelUpdate) XXX_DiscardUnknown()

func (*ChannelUpdate) XXX_Marshal

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

func (*ChannelUpdate) XXX_Merge

func (m *ChannelUpdate) XXX_Merge(src proto.Message)

func (*ChannelUpdate) XXX_Size

func (m *ChannelUpdate) XXX_Size() int

func (*ChannelUpdate) XXX_Unmarshal

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

type CheckPasswordRequest

type CheckPasswordRequest struct {
	//
	//current_password should be the current valid passphrase used to unlock the daemon.
	WalletPassphrase string `protobuf:"bytes,1,opt,name=wallet_passphrase,json=walletPassphrase,proto3" json:"wallet_passphrase,omitempty"`
	//
	//Binary form of current_passphrase, if specified will override current_passphrase.
	//When using JSON, this field must be encoded as base64.
	WalletPasswordBin []byte `protobuf:"bytes,2,opt,name=wallet_password_bin,json=walletPasswordBin,proto3" json:"wallet_password_bin,omitempty"`
	//wallet_name is optional, if specified will override default wallet.db
	WalletName           string   `protobuf:"bytes,3,opt,name=wallet_name,json=walletName,proto3" json:"wallet_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckPasswordRequest) Descriptor

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

func (*CheckPasswordRequest) GetWalletName

func (m *CheckPasswordRequest) GetWalletName() string

func (*CheckPasswordRequest) GetWalletPassphrase

func (m *CheckPasswordRequest) GetWalletPassphrase() string

func (*CheckPasswordRequest) GetWalletPasswordBin

func (m *CheckPasswordRequest) GetWalletPasswordBin() []byte

func (*CheckPasswordRequest) ProtoMessage

func (*CheckPasswordRequest) ProtoMessage()

func (*CheckPasswordRequest) Reset

func (m *CheckPasswordRequest) Reset()

func (*CheckPasswordRequest) String

func (m *CheckPasswordRequest) String() string

func (*CheckPasswordRequest) XXX_DiscardUnknown

func (m *CheckPasswordRequest) XXX_DiscardUnknown()

func (*CheckPasswordRequest) XXX_Marshal

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

func (*CheckPasswordRequest) XXX_Merge

func (m *CheckPasswordRequest) XXX_Merge(src proto.Message)

func (*CheckPasswordRequest) XXX_Size

func (m *CheckPasswordRequest) XXX_Size() int

func (*CheckPasswordRequest) XXX_Unmarshal

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

type CheckPasswordResponse

type CheckPasswordResponse struct {
	ValidPassphrase      bool     `protobuf:"varint,1,opt,name=valid_passphrase,json=validPassphrase,proto3" json:"valid_passphrase,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckPasswordResponse) Descriptor

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

func (*CheckPasswordResponse) GetValidPassphrase

func (m *CheckPasswordResponse) GetValidPassphrase() bool

func (*CheckPasswordResponse) ProtoMessage

func (*CheckPasswordResponse) ProtoMessage()

func (*CheckPasswordResponse) Reset

func (m *CheckPasswordResponse) Reset()

func (*CheckPasswordResponse) String

func (m *CheckPasswordResponse) String() string

func (*CheckPasswordResponse) XXX_DiscardUnknown

func (m *CheckPasswordResponse) XXX_DiscardUnknown()

func (*CheckPasswordResponse) XXX_Marshal

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

func (*CheckPasswordResponse) XXX_Merge

func (m *CheckPasswordResponse) XXX_Merge(src proto.Message)

func (*CheckPasswordResponse) XXX_Size

func (m *CheckPasswordResponse) XXX_Size() int

func (*CheckPasswordResponse) XXX_Unmarshal

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

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"`
	//
	//An optional address to send funds to in the case of a cooperative close.
	//If the channel was opened with an upfront shutdown script and this field
	//is set, the request to close will fail because the channel must pay out
	//to the upfront shutdown addresss.
	DeliveryAddress      string   `protobuf:"bytes,5,opt,name=delivery_address,json=deliveryAddress,proto3" json:"delivery_address,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) GetDeliveryAddress

func (m *CloseChannelRequest) GetDeliveryAddress() string

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 (m *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 (m *CloseStatusUpdate) XXX_Merge(src proto.Message)

func (*CloseStatusUpdate) XXX_OneofWrappers

func (*CloseStatusUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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,json=chanClose,proto3,oneof"`
}

type CloseStatusUpdate_ClosePending

type CloseStatusUpdate_ClosePending struct {
	ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,json=closePending,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 (m *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 (m *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 (m *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 CommitmentType

type CommitmentType int32
const (
	//
	//A channel using the legacy commitment format having tweaked to_remote
	//keys.
	CommitmentType_LEGACY CommitmentType = 0
	//
	//A channel that uses the modern commitment format where the key in the
	//output of the remote party does not change each state. This makes back
	//up and recovery easier as when the channel is closed, the funds go
	//directly to that key.
	CommitmentType_STATIC_REMOTE_KEY CommitmentType = 1
	//
	//A channel that uses a commitment format that has anchor outputs on the
	//commitments, allowing fee bumping after a force close transaction has
	//been broadcast.
	CommitmentType_ANCHORS CommitmentType = 2
	//
	//Returned when the commitment type isn't known or unavailable.
	CommitmentType_UNKNOWN_COMMITMENT_TYPE CommitmentType = 999
)

func (CommitmentType) EnumDescriptor

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

func (CommitmentType) String

func (x CommitmentType) String() string

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 (m *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"`
	//
	//The connection timeout value (in seconds) for this request. It won't affect
	//other requests.
	Timeout              uint64   `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,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) GetTimeout

func (m *ConnectPeerRequest) GetTimeout() uint64

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 (m *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 (m *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 CrashRequest

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

func (*CrashRequest) Descriptor

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

func (*CrashRequest) ProtoMessage

func (*CrashRequest) ProtoMessage()

func (*CrashRequest) Reset

func (m *CrashRequest) Reset()

func (*CrashRequest) String

func (m *CrashRequest) String() string

func (*CrashRequest) XXX_DiscardUnknown

func (m *CrashRequest) XXX_DiscardUnknown()

func (*CrashRequest) XXX_Marshal

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

func (*CrashRequest) XXX_Merge

func (m *CrashRequest) XXX_Merge(src proto.Message)

func (*CrashRequest) XXX_Size

func (m *CrashRequest) XXX_Size() int

func (*CrashRequest) XXX_Unmarshal

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

type CrashResponse

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

func (*CrashResponse) Descriptor

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

func (*CrashResponse) ProtoMessage

func (*CrashResponse) ProtoMessage()

func (*CrashResponse) Reset

func (m *CrashResponse) Reset()

func (*CrashResponse) String

func (m *CrashResponse) String() string

func (*CrashResponse) XXX_DiscardUnknown

func (m *CrashResponse) XXX_DiscardUnknown()

func (*CrashResponse) XXX_Marshal

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

func (*CrashResponse) XXX_Merge

func (m *CrashResponse) XXX_Merge(src proto.Message)

func (*CrashResponse) XXX_Size

func (m *CrashResponse) XXX_Size() int

func (*CrashResponse) XXX_Unmarshal

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

type CreateTransactionRequest

type CreateTransactionRequest struct {
	// Address which we will be paying to
	ToAddress string `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// Number of PKT to send
	Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// Addresses which can be selected for sourcing funds from
	FromAddress []string `protobuf:"bytes,3,rep,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	// Output an electrum format transaction
	ElectrumFormat       bool     `protobuf:"varint,4,opt,name=electrum_format,json=electrumFormat,proto3" json:"electrum_format,omitempty"`
	ChangeAddress        string   `protobuf:"bytes,5,opt,name=change_address,json=changeAddress,proto3" json:"change_address,omitempty"`
	InputMinHeight       int32    `protobuf:"varint,6,opt,name=input_min_height,json=inputMinHeight,proto3" json:"input_min_height,omitempty"`
	MinConf              int32    `protobuf:"varint,7,opt,name=min_conf,json=minConf,proto3" json:"min_conf,omitempty"`
	Vote                 bool     `protobuf:"varint,8,opt,name=vote,proto3" json:"vote,omitempty"`
	MaxInputs            int32    `protobuf:"varint,9,opt,name=max_inputs,json=maxInputs,proto3" json:"max_inputs,omitempty"`
	Autolock             string   `protobuf:"bytes,10,opt,name=autolock,proto3" json:"autolock,omitempty"`
	Sign                 bool     `protobuf:"varint,11,opt,name=sign,proto3" json:"sign,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateTransactionRequest) Descriptor

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

func (*CreateTransactionRequest) GetAmount

func (m *CreateTransactionRequest) GetAmount() float64

func (*CreateTransactionRequest) GetAutolock

func (m *CreateTransactionRequest) GetAutolock() string

func (*CreateTransactionRequest) GetChangeAddress

func (m *CreateTransactionRequest) GetChangeAddress() string

func (*CreateTransactionRequest) GetElectrumFormat

func (m *CreateTransactionRequest) GetElectrumFormat() bool

func (*CreateTransactionRequest) GetFromAddress

func (m *CreateTransactionRequest) GetFromAddress() []string

func (*CreateTransactionRequest) GetInputMinHeight

func (m *CreateTransactionRequest) GetInputMinHeight() int32

func (*CreateTransactionRequest) GetMaxInputs

func (m *CreateTransactionRequest) GetMaxInputs() int32

func (*CreateTransactionRequest) GetMinConf

func (m *CreateTransactionRequest) GetMinConf() int32

func (*CreateTransactionRequest) GetSign

func (m *CreateTransactionRequest) GetSign() bool

func (*CreateTransactionRequest) GetToAddress

func (m *CreateTransactionRequest) GetToAddress() string

func (*CreateTransactionRequest) GetVote

func (m *CreateTransactionRequest) GetVote() bool

func (*CreateTransactionRequest) ProtoMessage

func (*CreateTransactionRequest) ProtoMessage()

func (*CreateTransactionRequest) Reset

func (m *CreateTransactionRequest) Reset()

func (*CreateTransactionRequest) String

func (m *CreateTransactionRequest) String() string

func (*CreateTransactionRequest) XXX_DiscardUnknown

func (m *CreateTransactionRequest) XXX_DiscardUnknown()

func (*CreateTransactionRequest) XXX_Marshal

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

func (*CreateTransactionRequest) XXX_Merge

func (m *CreateTransactionRequest) XXX_Merge(src proto.Message)

func (*CreateTransactionRequest) XXX_Size

func (m *CreateTransactionRequest) XXX_Size() int

func (*CreateTransactionRequest) XXX_Unmarshal

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

type CreateTransactionResponse

type CreateTransactionResponse struct {
	Transaction          []byte   `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateTransactionResponse) Descriptor

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

func (*CreateTransactionResponse) GetTransaction

func (m *CreateTransactionResponse) GetTransaction() []byte

func (*CreateTransactionResponse) ProtoMessage

func (*CreateTransactionResponse) ProtoMessage()

func (*CreateTransactionResponse) Reset

func (m *CreateTransactionResponse) Reset()

func (*CreateTransactionResponse) String

func (m *CreateTransactionResponse) String() string

func (*CreateTransactionResponse) XXX_DiscardUnknown

func (m *CreateTransactionResponse) XXX_DiscardUnknown()

func (*CreateTransactionResponse) XXX_Marshal

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

func (*CreateTransactionResponse) XXX_Merge

func (m *CreateTransactionResponse) XXX_Merge(src proto.Message)

func (*CreateTransactionResponse) XXX_Size

func (m *CreateTransactionResponse) XXX_Size() int

func (*CreateTransactionResponse) XXX_Unmarshal

func (m *CreateTransactionResponse) 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 (m *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,json=subSystems,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 (m *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 DecodeRawTransactionRequest

type DecodeRawTransactionRequest struct {
	HexTx                string   `protobuf:"bytes,1,opt,name=hex_tx,json=hexTx,proto3" json:"hex_tx,omitempty"`
	VinExtra             bool     `protobuf:"varint,2,opt,name=vin_extra,json=vinExtra,proto3" json:"vin_extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecodeRawTransactionRequest) Descriptor

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

func (*DecodeRawTransactionRequest) GetHexTx

func (m *DecodeRawTransactionRequest) GetHexTx() string

func (*DecodeRawTransactionRequest) GetVinExtra

func (m *DecodeRawTransactionRequest) GetVinExtra() bool

func (*DecodeRawTransactionRequest) ProtoMessage

func (*DecodeRawTransactionRequest) ProtoMessage()

func (*DecodeRawTransactionRequest) Reset

func (m *DecodeRawTransactionRequest) Reset()

func (*DecodeRawTransactionRequest) String

func (m *DecodeRawTransactionRequest) String() string

func (*DecodeRawTransactionRequest) XXX_DiscardUnknown

func (m *DecodeRawTransactionRequest) XXX_DiscardUnknown()

func (*DecodeRawTransactionRequest) XXX_Marshal

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

func (*DecodeRawTransactionRequest) XXX_Merge

func (m *DecodeRawTransactionRequest) XXX_Merge(src proto.Message)

func (*DecodeRawTransactionRequest) XXX_Size

func (m *DecodeRawTransactionRequest) XXX_Size() int

func (*DecodeRawTransactionRequest) XXX_Unmarshal

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

type DecodeRawTransactionResponse

type DecodeRawTransactionResponse struct {
	Txid                 string        `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Version              int32         `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Locktime             uint32        `protobuf:"varint,3,opt,name=locktime,proto3" json:"locktime,omitempty"`
	Sfee                 string        `protobuf:"bytes,4,opt,name=sfee,proto3" json:"sfee,omitempty"`
	Size                 int32         `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Vsize                int32         `protobuf:"varint,6,opt,name=vsize,proto3" json:"vsize,omitempty"`
	Vin                  []*VinPrevOut `protobuf:"bytes,7,rep,name=vin,proto3" json:"vin,omitempty"`
	Vout                 []*Vout       `protobuf:"bytes,8,rep,name=vout,proto3" json:"vout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*DecodeRawTransactionResponse) Descriptor

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

func (*DecodeRawTransactionResponse) GetLocktime

func (m *DecodeRawTransactionResponse) GetLocktime() uint32

func (*DecodeRawTransactionResponse) GetSfee

func (m *DecodeRawTransactionResponse) GetSfee() string

func (*DecodeRawTransactionResponse) GetSize

func (m *DecodeRawTransactionResponse) GetSize() int32

func (*DecodeRawTransactionResponse) GetTxid

func (m *DecodeRawTransactionResponse) GetTxid() string

func (*DecodeRawTransactionResponse) GetVersion

func (m *DecodeRawTransactionResponse) GetVersion() int32

func (*DecodeRawTransactionResponse) GetVin

func (*DecodeRawTransactionResponse) GetVout

func (m *DecodeRawTransactionResponse) GetVout() []*Vout

func (*DecodeRawTransactionResponse) GetVsize

func (m *DecodeRawTransactionResponse) GetVsize() int32

func (*DecodeRawTransactionResponse) ProtoMessage

func (*DecodeRawTransactionResponse) ProtoMessage()

func (*DecodeRawTransactionResponse) Reset

func (m *DecodeRawTransactionResponse) Reset()

func (*DecodeRawTransactionResponse) String

func (*DecodeRawTransactionResponse) XXX_DiscardUnknown

func (m *DecodeRawTransactionResponse) XXX_DiscardUnknown()

func (*DecodeRawTransactionResponse) XXX_Marshal

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

func (*DecodeRawTransactionResponse) XXX_Merge

func (m *DecodeRawTransactionResponse) XXX_Merge(src proto.Message)

func (*DecodeRawTransactionResponse) XXX_Size

func (m *DecodeRawTransactionResponse) XXX_Size() int

func (*DecodeRawTransactionResponse) XXX_Unmarshal

func (m *DecodeRawTransactionResponse) 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 (m *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 (m *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               []byte   `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 (*DisconnectPeerRequest) Descriptor

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

func (*DisconnectPeerRequest) GetPubKey

func (m *DisconnectPeerRequest) GetPubKey() []byte

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 (m *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 (m *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 DumpPrivKeyRequest

type DumpPrivKeyRequest struct {
	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 (*DumpPrivKeyRequest) Descriptor

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

func (*DumpPrivKeyRequest) GetAddress

func (m *DumpPrivKeyRequest) GetAddress() string

func (*DumpPrivKeyRequest) ProtoMessage

func (*DumpPrivKeyRequest) ProtoMessage()

func (*DumpPrivKeyRequest) Reset

func (m *DumpPrivKeyRequest) Reset()

func (*DumpPrivKeyRequest) String

func (m *DumpPrivKeyRequest) String() string

func (*DumpPrivKeyRequest) XXX_DiscardUnknown

func (m *DumpPrivKeyRequest) XXX_DiscardUnknown()

func (*DumpPrivKeyRequest) XXX_Marshal

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

func (*DumpPrivKeyRequest) XXX_Merge

func (m *DumpPrivKeyRequest) XXX_Merge(src proto.Message)

func (*DumpPrivKeyRequest) XXX_Size

func (m *DumpPrivKeyRequest) XXX_Size() int

func (*DumpPrivKeyRequest) XXX_Unmarshal

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

type DumpPrivKeyResponse

type DumpPrivKeyResponse struct {
	PrivateKey           string   `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DumpPrivKeyResponse) Descriptor

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

func (*DumpPrivKeyResponse) GetPrivateKey

func (m *DumpPrivKeyResponse) GetPrivateKey() string

func (*DumpPrivKeyResponse) ProtoMessage

func (*DumpPrivKeyResponse) ProtoMessage()

func (*DumpPrivKeyResponse) Reset

func (m *DumpPrivKeyResponse) Reset()

func (*DumpPrivKeyResponse) String

func (m *DumpPrivKeyResponse) String() string

func (*DumpPrivKeyResponse) XXX_DiscardUnknown

func (m *DumpPrivKeyResponse) XXX_DiscardUnknown()

func (*DumpPrivKeyResponse) XXX_Marshal

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

func (*DumpPrivKeyResponse) XXX_Merge

func (m *DumpPrivKeyResponse) XXX_Merge(src proto.Message)

func (*DumpPrivKeyResponse) XXX_Size

func (m *DumpPrivKeyResponse) XXX_Size() int

func (*DumpPrivKeyResponse) XXX_Unmarshal

func (m *DumpPrivKeyResponse) 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 (m *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 (m *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,json=feeSat,proto3" json:"fee_sat,omitempty"`
	// The fee rate in satoshi/byte.
	FeerateSatPerByte    int64    `protobuf:"varint,2,opt,name=feerate_sat_per_byte,json=feerateSatPerByte,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 (m *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 channel 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 (m *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 Failure

type Failure struct {
	// Failure code as defined in the Lightning spec
	Code Failure_FailureCode `protobuf:"varint,1,opt,name=code,proto3,enum=lnrpc.Failure_FailureCode" json:"code,omitempty"`
	// An optional channel update message.
	ChannelUpdate *ChannelUpdate `protobuf:"bytes,3,opt,name=channel_update,json=channelUpdate,proto3" json:"channel_update,omitempty"`
	// A failure type-dependent htlc value.
	HtlcMsat uint64 `protobuf:"varint,4,opt,name=htlc_msat,json=htlcMsat,proto3" json:"htlc_msat,omitempty"`
	// The sha256 sum of the onion payload.
	OnionSha_256 []byte `protobuf:"bytes,5,opt,name=onion_sha_256,json=onionSha256,proto3" json:"onion_sha_256,omitempty"`
	// A failure type-dependent cltv expiry value.
	CltvExpiry uint32 `protobuf:"varint,6,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
	// A failure type-dependent flags value.
	Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"`
	//
	//The position in the path of the intermediate or final node that generated
	//the failure message. Position zero is the sender node.
	FailureSourceIndex uint32 `protobuf:"varint,8,opt,name=failure_source_index,json=failureSourceIndex,proto3" json:"failure_source_index,omitempty"`
	// A failure type-dependent block height.
	Height               uint32   `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Failure) Descriptor

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

func (*Failure) GetChannelUpdate

func (m *Failure) GetChannelUpdate() *ChannelUpdate

func (*Failure) GetCltvExpiry

func (m *Failure) GetCltvExpiry() uint32

func (*Failure) GetCode

func (m *Failure) GetCode() Failure_FailureCode

func (*Failure) GetFailureSourceIndex

func (m *Failure) GetFailureSourceIndex() uint32

func (*Failure) GetFlags

func (m *Failure) GetFlags() uint32

func (*Failure) GetHeight

func (m *Failure) GetHeight() uint32

func (*Failure) GetHtlcMsat

func (m *Failure) GetHtlcMsat() uint64

func (*Failure) GetOnionSha_256

func (m *Failure) GetOnionSha_256() []byte

func (*Failure) ProtoMessage

func (*Failure) ProtoMessage()

func (*Failure) Reset

func (m *Failure) Reset()

func (*Failure) String

func (m *Failure) String() string

func (*Failure) XXX_DiscardUnknown

func (m *Failure) XXX_DiscardUnknown()

func (*Failure) XXX_Marshal

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

func (*Failure) XXX_Merge

func (m *Failure) XXX_Merge(src proto.Message)

func (*Failure) XXX_Size

func (m *Failure) XXX_Size() int

func (*Failure) XXX_Unmarshal

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

type Failure_FailureCode

type Failure_FailureCode int32
const (
	//
	//The numbers assigned in this enumeration match the failure codes as
	//defined in BOLT #4. Because protobuf 3 requires enums to start with 0,
	//a RESERVED value is added.
	Failure_RESERVED                             Failure_FailureCode = 0
	Failure_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS Failure_FailureCode = 1
	Failure_INCORRECT_PAYMENT_AMOUNT             Failure_FailureCode = 2
	Failure_FINAL_INCORRECT_CLTV_EXPIRY          Failure_FailureCode = 3
	Failure_FINAL_INCORRECT_HTLC_AMOUNT          Failure_FailureCode = 4
	Failure_FINAL_EXPIRY_TOO_SOON                Failure_FailureCode = 5
	Failure_INVALID_REALM                        Failure_FailureCode = 6
	Failure_EXPIRY_TOO_SOON                      Failure_FailureCode = 7
	Failure_INVALID_ONION_VERSION                Failure_FailureCode = 8
	Failure_INVALID_ONION_HMAC                   Failure_FailureCode = 9
	Failure_INVALID_ONION_KEY                    Failure_FailureCode = 10
	Failure_AMOUNT_BELOW_MINIMUM                 Failure_FailureCode = 11
	Failure_FEE_INSUFFICIENT                     Failure_FailureCode = 12
	Failure_INCORRECT_CLTV_EXPIRY                Failure_FailureCode = 13
	Failure_CHANNEL_DISABLED                     Failure_FailureCode = 14
	Failure_TEMPORARY_CHANNEL_FAILURE            Failure_FailureCode = 15
	Failure_REQUIRED_NODE_FEATURE_MISSING        Failure_FailureCode = 16
	Failure_REQUIRED_CHANNEL_FEATURE_MISSING     Failure_FailureCode = 17
	Failure_UNKNOWN_NEXT_PEER                    Failure_FailureCode = 18
	Failure_TEMPORARY_NODE_FAILURE               Failure_FailureCode = 19
	Failure_PERMANENT_NODE_FAILURE               Failure_FailureCode = 20
	Failure_PERMANENT_CHANNEL_FAILURE            Failure_FailureCode = 21
	Failure_EXPIRY_TOO_FAR                       Failure_FailureCode = 22
	Failure_MPP_TIMEOUT                          Failure_FailureCode = 23
	//
	//An internal error occurred.
	Failure_INTERNAL_FAILURE Failure_FailureCode = 997
	//
	//The error source is known, but the failure itself couldn't be decoded.
	Failure_UNKNOWN_FAILURE Failure_FailureCode = 998
	//
	//An unreadable failure result is returned if the received failure message
	//cannot be decrypted. In that case the error source is unknown.
	Failure_UNREADABLE_FAILURE Failure_FailureCode = 999
)

func (Failure_FailureCode) EnumDescriptor

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

func (Failure_FailureCode) String

func (x Failure_FailureCode) String() string

type Feature

type Feature struct {
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IsRequired           bool     `protobuf:"varint,3,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
	IsKnown              bool     `protobuf:"varint,4,opt,name=is_known,json=isKnown,proto3" json:"is_known,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Feature) Descriptor

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

func (*Feature) GetIsKnown

func (m *Feature) GetIsKnown() bool

func (*Feature) GetIsRequired

func (m *Feature) GetIsRequired() bool

func (*Feature) GetName

func (m *Feature) GetName() string

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) Reset

func (m *Feature) Reset()

func (*Feature) String

func (m *Feature) String() string

func (*Feature) XXX_DiscardUnknown

func (m *Feature) XXX_DiscardUnknown()

func (*Feature) XXX_Marshal

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

func (*Feature) XXX_Merge

func (m *Feature) XXX_Merge(src proto.Message)

func (*Feature) XXX_Size

func (m *Feature) XXX_Size() int

func (*Feature) XXX_Unmarshal

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

type FeatureBit

type FeatureBit int32
const (
	FeatureBit_DATALOSS_PROTECT_REQ        FeatureBit = 0
	FeatureBit_DATALOSS_PROTECT_OPT        FeatureBit = 1
	FeatureBit_INITIAL_ROUING_SYNC         FeatureBit = 3
	FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_REQ FeatureBit = 4
	FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_OPT FeatureBit = 5
	FeatureBit_GOSSIP_QUERIES_REQ          FeatureBit = 6
	FeatureBit_GOSSIP_QUERIES_OPT          FeatureBit = 7
	FeatureBit_TLV_ONION_REQ               FeatureBit = 8
	FeatureBit_TLV_ONION_OPT               FeatureBit = 9
	FeatureBit_EXT_GOSSIP_QUERIES_REQ      FeatureBit = 10
	FeatureBit_EXT_GOSSIP_QUERIES_OPT      FeatureBit = 11
	FeatureBit_STATIC_REMOTE_KEY_REQ       FeatureBit = 12
	FeatureBit_STATIC_REMOTE_KEY_OPT       FeatureBit = 13
	FeatureBit_PAYMENT_ADDR_REQ            FeatureBit = 14
	FeatureBit_PAYMENT_ADDR_OPT            FeatureBit = 15
	FeatureBit_MPP_REQ                     FeatureBit = 16
	FeatureBit_MPP_OPT                     FeatureBit = 17
)

func (FeatureBit) EnumDescriptor

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

func (FeatureBit) String

func (x FeatureBit) String() string

type FeeLimit

type FeeLimit struct {
	// Types that are valid to be assigned to Limit:
	//	*FeeLimit_Fixed
	//	*FeeLimit_FixedMsat
	//	*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) GetFixedMsat

func (m *FeeLimit) GetFixedMsat() 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 (m *FeeLimit) XXX_Merge(src proto.Message)

func (*FeeLimit) XXX_OneofWrappers

func (*FeeLimit) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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_FixedMsat

type FeeLimit_FixedMsat struct {
	FixedMsat int64 `protobuf:"varint,3,opt,name=fixed_msat,json=fixedMsat,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 (m *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,json=channelFees,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,json=dayFeeSum,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,json=weekFeeSum,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,json=monthFeeSum,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 (m *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 FloatMetric

type FloatMetric struct {
	// Arbitrary float value.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// The value normalized to [0,1] or [-1,1].
	NormalizedValue      float64  `protobuf:"fixed64,2,opt,name=normalized_value,json=normalizedValue,proto3" json:"normalized_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FloatMetric) Descriptor

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

func (*FloatMetric) GetNormalizedValue

func (m *FloatMetric) GetNormalizedValue() float64

func (*FloatMetric) GetValue

func (m *FloatMetric) GetValue() float64

func (*FloatMetric) ProtoMessage

func (*FloatMetric) ProtoMessage()

func (*FloatMetric) Reset

func (m *FloatMetric) Reset()

func (*FloatMetric) String

func (m *FloatMetric) String() string

func (*FloatMetric) XXX_DiscardUnknown

func (m *FloatMetric) XXX_DiscardUnknown()

func (*FloatMetric) XXX_Marshal

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

func (*FloatMetric) XXX_Merge

func (m *FloatMetric) XXX_Merge(src proto.Message)

func (*FloatMetric) XXX_Size

func (m *FloatMetric) XXX_Size() int

func (*FloatMetric) XXX_Unmarshal

func (m *FloatMetric) 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,json=chanIdIn,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,json=chanIdOut,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,json=amtIn,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,json=amtOut,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,json=feeMsat,proto3" json:"fee_msat,omitempty"`
	// The total amount (in milli-satoshis) of the incoming HTLC that created
	// half the circuit.
	AmtInMsat uint64 `protobuf:"varint,9,opt,name=amt_in_msat,json=amtInMsat,proto3" json:"amt_in_msat,omitempty"`
	// The total amount (in milli-satoshis) of the outgoing HTLC that created
	// the second half of the circuit.
	AmtOutMsat           uint64   `protobuf:"varint,10,opt,name=amt_out_msat,json=amtOutMsat,proto3" json:"amt_out_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) GetAmtInMsat

func (m *ForwardingEvent) GetAmtInMsat() uint64

func (*ForwardingEvent) GetAmtOut

func (m *ForwardingEvent) GetAmtOut() uint64

func (*ForwardingEvent) GetAmtOutMsat

func (m *ForwardingEvent) GetAmtOutMsat() 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 (m *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,json=startTime,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,json=endTime,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,json=indexOffset,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,json=numMaxEvents,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 (m *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,json=forwardingEvents,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,json=lastOffsetIndex,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 (m *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 FundingPsbtFinalize

type FundingPsbtFinalize struct {
	//
	//The funded PSBT that contains all witness data to send the exact channel
	//capacity amount to the PK script returned in the open channel message in a
	//previous step. Cannot be set at the same time as final_raw_tx.
	SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"`
	// The pending channel ID of the channel to get the PSBT for.
	PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//As an alternative to the signed PSBT with all witness data, the final raw
	//wire format transaction can also be specified directly. Cannot be set at the
	//same time as signed_psbt.
	FinalRawTx           []byte   `protobuf:"bytes,3,opt,name=final_raw_tx,json=finalRawTx,proto3" json:"final_raw_tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingPsbtFinalize) Descriptor

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

func (*FundingPsbtFinalize) GetFinalRawTx

func (m *FundingPsbtFinalize) GetFinalRawTx() []byte

func (*FundingPsbtFinalize) GetPendingChanId

func (m *FundingPsbtFinalize) GetPendingChanId() []byte

func (*FundingPsbtFinalize) GetSignedPsbt

func (m *FundingPsbtFinalize) GetSignedPsbt() []byte

func (*FundingPsbtFinalize) ProtoMessage

func (*FundingPsbtFinalize) ProtoMessage()

func (*FundingPsbtFinalize) Reset

func (m *FundingPsbtFinalize) Reset()

func (*FundingPsbtFinalize) String

func (m *FundingPsbtFinalize) String() string

func (*FundingPsbtFinalize) XXX_DiscardUnknown

func (m *FundingPsbtFinalize) XXX_DiscardUnknown()

func (*FundingPsbtFinalize) XXX_Marshal

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

func (*FundingPsbtFinalize) XXX_Merge

func (m *FundingPsbtFinalize) XXX_Merge(src proto.Message)

func (*FundingPsbtFinalize) XXX_Size

func (m *FundingPsbtFinalize) XXX_Size() int

func (*FundingPsbtFinalize) XXX_Unmarshal

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

type FundingPsbtVerify

type FundingPsbtVerify struct {
	//
	//The funded but not yet signed PSBT that sends the exact channel capacity
	//amount to the PK script returned in the open channel message in a previous
	//step.
	FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"`
	// The pending channel ID of the channel to get the PSBT for.
	PendingChanId        []byte   `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingPsbtVerify) Descriptor

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

func (*FundingPsbtVerify) GetFundedPsbt

func (m *FundingPsbtVerify) GetFundedPsbt() []byte

func (*FundingPsbtVerify) GetPendingChanId

func (m *FundingPsbtVerify) GetPendingChanId() []byte

func (*FundingPsbtVerify) ProtoMessage

func (*FundingPsbtVerify) ProtoMessage()

func (*FundingPsbtVerify) Reset

func (m *FundingPsbtVerify) Reset()

func (*FundingPsbtVerify) String

func (m *FundingPsbtVerify) String() string

func (*FundingPsbtVerify) XXX_DiscardUnknown

func (m *FundingPsbtVerify) XXX_DiscardUnknown()

func (*FundingPsbtVerify) XXX_Marshal

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

func (*FundingPsbtVerify) XXX_Merge

func (m *FundingPsbtVerify) XXX_Merge(src proto.Message)

func (*FundingPsbtVerify) XXX_Size

func (m *FundingPsbtVerify) XXX_Size() int

func (*FundingPsbtVerify) XXX_Unmarshal

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

type FundingShim

type FundingShim struct {
	// Types that are valid to be assigned to Shim:
	//	*FundingShim_ChanPointShim
	//	*FundingShim_PsbtShim
	Shim                 isFundingShim_Shim `protobuf_oneof:"shim"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FundingShim) Descriptor

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

func (*FundingShim) GetChanPointShim

func (m *FundingShim) GetChanPointShim() *ChanPointShim

func (*FundingShim) GetPsbtShim

func (m *FundingShim) GetPsbtShim() *PsbtShim

func (*FundingShim) GetShim

func (m *FundingShim) GetShim() isFundingShim_Shim

func (*FundingShim) ProtoMessage

func (*FundingShim) ProtoMessage()

func (*FundingShim) Reset

func (m *FundingShim) Reset()

func (*FundingShim) String

func (m *FundingShim) String() string

func (*FundingShim) XXX_DiscardUnknown

func (m *FundingShim) XXX_DiscardUnknown()

func (*FundingShim) XXX_Marshal

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

func (*FundingShim) XXX_Merge

func (m *FundingShim) XXX_Merge(src proto.Message)

func (*FundingShim) XXX_OneofWrappers

func (*FundingShim) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FundingShim) XXX_Size

func (m *FundingShim) XXX_Size() int

func (*FundingShim) XXX_Unmarshal

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

type FundingShimCancel

type FundingShimCancel struct {
	// The pending channel ID of the channel to cancel the funding shim for.
	PendingChanId        []byte   `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingShimCancel) Descriptor

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

func (*FundingShimCancel) GetPendingChanId

func (m *FundingShimCancel) GetPendingChanId() []byte

func (*FundingShimCancel) ProtoMessage

func (*FundingShimCancel) ProtoMessage()

func (*FundingShimCancel) Reset

func (m *FundingShimCancel) Reset()

func (*FundingShimCancel) String

func (m *FundingShimCancel) String() string

func (*FundingShimCancel) XXX_DiscardUnknown

func (m *FundingShimCancel) XXX_DiscardUnknown()

func (*FundingShimCancel) XXX_Marshal

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

func (*FundingShimCancel) XXX_Merge

func (m *FundingShimCancel) XXX_Merge(src proto.Message)

func (*FundingShimCancel) XXX_Size

func (m *FundingShimCancel) XXX_Size() int

func (*FundingShimCancel) XXX_Unmarshal

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

type FundingShim_ChanPointShim

type FundingShim_ChanPointShim struct {
	ChanPointShim *ChanPointShim `protobuf:"bytes,1,opt,name=chan_point_shim,json=chanPointShim,proto3,oneof"`
}

type FundingShim_PsbtShim

type FundingShim_PsbtShim struct {
	PsbtShim *PsbtShim `protobuf:"bytes,2,opt,name=psbt_shim,json=psbtShim,proto3,oneof"`
}

type FundingStateStepResp

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

func (*FundingStateStepResp) Descriptor

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

func (*FundingStateStepResp) ProtoMessage

func (*FundingStateStepResp) ProtoMessage()

func (*FundingStateStepResp) Reset

func (m *FundingStateStepResp) Reset()

func (*FundingStateStepResp) String

func (m *FundingStateStepResp) String() string

func (*FundingStateStepResp) XXX_DiscardUnknown

func (m *FundingStateStepResp) XXX_DiscardUnknown()

func (*FundingStateStepResp) XXX_Marshal

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

func (*FundingStateStepResp) XXX_Merge

func (m *FundingStateStepResp) XXX_Merge(src proto.Message)

func (*FundingStateStepResp) XXX_Size

func (m *FundingStateStepResp) XXX_Size() int

func (*FundingStateStepResp) XXX_Unmarshal

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

type FundingTransitionMsg

type FundingTransitionMsg struct {
	// Types that are valid to be assigned to Trigger:
	//	*FundingTransitionMsg_ShimRegister
	//	*FundingTransitionMsg_ShimCancel
	//	*FundingTransitionMsg_PsbtVerify
	//	*FundingTransitionMsg_PsbtFinalize
	Trigger              isFundingTransitionMsg_Trigger `protobuf_oneof:"trigger"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*FundingTransitionMsg) Descriptor

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

func (*FundingTransitionMsg) GetPsbtFinalize

func (m *FundingTransitionMsg) GetPsbtFinalize() *FundingPsbtFinalize

func (*FundingTransitionMsg) GetPsbtVerify

func (m *FundingTransitionMsg) GetPsbtVerify() *FundingPsbtVerify

func (*FundingTransitionMsg) GetShimCancel

func (m *FundingTransitionMsg) GetShimCancel() *FundingShimCancel

func (*FundingTransitionMsg) GetShimRegister

func (m *FundingTransitionMsg) GetShimRegister() *FundingShim

func (*FundingTransitionMsg) GetTrigger

func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger

func (*FundingTransitionMsg) ProtoMessage

func (*FundingTransitionMsg) ProtoMessage()

func (*FundingTransitionMsg) Reset

func (m *FundingTransitionMsg) Reset()

func (*FundingTransitionMsg) String

func (m *FundingTransitionMsg) String() string

func (*FundingTransitionMsg) XXX_DiscardUnknown

func (m *FundingTransitionMsg) XXX_DiscardUnknown()

func (*FundingTransitionMsg) XXX_Marshal

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

func (*FundingTransitionMsg) XXX_Merge

func (m *FundingTransitionMsg) XXX_Merge(src proto.Message)

func (*FundingTransitionMsg) XXX_OneofWrappers

func (*FundingTransitionMsg) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FundingTransitionMsg) XXX_Size

func (m *FundingTransitionMsg) XXX_Size() int

func (*FundingTransitionMsg) XXX_Unmarshal

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

type FundingTransitionMsg_PsbtFinalize

type FundingTransitionMsg_PsbtFinalize struct {
	PsbtFinalize *FundingPsbtFinalize `protobuf:"bytes,4,opt,name=psbt_finalize,json=psbtFinalize,proto3,oneof"`
}

type FundingTransitionMsg_PsbtVerify

type FundingTransitionMsg_PsbtVerify struct {
	PsbtVerify *FundingPsbtVerify `protobuf:"bytes,3,opt,name=psbt_verify,json=psbtVerify,proto3,oneof"`
}

type FundingTransitionMsg_ShimCancel

type FundingTransitionMsg_ShimCancel struct {
	ShimCancel *FundingShimCancel `protobuf:"bytes,2,opt,name=shim_cancel,json=shimCancel,proto3,oneof"`
}

type FundingTransitionMsg_ShimRegister

type FundingTransitionMsg_ShimRegister struct {
	ShimRegister *FundingShim `protobuf:"bytes,1,opt,name=shim_register,json=shimRegister,proto3,oneof"`
}

type GenSeedRequest

type GenSeedRequest struct {
	//
	//seed_passphrase is the optional user specified passphrase that will be used
	//to encrypt the generated seed.
	SeedPassphrase string `protobuf:"bytes,1,opt,name=seed_passphrase,json=seedPassphrase,proto3" json:"seed_passphrase,omitempty"`
	//
	//seed_passphrase_bin overrides seed_passphrase if specified, for binary
	//representation of the passphrase. If using JSON then this field must be base64
	//encoded.
	SeedPassphraseBin []byte `protobuf:"bytes,2,opt,name=seed_passphrase_bin,json=seedPassphraseBin,proto3" json:"seed_passphrase_bin,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.
	//When using REST, this field must be encoded as base64.
	SeedEntropy          []byte   `protobuf:"bytes,3,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) GetSeedEntropy

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

func (*GenSeedRequest) GetSeedPassphrase

func (m *GenSeedRequest) GetSeedPassphrase() string

func (*GenSeedRequest) GetSeedPassphraseBin

func (m *GenSeedRequest) GetSeedPassphraseBin() []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 (m *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 {
	//
	//seed is a 15-word mnemonic that encodes a secret root seed used to generate
	//all private keys of the wallet.
	Seed                 []string `protobuf:"bytes,1,rep,name=seed,proto3" json:"seed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenSeedResponse) Descriptor

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

func (*GenSeedResponse) GetSeed

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

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 (m *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 GetAddressBalancesRequest

type GetAddressBalancesRequest struct {
	// Minimum number of confirmations for coins to be considered received
	Minconf int32 `protobuf:"varint,1,opt,name=minconf,proto3" json:"minconf,omitempty"`
	// If true then addresses which have been created but carry zero balance will be included
	Showzerobalance      bool     `protobuf:"varint,2,opt,name=showzerobalance,proto3" json:"showzerobalance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAddressBalancesRequest) Descriptor

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

func (*GetAddressBalancesRequest) GetMinconf

func (m *GetAddressBalancesRequest) GetMinconf() int32

func (*GetAddressBalancesRequest) GetShowzerobalance

func (m *GetAddressBalancesRequest) GetShowzerobalance() bool

func (*GetAddressBalancesRequest) ProtoMessage

func (*GetAddressBalancesRequest) ProtoMessage()

func (*GetAddressBalancesRequest) Reset

func (m *GetAddressBalancesRequest) Reset()

func (*GetAddressBalancesRequest) String

func (m *GetAddressBalancesRequest) String() string

func (*GetAddressBalancesRequest) XXX_DiscardUnknown

func (m *GetAddressBalancesRequest) XXX_DiscardUnknown()

func (*GetAddressBalancesRequest) XXX_Marshal

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

func (*GetAddressBalancesRequest) XXX_Merge

func (m *GetAddressBalancesRequest) XXX_Merge(src proto.Message)

func (*GetAddressBalancesRequest) XXX_Size

func (m *GetAddressBalancesRequest) XXX_Size() int

func (*GetAddressBalancesRequest) XXX_Unmarshal

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

type GetAddressBalancesResponse

type GetAddressBalancesResponse struct {
	Addrs                []*GetAddressBalancesResponseAddr `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*GetAddressBalancesResponse) Descriptor

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

func (*GetAddressBalancesResponse) GetAddrs

func (*GetAddressBalancesResponse) ProtoMessage

func (*GetAddressBalancesResponse) ProtoMessage()

func (*GetAddressBalancesResponse) Reset

func (m *GetAddressBalancesResponse) Reset()

func (*GetAddressBalancesResponse) String

func (m *GetAddressBalancesResponse) String() string

func (*GetAddressBalancesResponse) XXX_DiscardUnknown

func (m *GetAddressBalancesResponse) XXX_DiscardUnknown()

func (*GetAddressBalancesResponse) XXX_Marshal

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

func (*GetAddressBalancesResponse) XXX_Merge

func (m *GetAddressBalancesResponse) XXX_Merge(src proto.Message)

func (*GetAddressBalancesResponse) XXX_Size

func (m *GetAddressBalancesResponse) XXX_Size() int

func (*GetAddressBalancesResponse) XXX_Unmarshal

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

type GetAddressBalancesResponseAddr

type GetAddressBalancesResponseAddr struct {
	// The address which has this balance
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Total balance in coins
	Total float64 `protobuf:"fixed64,2,opt,name=total,proto3" json:"total,omitempty"`
	// Total balance (atomic units)
	Stotal int64 `protobuf:"varint,3,opt,name=stotal,proto3" json:"stotal,omitempty"`
	// Balance which is currently spendable (coins)
	Spendable float64 `protobuf:"fixed64,4,opt,name=spendable,proto3" json:"spendable,omitempty"`
	// Balance which is currently spendable (atomic units)
	Sspendable int64 `protobuf:"varint,5,opt,name=sspendable,proto3" json:"sspendable,omitempty"`
	// Mined coins which have not yet matured (coins)
	Immaturereward float64 `protobuf:"fixed64,6,opt,name=immaturereward,proto3" json:"immaturereward,omitempty"`
	// Mined coins which have not yet matured (atomic units)
	Simmaturereward int64 `protobuf:"varint,7,opt,name=simmaturereward,proto3" json:"simmaturereward,omitempty"`
	// Unconfirmed balance in coins
	Unconfirmed float64 `protobuf:"fixed64,8,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"`
	// Unconfirmed balance in atomic units
	Sunconfirmed int64 `protobuf:"varint,9,opt,name=sunconfirmed,proto3" json:"sunconfirmed,omitempty"`
	// The number of transaction outputs which make up the balance
	Outputcount          int32    `protobuf:"varint,10,opt,name=outputcount,proto3" json:"outputcount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAddressBalancesResponseAddr) Descriptor

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

func (*GetAddressBalancesResponseAddr) GetAddress

func (m *GetAddressBalancesResponseAddr) GetAddress() string

func (*GetAddressBalancesResponseAddr) GetImmaturereward

func (m *GetAddressBalancesResponseAddr) GetImmaturereward() float64

func (*GetAddressBalancesResponseAddr) GetOutputcount

func (m *GetAddressBalancesResponseAddr) GetOutputcount() int32

func (*GetAddressBalancesResponseAddr) GetSimmaturereward

func (m *GetAddressBalancesResponseAddr) GetSimmaturereward() int64

func (*GetAddressBalancesResponseAddr) GetSpendable

func (m *GetAddressBalancesResponseAddr) GetSpendable() float64

func (*GetAddressBalancesResponseAddr) GetSspendable

func (m *GetAddressBalancesResponseAddr) GetSspendable() int64

func (*GetAddressBalancesResponseAddr) GetStotal

func (m *GetAddressBalancesResponseAddr) GetStotal() int64

func (*GetAddressBalancesResponseAddr) GetSunconfirmed

func (m *GetAddressBalancesResponseAddr) GetSunconfirmed() int64

func (*GetAddressBalancesResponseAddr) GetTotal

func (*GetAddressBalancesResponseAddr) GetUnconfirmed

func (m *GetAddressBalancesResponseAddr) GetUnconfirmed() float64

func (*GetAddressBalancesResponseAddr) ProtoMessage

func (*GetAddressBalancesResponseAddr) ProtoMessage()

func (*GetAddressBalancesResponseAddr) Reset

func (m *GetAddressBalancesResponseAddr) Reset()

func (*GetAddressBalancesResponseAddr) String

func (*GetAddressBalancesResponseAddr) XXX_DiscardUnknown

func (m *GetAddressBalancesResponseAddr) XXX_DiscardUnknown()

func (*GetAddressBalancesResponseAddr) XXX_Marshal

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

func (*GetAddressBalancesResponseAddr) XXX_Merge

func (m *GetAddressBalancesResponseAddr) XXX_Merge(src proto.Message)

func (*GetAddressBalancesResponseAddr) XXX_Size

func (m *GetAddressBalancesResponseAddr) XXX_Size() int

func (*GetAddressBalancesResponseAddr) XXX_Unmarshal

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

type GetInfo2Request

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

func (*GetInfo2Request) Descriptor

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

func (*GetInfo2Request) ProtoMessage

func (*GetInfo2Request) ProtoMessage()

func (*GetInfo2Request) Reset

func (m *GetInfo2Request) Reset()

func (*GetInfo2Request) String

func (m *GetInfo2Request) String() string

func (*GetInfo2Request) XXX_DiscardUnknown

func (m *GetInfo2Request) XXX_DiscardUnknown()

func (*GetInfo2Request) XXX_Marshal

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

func (*GetInfo2Request) XXX_Merge

func (m *GetInfo2Request) XXX_Merge(src proto.Message)

func (*GetInfo2Request) XXX_Size

func (m *GetInfo2Request) XXX_Size() int

func (*GetInfo2Request) XXX_Unmarshal

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

type GetInfo2Response

type GetInfo2Response struct {
	Neutrino             *NeutrinoInfo    `protobuf:"bytes,1,opt,name=neutrino,proto3" json:"neutrino,omitempty"`
	Wallet               *WalletInfo      `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
	Lightning            *GetInfoResponse `protobuf:"bytes,3,opt,name=lightning,proto3" json:"lightning,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetInfo2Response) Descriptor

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

func (*GetInfo2Response) GetLightning

func (m *GetInfo2Response) GetLightning() *GetInfoResponse

func (*GetInfo2Response) GetNeutrino

func (m *GetInfo2Response) GetNeutrino() *NeutrinoInfo

func (*GetInfo2Response) GetWallet

func (m *GetInfo2Response) GetWallet() *WalletInfo

func (*GetInfo2Response) ProtoMessage

func (*GetInfo2Response) ProtoMessage()

func (*GetInfo2Response) Reset

func (m *GetInfo2Response) Reset()

func (*GetInfo2Response) String

func (m *GetInfo2Response) String() string

func (*GetInfo2Response) XXX_DiscardUnknown

func (m *GetInfo2Response) XXX_DiscardUnknown()

func (*GetInfo2Response) XXX_Marshal

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

func (*GetInfo2Response) XXX_Merge

func (m *GetInfo2Response) XXX_Merge(src proto.Message)

func (*GetInfo2Response) XXX_Size

func (m *GetInfo2Response) XXX_Size() int

func (*GetInfo2Response) XXX_Unmarshal

func (m *GetInfo2Response) 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 (m *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 version of the LND software that the node is running.
	Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
	// The SHA1 commit hash that the daemon is compiled with.
	CommitHash string `protobuf:"bytes,20,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// The identity pubkey of the current node.
	IdentityPubkey []byte `protobuf:"bytes,1,opt,name=identity_pubkey,json=identityPubkey,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"`
	// The color of the current node in hex code format
	Color string `protobuf:"bytes,17,opt,name=color,proto3" json:"color,omitempty"`
	// Number of pending channels
	NumPendingChannels uint32 `protobuf:"varint,3,opt,name=num_pending_channels,json=numPendingChannels,proto3" json:"num_pending_channels,omitempty"`
	// Number of active channels
	NumActiveChannels uint32 `protobuf:"varint,4,opt,name=num_active_channels,json=numActiveChannels,proto3" json:"num_active_channels,omitempty"`
	// Number of inactive channels
	NumInactiveChannels uint32 `protobuf:"varint,15,opt,name=num_inactive_channels,json=numInactiveChannels,proto3" json:"num_inactive_channels,omitempty"`
	// Number of peers
	NumPeers uint32 `protobuf:"varint,5,opt,name=num_peers,json=numPeers,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,json=blockHeight,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,json=blockHash,proto3" json:"block_hash,omitempty"`
	// Timestamp of the block best known to the wallet
	BestHeaderTimestamp int64 `protobuf:"varint,13,opt,name=best_header_timestamp,json=bestHeaderTimestamp,proto3" json:"best_header_timestamp,omitempty"`
	// Whether the wallet's view is synced to the main chain
	SyncedToChain bool `protobuf:"varint,9,opt,name=synced_to_chain,json=syncedToChain,proto3" json:"synced_to_chain,omitempty"`
	// Whether we consider ourselves synced with the public channel graph.
	SyncedToGraph bool `protobuf:"varint,18,opt,name=synced_to_graph,json=syncedToGraph,proto3" json:"synced_to_graph,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.
	// A list of active chains the node is connected to
	Chains []*Chain `protobuf:"bytes,16,rep,name=chains,proto3" json:"chains,omitempty"`
	// The URIs of the current node.
	Uris []string `protobuf:"bytes,12,rep,name=uris,proto3" json:"uris,omitempty"`
	//
	//Features that our node has advertised in our init message, node
	//announcements and invoices.
	Features             map[uint32]*Feature `` /* 159-byte string literal not displayed */
	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) GetColor

func (m *GetInfoResponse) GetColor() string

func (*GetInfoResponse) GetCommitHash

func (m *GetInfoResponse) GetCommitHash() string

func (*GetInfoResponse) GetFeatures

func (m *GetInfoResponse) GetFeatures() map[uint32]*Feature

func (*GetInfoResponse) GetIdentityPubkey

func (m *GetInfoResponse) GetIdentityPubkey() []byte

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) GetSyncedToGraph

func (m *GetInfoResponse) GetSyncedToGraph() 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 (m *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 GetNetworkStewardVoteRequest

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

func (*GetNetworkStewardVoteRequest) Descriptor

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

func (*GetNetworkStewardVoteRequest) ProtoMessage

func (*GetNetworkStewardVoteRequest) ProtoMessage()

func (*GetNetworkStewardVoteRequest) Reset

func (m *GetNetworkStewardVoteRequest) Reset()

func (*GetNetworkStewardVoteRequest) String

func (*GetNetworkStewardVoteRequest) XXX_DiscardUnknown

func (m *GetNetworkStewardVoteRequest) XXX_DiscardUnknown()

func (*GetNetworkStewardVoteRequest) XXX_Marshal

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

func (*GetNetworkStewardVoteRequest) XXX_Merge

func (m *GetNetworkStewardVoteRequest) XXX_Merge(src proto.Message)

func (*GetNetworkStewardVoteRequest) XXX_Size

func (m *GetNetworkStewardVoteRequest) XXX_Size() int

func (*GetNetworkStewardVoteRequest) XXX_Unmarshal

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

type GetNetworkStewardVoteResponse

type GetNetworkStewardVoteResponse struct {
	VoteAgainst          string   `protobuf:"bytes,1,opt,name=vote_against,json=voteAgainst,proto3" json:"vote_against,omitempty"`
	VoteFor              string   `protobuf:"bytes,2,opt,name=vote_for,json=voteFor,proto3" json:"vote_for,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetNetworkStewardVoteResponse) Descriptor

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

func (*GetNetworkStewardVoteResponse) GetVoteAgainst

func (m *GetNetworkStewardVoteResponse) GetVoteAgainst() string

func (*GetNetworkStewardVoteResponse) GetVoteFor

func (m *GetNetworkStewardVoteResponse) GetVoteFor() string

func (*GetNetworkStewardVoteResponse) ProtoMessage

func (*GetNetworkStewardVoteResponse) ProtoMessage()

func (*GetNetworkStewardVoteResponse) Reset

func (m *GetNetworkStewardVoteResponse) Reset()

func (*GetNetworkStewardVoteResponse) String

func (*GetNetworkStewardVoteResponse) XXX_DiscardUnknown

func (m *GetNetworkStewardVoteResponse) XXX_DiscardUnknown()

func (*GetNetworkStewardVoteResponse) XXX_Marshal

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

func (*GetNetworkStewardVoteResponse) XXX_Merge

func (m *GetNetworkStewardVoteResponse) XXX_Merge(src proto.Message)

func (*GetNetworkStewardVoteResponse) XXX_Size

func (m *GetNetworkStewardVoteResponse) XXX_Size() int

func (*GetNetworkStewardVoteResponse) XXX_Unmarshal

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

type GetNewAddressRequest

type GetNewAddressRequest struct {
	Legacy               bool     `protobuf:"varint,1,opt,name=legacy,proto3" json:"legacy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetNewAddressRequest) Descriptor

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

func (*GetNewAddressRequest) GetLegacy

func (m *GetNewAddressRequest) GetLegacy() bool

func (*GetNewAddressRequest) ProtoMessage

func (*GetNewAddressRequest) ProtoMessage()

func (*GetNewAddressRequest) Reset

func (m *GetNewAddressRequest) Reset()

func (*GetNewAddressRequest) String

func (m *GetNewAddressRequest) String() string

func (*GetNewAddressRequest) XXX_DiscardUnknown

func (m *GetNewAddressRequest) XXX_DiscardUnknown()

func (*GetNewAddressRequest) XXX_Marshal

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

func (*GetNewAddressRequest) XXX_Merge

func (m *GetNewAddressRequest) XXX_Merge(src proto.Message)

func (*GetNewAddressRequest) XXX_Size

func (m *GetNewAddressRequest) XXX_Size() int

func (*GetNewAddressRequest) XXX_Unmarshal

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

type GetNewAddressResponse

type GetNewAddressResponse struct {
	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 (*GetNewAddressResponse) Descriptor

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

func (*GetNewAddressResponse) GetAddress

func (m *GetNewAddressResponse) GetAddress() string

func (*GetNewAddressResponse) ProtoMessage

func (*GetNewAddressResponse) ProtoMessage()

func (*GetNewAddressResponse) Reset

func (m *GetNewAddressResponse) Reset()

func (*GetNewAddressResponse) String

func (m *GetNewAddressResponse) String() string

func (*GetNewAddressResponse) XXX_DiscardUnknown

func (m *GetNewAddressResponse) XXX_DiscardUnknown()

func (*GetNewAddressResponse) XXX_Marshal

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

func (*GetNewAddressResponse) XXX_Merge

func (m *GetNewAddressResponse) XXX_Merge(src proto.Message)

func (*GetNewAddressResponse) XXX_Size

func (m *GetNewAddressResponse) XXX_Size() int

func (*GetNewAddressResponse) XXX_Unmarshal

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

type GetRecoveryInfoRequest

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

func (*GetRecoveryInfoRequest) Descriptor

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

func (*GetRecoveryInfoRequest) ProtoMessage

func (*GetRecoveryInfoRequest) ProtoMessage()

func (*GetRecoveryInfoRequest) Reset

func (m *GetRecoveryInfoRequest) Reset()

func (*GetRecoveryInfoRequest) String

func (m *GetRecoveryInfoRequest) String() string

func (*GetRecoveryInfoRequest) XXX_DiscardUnknown

func (m *GetRecoveryInfoRequest) XXX_DiscardUnknown()

func (*GetRecoveryInfoRequest) XXX_Marshal

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

func (*GetRecoveryInfoRequest) XXX_Merge

func (m *GetRecoveryInfoRequest) XXX_Merge(src proto.Message)

func (*GetRecoveryInfoRequest) XXX_Size

func (m *GetRecoveryInfoRequest) XXX_Size() int

func (*GetRecoveryInfoRequest) XXX_Unmarshal

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

type GetRecoveryInfoResponse

type GetRecoveryInfoResponse struct {
	// Whether the wallet is in recovery mode
	RecoveryMode bool `protobuf:"varint,1,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"`
	// Whether the wallet recovery progress is finished
	RecoveryFinished bool `protobuf:"varint,2,opt,name=recovery_finished,json=recoveryFinished,proto3" json:"recovery_finished,omitempty"`
	// The recovery progress, ranging from 0 to 1.
	Progress             float64  `protobuf:"fixed64,3,opt,name=progress,proto3" json:"progress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRecoveryInfoResponse) Descriptor

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

func (*GetRecoveryInfoResponse) GetProgress

func (m *GetRecoveryInfoResponse) GetProgress() float64

func (*GetRecoveryInfoResponse) GetRecoveryFinished

func (m *GetRecoveryInfoResponse) GetRecoveryFinished() bool

func (*GetRecoveryInfoResponse) GetRecoveryMode

func (m *GetRecoveryInfoResponse) GetRecoveryMode() bool

func (*GetRecoveryInfoResponse) ProtoMessage

func (*GetRecoveryInfoResponse) ProtoMessage()

func (*GetRecoveryInfoResponse) Reset

func (m *GetRecoveryInfoResponse) Reset()

func (*GetRecoveryInfoResponse) String

func (m *GetRecoveryInfoResponse) String() string

func (*GetRecoveryInfoResponse) XXX_DiscardUnknown

func (m *GetRecoveryInfoResponse) XXX_DiscardUnknown()

func (*GetRecoveryInfoResponse) XXX_Marshal

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

func (*GetRecoveryInfoResponse) XXX_Merge

func (m *GetRecoveryInfoResponse) XXX_Merge(src proto.Message)

func (*GetRecoveryInfoResponse) XXX_Size

func (m *GetRecoveryInfoResponse) XXX_Size() int

func (*GetRecoveryInfoResponse) XXX_Unmarshal

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

type GetSecretRequest

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

func (*GetSecretRequest) Descriptor

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

func (*GetSecretRequest) GetName

func (m *GetSecretRequest) GetName() string

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) Reset

func (m *GetSecretRequest) Reset()

func (*GetSecretRequest) String

func (m *GetSecretRequest) String() string

func (*GetSecretRequest) XXX_DiscardUnknown

func (m *GetSecretRequest) XXX_DiscardUnknown()

func (*GetSecretRequest) XXX_Marshal

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

func (*GetSecretRequest) XXX_Merge

func (m *GetSecretRequest) XXX_Merge(src proto.Message)

func (*GetSecretRequest) XXX_Size

func (m *GetSecretRequest) XXX_Size() int

func (*GetSecretRequest) XXX_Unmarshal

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

type GetSecretResponse

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

func (*GetSecretResponse) Descriptor

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

func (*GetSecretResponse) GetSecret

func (m *GetSecretResponse) GetSecret() string

func (*GetSecretResponse) ProtoMessage

func (*GetSecretResponse) ProtoMessage()

func (*GetSecretResponse) Reset

func (m *GetSecretResponse) Reset()

func (*GetSecretResponse) String

func (m *GetSecretResponse) String() string

func (*GetSecretResponse) XXX_DiscardUnknown

func (m *GetSecretResponse) XXX_DiscardUnknown()

func (*GetSecretResponse) XXX_Marshal

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

func (*GetSecretResponse) XXX_Merge

func (m *GetSecretResponse) XXX_Merge(src proto.Message)

func (*GetSecretResponse) XXX_Size

func (m *GetSecretResponse) XXX_Size() int

func (*GetSecretResponse) XXX_Unmarshal

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

type GetTransactionDetailsResult

type GetTransactionDetailsResult struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount               float64  `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Category             string   `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Vout                 uint32   `protobuf:"varint,4,opt,name=vout,proto3" json:"vout,omitempty"`
	AmountUnits          uint64   `protobuf:"varint,5,opt,name=amount_units,json=amountUnits,proto3" json:"amount_units,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTransactionDetailsResult) Descriptor

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

func (*GetTransactionDetailsResult) GetAddress

func (m *GetTransactionDetailsResult) GetAddress() string

func (*GetTransactionDetailsResult) GetAmount

func (m *GetTransactionDetailsResult) GetAmount() float64

func (*GetTransactionDetailsResult) GetAmountUnits

func (m *GetTransactionDetailsResult) GetAmountUnits() uint64

func (*GetTransactionDetailsResult) GetCategory

func (m *GetTransactionDetailsResult) GetCategory() string

func (*GetTransactionDetailsResult) GetVout

func (m *GetTransactionDetailsResult) GetVout() uint32

func (*GetTransactionDetailsResult) ProtoMessage

func (*GetTransactionDetailsResult) ProtoMessage()

func (*GetTransactionDetailsResult) Reset

func (m *GetTransactionDetailsResult) Reset()

func (*GetTransactionDetailsResult) String

func (m *GetTransactionDetailsResult) String() string

func (*GetTransactionDetailsResult) XXX_DiscardUnknown

func (m *GetTransactionDetailsResult) XXX_DiscardUnknown()

func (*GetTransactionDetailsResult) XXX_Marshal

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

func (*GetTransactionDetailsResult) XXX_Merge

func (m *GetTransactionDetailsResult) XXX_Merge(src proto.Message)

func (*GetTransactionDetailsResult) XXX_Size

func (m *GetTransactionDetailsResult) XXX_Size() int

func (*GetTransactionDetailsResult) XXX_Unmarshal

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

type GetTransactionRequest

type GetTransactionRequest struct {
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Includewatchonly     bool     `protobuf:"varint,2,opt,name=includewatchonly,proto3" json:"includewatchonly,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTransactionRequest) Descriptor

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

func (*GetTransactionRequest) GetIncludewatchonly

func (m *GetTransactionRequest) GetIncludewatchonly() bool

func (*GetTransactionRequest) GetTxid

func (m *GetTransactionRequest) GetTxid() string

func (*GetTransactionRequest) ProtoMessage

func (*GetTransactionRequest) ProtoMessage()

func (*GetTransactionRequest) Reset

func (m *GetTransactionRequest) Reset()

func (*GetTransactionRequest) String

func (m *GetTransactionRequest) String() string

func (*GetTransactionRequest) XXX_DiscardUnknown

func (m *GetTransactionRequest) XXX_DiscardUnknown()

func (*GetTransactionRequest) XXX_Marshal

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

func (*GetTransactionRequest) XXX_Merge

func (m *GetTransactionRequest) XXX_Merge(src proto.Message)

func (*GetTransactionRequest) XXX_Size

func (m *GetTransactionRequest) XXX_Size() int

func (*GetTransactionRequest) XXX_Unmarshal

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

type GetTransactionResponse

type GetTransactionResponse struct {
	Transaction          *TransactionResult `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*GetTransactionResponse) Descriptor

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

func (*GetTransactionResponse) GetTransaction

func (m *GetTransactionResponse) GetTransaction() *TransactionResult

func (*GetTransactionResponse) ProtoMessage

func (*GetTransactionResponse) ProtoMessage()

func (*GetTransactionResponse) Reset

func (m *GetTransactionResponse) Reset()

func (*GetTransactionResponse) String

func (m *GetTransactionResponse) String() string

func (*GetTransactionResponse) XXX_DiscardUnknown

func (m *GetTransactionResponse) XXX_DiscardUnknown()

func (*GetTransactionResponse) XXX_Marshal

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

func (*GetTransactionResponse) XXX_Merge

func (m *GetTransactionResponse) XXX_Merge(src proto.Message)

func (*GetTransactionResponse) XXX_Size

func (m *GetTransactionResponse) XXX_Size() int

func (*GetTransactionResponse) XXX_Unmarshal

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

type GetTransactionsRequest

type GetTransactionsRequest struct {
	//
	//The height from which to list transactions, inclusive.
	StartHeight int32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	//
	//The height until which to list transactions, inclusive. To include
	//unconfirmed transactions, this value should be set to -1, which will
	//return transactions from start_height until the current chain tip and
	//unconfirmed transactions. If no end_height is provided, the call will
	//default to this option.
	EndHeight int32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	TxnsLimit int32 `protobuf:"varint,3,opt,name=txns_limit,json=txnsLimit,proto3" json:"txns_limit,omitempty"`
	TxnsSkip  int32 `protobuf:"varint,4,opt,name=txns_skip,json=txnsSkip,proto3" json:"txns_skip,omitempty"`
	Coinbase  int32 `protobuf:"varint,5,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	//
	//If set, the payments returned will result from seeking backwards from the
	//specified index offset. This can be used to paginate backwards. The order
	//of the returned payments is always oldest first (ascending index order).
	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 (*GetTransactionsRequest) Descriptor

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

func (*GetTransactionsRequest) GetCoinbase

func (m *GetTransactionsRequest) GetCoinbase() int32

func (*GetTransactionsRequest) GetEndHeight

func (m *GetTransactionsRequest) GetEndHeight() int32

func (*GetTransactionsRequest) GetReversed

func (m *GetTransactionsRequest) GetReversed() bool

func (*GetTransactionsRequest) GetStartHeight

func (m *GetTransactionsRequest) GetStartHeight() int32

func (*GetTransactionsRequest) GetTxnsLimit

func (m *GetTransactionsRequest) GetTxnsLimit() int32

func (*GetTransactionsRequest) GetTxnsSkip

func (m *GetTransactionsRequest) GetTxnsSkip() int32

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 (m *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 GetWalletSeedRequest

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

func (*GetWalletSeedRequest) Descriptor

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

func (*GetWalletSeedRequest) ProtoMessage

func (*GetWalletSeedRequest) ProtoMessage()

func (*GetWalletSeedRequest) Reset

func (m *GetWalletSeedRequest) Reset()

func (*GetWalletSeedRequest) String

func (m *GetWalletSeedRequest) String() string

func (*GetWalletSeedRequest) XXX_DiscardUnknown

func (m *GetWalletSeedRequest) XXX_DiscardUnknown()

func (*GetWalletSeedRequest) XXX_Marshal

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

func (*GetWalletSeedRequest) XXX_Merge

func (m *GetWalletSeedRequest) XXX_Merge(src proto.Message)

func (*GetWalletSeedRequest) XXX_Size

func (m *GetWalletSeedRequest) XXX_Size() int

func (*GetWalletSeedRequest) XXX_Unmarshal

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

type GetWalletSeedResponse

type GetWalletSeedResponse struct {
	Seed                 []string `protobuf:"bytes,1,rep,name=seed,proto3" json:"seed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetWalletSeedResponse) Descriptor

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

func (*GetWalletSeedResponse) GetSeed

func (m *GetWalletSeedResponse) GetSeed() []string

func (*GetWalletSeedResponse) ProtoMessage

func (*GetWalletSeedResponse) ProtoMessage()

func (*GetWalletSeedResponse) Reset

func (m *GetWalletSeedResponse) Reset()

func (*GetWalletSeedResponse) String

func (m *GetWalletSeedResponse) String() string

func (*GetWalletSeedResponse) XXX_DiscardUnknown

func (m *GetWalletSeedResponse) XXX_DiscardUnknown()

func (*GetWalletSeedResponse) XXX_Marshal

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

func (*GetWalletSeedResponse) XXX_Merge

func (m *GetWalletSeedResponse) XXX_Merge(src proto.Message)

func (*GetWalletSeedResponse) XXX_Size

func (m *GetWalletSeedResponse) XXX_Size() int

func (*GetWalletSeedResponse) XXX_Unmarshal

func (m *GetWalletSeedResponse) 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 (m *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 (m *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,json=hashLock,proto3" json:"hash_lock,omitempty"`
	ExpirationHeight uint32 `protobuf:"varint,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
	// Index identifying the htlc on the channel.
	HtlcIndex uint64 `protobuf:"varint,5,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"`
	// If this HTLC is involved in a forwarding operation, this field indicates
	// the forwarding channel. For an outgoing htlc, it is the incoming channel.
	// For an incoming htlc, it is the outgoing channel. When the htlc
	// originates from this node or this node is the final destination,
	// forwarding_channel will be zero. The forwarding channel will also be zero
	// for htlcs that need to be forwarded but don't have a forwarding decision
	// persisted yet.
	ForwardingChannel uint64 `protobuf:"varint,6,opt,name=forwarding_channel,json=forwardingChannel,proto3" json:"forwarding_channel,omitempty"`
	// Index identifying the htlc on the forwarding channel.
	ForwardingHtlcIndex  uint64   `protobuf:"varint,7,opt,name=forwarding_htlc_index,json=forwardingHtlcIndex,proto3" json:"forwarding_htlc_index,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) GetForwardingChannel

func (m *HTLC) GetForwardingChannel() uint64

func (*HTLC) GetForwardingHtlcIndex

func (m *HTLC) GetForwardingHtlcIndex() uint64

func (*HTLC) GetHashLock

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

func (*HTLC) GetHtlcIndex

func (m *HTLC) GetHtlcIndex() uint64

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 (m *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 HTLCAttempt

type HTLCAttempt struct {
	// The status of the HTLC.
	Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"`
	// The route taken by this HTLC.
	Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	// The time in UNIX nanoseconds at which this HTLC was sent.
	AttemptTimeNs int64 `protobuf:"varint,3,opt,name=attempt_time_ns,json=attemptTimeNs,proto3" json:"attempt_time_ns,omitempty"`
	//
	//The time in UNIX nanoseconds at which this HTLC was settled or failed.
	//This value will not be set if the HTLC is still IN_FLIGHT.
	ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,json=resolveTimeNs,proto3" json:"resolve_time_ns,omitempty"`
	// Detailed htlc failure info.
	Failure *Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"`
	// The preimage that was used to settle the HTLC.
	Preimage             []byte   `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HTLCAttempt) Descriptor

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

func (*HTLCAttempt) GetAttemptTimeNs

func (m *HTLCAttempt) GetAttemptTimeNs() int64

func (*HTLCAttempt) GetFailure

func (m *HTLCAttempt) GetFailure() *Failure

func (*HTLCAttempt) GetPreimage

func (m *HTLCAttempt) GetPreimage() []byte

func (*HTLCAttempt) GetResolveTimeNs

func (m *HTLCAttempt) GetResolveTimeNs() int64

func (*HTLCAttempt) GetRoute

func (m *HTLCAttempt) GetRoute() *Route

func (*HTLCAttempt) GetStatus

func (m *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus

func (*HTLCAttempt) ProtoMessage

func (*HTLCAttempt) ProtoMessage()

func (*HTLCAttempt) Reset

func (m *HTLCAttempt) Reset()

func (*HTLCAttempt) String

func (m *HTLCAttempt) String() string

func (*HTLCAttempt) XXX_DiscardUnknown

func (m *HTLCAttempt) XXX_DiscardUnknown()

func (*HTLCAttempt) XXX_Marshal

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

func (*HTLCAttempt) XXX_Merge

func (m *HTLCAttempt) XXX_Merge(src proto.Message)

func (*HTLCAttempt) XXX_Size

func (m *HTLCAttempt) XXX_Size() int

func (*HTLCAttempt) XXX_Unmarshal

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

type HTLCAttempt_HTLCStatus

type HTLCAttempt_HTLCStatus int32
const (
	HTLCAttempt_IN_FLIGHT HTLCAttempt_HTLCStatus = 0
	HTLCAttempt_SUCCEEDED HTLCAttempt_HTLCStatus = 1
	HTLCAttempt_FAILED    HTLCAttempt_HTLCStatus = 2
)

func (HTLCAttempt_HTLCStatus) EnumDescriptor

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

func (HTLCAttempt_HTLCStatus) String

func (x HTLCAttempt_HTLCStatus) String() string

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,json=chanId,proto3" json:"chan_id,omitempty"`
	ChanCapacity     int64  `protobuf:"varint,2,opt,name=chan_capacity,json=chanCapacity,proto3" json:"chan_capacity,omitempty"`
	AmtToForward     int64  `protobuf:"varint,3,opt,name=amt_to_forward,json=amtToForward,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,json=amtToForwardMsat,proto3" json:"amt_to_forward_msat,omitempty"`
	FeeMsat          int64  `protobuf:"varint,7,opt,name=fee_msat,json=feeMsat,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,json=pubKey,proto3" json:"pub_key,omitempty"`
	//
	//If set to true, then this hop will be encoded using the new variable length
	//TLV format. Note that if any custom tlv_records below are specified, then
	//this field MUST be set to true for them to be encoded properly.
	TlvPayload bool `protobuf:"varint,9,opt,name=tlv_payload,json=tlvPayload,proto3" json:"tlv_payload,omitempty"`
	//
	//An optional TLV record that signals the use of an MPP payment. If present,
	//the receiver will enforce that that the same mpp_record is included in the
	//final hop payload of all non-zero payments in the HTLC set. If empty, a
	//regular single-shot payment is or was attempted.
	MppRecord *MPPRecord `protobuf:"bytes,10,opt,name=mpp_record,json=mppRecord,proto3" json:"mpp_record,omitempty"`
	//
	//An optional set of key-value TLV records. This is useful within the context
	//of the SendToRoute call as it allows callers to specify arbitrary K-V pairs
	//to drop off at each hop within the onion.
	CustomRecords        map[uint64][]byte `` /* 190-byte string literal not displayed */
	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) GetCustomRecords

func (m *Hop) GetCustomRecords() map[uint64][]byte

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) GetMppRecord

func (m *Hop) GetMppRecord() *MPPRecord

func (*Hop) GetPubKey

func (m *Hop) GetPubKey() string

func (*Hop) GetTlvPayload

func (m *Hop) GetTlvPayload() bool

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 (m *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 []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The unique identifier of the channel.
	ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// The base fee of the channel denominated in millisatoshis.
	FeeBaseMsat uint32 `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,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 `` /* 139-byte string literal not displayed */
	// The time-lock delta of the channel.
	CltvExpiryDelta      uint32   `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,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() []byte

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 (m *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 ImportPrivKeyRequest

type ImportPrivKeyRequest struct {
	PrivateKey           string   `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	Rescan               bool     `protobuf:"varint,2,opt,name=rescan,proto3" json:"rescan,omitempty"`
	Legacy               bool     `protobuf:"varint,3,opt,name=legacy,proto3" json:"legacy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportPrivKeyRequest) Descriptor

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

func (*ImportPrivKeyRequest) GetLegacy

func (m *ImportPrivKeyRequest) GetLegacy() bool

func (*ImportPrivKeyRequest) GetPrivateKey

func (m *ImportPrivKeyRequest) GetPrivateKey() string

func (*ImportPrivKeyRequest) GetRescan

func (m *ImportPrivKeyRequest) GetRescan() bool

func (*ImportPrivKeyRequest) ProtoMessage

func (*ImportPrivKeyRequest) ProtoMessage()

func (*ImportPrivKeyRequest) Reset

func (m *ImportPrivKeyRequest) Reset()

func (*ImportPrivKeyRequest) String

func (m *ImportPrivKeyRequest) String() string

func (*ImportPrivKeyRequest) XXX_DiscardUnknown

func (m *ImportPrivKeyRequest) XXX_DiscardUnknown()

func (*ImportPrivKeyRequest) XXX_Marshal

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

func (*ImportPrivKeyRequest) XXX_Merge

func (m *ImportPrivKeyRequest) XXX_Merge(src proto.Message)

func (*ImportPrivKeyRequest) XXX_Size

func (m *ImportPrivKeyRequest) XXX_Size() int

func (*ImportPrivKeyRequest) XXX_Unmarshal

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

type ImportPrivKeyResponse

type ImportPrivKeyResponse struct {
	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 (*ImportPrivKeyResponse) Descriptor

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

func (*ImportPrivKeyResponse) GetAddress

func (m *ImportPrivKeyResponse) GetAddress() string

func (*ImportPrivKeyResponse) ProtoMessage

func (*ImportPrivKeyResponse) ProtoMessage()

func (*ImportPrivKeyResponse) Reset

func (m *ImportPrivKeyResponse) Reset()

func (*ImportPrivKeyResponse) String

func (m *ImportPrivKeyResponse) String() string

func (*ImportPrivKeyResponse) XXX_DiscardUnknown

func (m *ImportPrivKeyResponse) XXX_DiscardUnknown()

func (*ImportPrivKeyResponse) XXX_Marshal

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

func (*ImportPrivKeyResponse) XXX_Merge

func (m *ImportPrivKeyResponse) XXX_Merge(src proto.Message)

func (*ImportPrivKeyResponse) XXX_Size

func (m *ImportPrivKeyResponse) XXX_Size() int

func (*ImportPrivKeyResponse) XXX_Unmarshal

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

type InitWalletRequest

type InitWalletRequest struct {
	//
	//wallet_passphrase 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.
	WalletPassphrase string `protobuf:"bytes,1,opt,name=wallet_passphrase,json=walletPassphrase,proto3" json:"wallet_passphrase,omitempty"`
	//
	//If specified, will override wallet_passphrase, but is expressed in binary.
	//When using REST, this field must be encoded as base64.
	WalletPassphraseBin []byte `protobuf:"bytes,2,opt,name=wallet_passphrase_bin,json=walletPassphraseBin,proto3" json:"wallet_passphrase_bin,omitempty"`
	//
	//wallet_seed is a 15-word wallet seed. This may have been generated by the
	//GenSeed method, or be an existing seed.
	WalletSeed []string `protobuf:"bytes,3,rep,name=wallet_seed,json=walletSeed,proto3" json:"wallet_seed,omitempty"`
	//
	//seed_passphrase is an optional user provided passphrase that will be used
	//to encrypt the generated seed.
	SeedPassphrase string `protobuf:"bytes,4,opt,name=seed_passphrase,json=seedPassphrase,proto3" json:"seed_passphrase,omitempty"`
	//
	//If specified, will override seed_passphrase, but is expressed in binary.
	//When using REST, this field must be encoded as base64.
	SeedPassphraseBin []byte `protobuf:"bytes,5,opt,name=seed_passphrase_bin,json=seedPassphraseBin,proto3" json:"seed_passphrase_bin,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,6,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,7,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"`
	//
	//wallet_name is an optional argument that allows to define the
	//wallet filename other than the default wallet.db
	WalletName           string   `protobuf:"bytes,8,opt,name=wallet_name,json=walletName,proto3" json:"wallet_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitWalletRequest) Descriptor

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

func (*InitWalletRequest) GetChannelBackups

func (m *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot

func (*InitWalletRequest) GetRecoveryWindow

func (m *InitWalletRequest) GetRecoveryWindow() int32

func (*InitWalletRequest) GetSeedPassphrase

func (m *InitWalletRequest) GetSeedPassphrase() string

func (*InitWalletRequest) GetSeedPassphraseBin

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

func (*InitWalletRequest) GetWalletName

func (m *InitWalletRequest) GetWalletName() string

func (*InitWalletRequest) GetWalletPassphrase

func (m *InitWalletRequest) GetWalletPassphrase() string

func (*InitWalletRequest) GetWalletPassphraseBin

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

func (*InitWalletRequest) GetWalletSeed

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

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 (m *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 (m *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 Initiator

type Initiator int32
const (
	Initiator_INITIATOR_UNKNOWN Initiator = 0
	Initiator_INITIATOR_LOCAL   Initiator = 1
	Initiator_INITIATOR_REMOTE  Initiator = 2
	Initiator_INITIATOR_BOTH    Initiator = 3
)

func (Initiator) EnumDescriptor

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

func (Initiator) String

func (x Initiator) String() string

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"`
	//
	//The 32 byte preimage which will allow settling an incoming HTLC.
	RPreimage []byte `protobuf:"bytes,3,opt,name=r_preimage,json=rPreimage,proto3" json:"r_preimage,omitempty"`
	//
	//The hash of the preimage.
	RHash []byte `protobuf:"bytes,4,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
	//
	//The value of this invoice in satoshis
	//
	//The fields value and value_msat are mutually exclusive.
	Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
	//
	//The value of this invoice in millisatoshis
	//
	//The fields value and value_msat are mutually exclusive.
	ValueMsat int64 `protobuf:"varint,23,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,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,json=creationDate,proto3" json:"creation_date,omitempty"`
	// When this invoice was settled
	SettleDate int64 `protobuf:"varint,8,opt,name=settle_date,json=settleDate,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,json=paymentRequest,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,json=descriptionHash,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,json=fallbackAddr,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,json=cltvExpiry,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,json=routeHints,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,json=addIndex,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,json=settleIndex,proto3" json:"settle_index,omitempty"`
	//
	//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,json=amtPaidSat,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,json=amtPaidMsat,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"`
	// List of HTLCs paying to this invoice [EXPERIMENTAL].
	Htlcs []*InvoiceHTLC `protobuf:"bytes,22,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
	// List of features advertised on the invoice.
	Features map[uint32]*Feature `` /* 159-byte string literal not displayed */
	//
	//Indicates if this invoice was a spontaneous payment that arrived via keysend
	//[EXPERIMENTAL].
	IsKeysend            bool     `protobuf:"varint,25,opt,name=is_keysend,json=isKeysend,proto3" json:"is_keysend,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) 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) GetFeatures

func (m *Invoice) GetFeatures() map[uint32]*Feature

func (*Invoice) GetHtlcs

func (m *Invoice) GetHtlcs() []*InvoiceHTLC

func (*Invoice) GetIsKeysend

func (m *Invoice) GetIsKeysend() bool

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) 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) GetValueMsat

func (m *Invoice) GetValueMsat() 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 (m *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 InvoiceHTLC

type InvoiceHTLC struct {
	// Short channel id over which the htlc was received.
	ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// Index identifying the htlc on the channel.
	HtlcIndex uint64 `protobuf:"varint,2,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"`
	// The amount of the htlc in msat.
	AmtMsat uint64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
	// Block height at which this htlc was accepted.
	AcceptHeight int32 `protobuf:"varint,4,opt,name=accept_height,json=acceptHeight,proto3" json:"accept_height,omitempty"`
	// Time at which this htlc was accepted.
	AcceptTime int64 `protobuf:"varint,5,opt,name=accept_time,json=acceptTime,proto3" json:"accept_time,omitempty"`
	// Time at which this htlc was settled or canceled.
	ResolveTime int64 `protobuf:"varint,6,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	// Block height at which this htlc expires.
	ExpiryHeight int32 `protobuf:"varint,7,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"`
	// Current state the htlc is in.
	State InvoiceHTLCState `protobuf:"varint,8,opt,name=state,proto3,enum=lnrpc.InvoiceHTLCState" json:"state,omitempty"`
	// Custom tlv records.
	CustomRecords map[uint64][]byte `` /* 189-byte string literal not displayed */
	// The total amount of the mpp payment in msat.
	MppTotalAmtMsat      uint64   `protobuf:"varint,10,opt,name=mpp_total_amt_msat,json=mppTotalAmtMsat,proto3" json:"mpp_total_amt_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Details of an HTLC that paid to an invoice

func (*InvoiceHTLC) Descriptor

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

func (*InvoiceHTLC) GetAcceptHeight

func (m *InvoiceHTLC) GetAcceptHeight() int32

func (*InvoiceHTLC) GetAcceptTime

func (m *InvoiceHTLC) GetAcceptTime() int64

func (*InvoiceHTLC) GetAmtMsat

func (m *InvoiceHTLC) GetAmtMsat() uint64

func (*InvoiceHTLC) GetChanId

func (m *InvoiceHTLC) GetChanId() uint64

func (*InvoiceHTLC) GetCustomRecords

func (m *InvoiceHTLC) GetCustomRecords() map[uint64][]byte

func (*InvoiceHTLC) GetExpiryHeight

func (m *InvoiceHTLC) GetExpiryHeight() int32

func (*InvoiceHTLC) GetHtlcIndex

func (m *InvoiceHTLC) GetHtlcIndex() uint64

func (*InvoiceHTLC) GetMppTotalAmtMsat

func (m *InvoiceHTLC) GetMppTotalAmtMsat() uint64

func (*InvoiceHTLC) GetResolveTime

func (m *InvoiceHTLC) GetResolveTime() int64

func (*InvoiceHTLC) GetState

func (m *InvoiceHTLC) GetState() InvoiceHTLCState

func (*InvoiceHTLC) ProtoMessage

func (*InvoiceHTLC) ProtoMessage()

func (*InvoiceHTLC) Reset

func (m *InvoiceHTLC) Reset()

func (*InvoiceHTLC) String

func (m *InvoiceHTLC) String() string

func (*InvoiceHTLC) XXX_DiscardUnknown

func (m *InvoiceHTLC) XXX_DiscardUnknown()

func (*InvoiceHTLC) XXX_Marshal

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

func (*InvoiceHTLC) XXX_Merge

func (m *InvoiceHTLC) XXX_Merge(src proto.Message)

func (*InvoiceHTLC) XXX_Size

func (m *InvoiceHTLC) XXX_Size() int

func (*InvoiceHTLC) XXX_Unmarshal

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

type InvoiceHTLCState

type InvoiceHTLCState int32
const (
	InvoiceHTLCState_ACCEPTED InvoiceHTLCState = 0
	InvoiceHTLCState_SETTLED  InvoiceHTLCState = 1
	InvoiceHTLCState_CANCELED InvoiceHTLCState = 2
)

func (InvoiceHTLCState) EnumDescriptor

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

func (InvoiceHTLCState) String

func (x InvoiceHTLCState) String() string

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,json=addIndex,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,json=settleIndex,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 (m *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 KeyDescriptor

type KeyDescriptor struct {
	//
	//The raw bytes of the key being identified.
	RawKeyBytes []byte `protobuf:"bytes,1,opt,name=raw_key_bytes,json=rawKeyBytes,proto3" json:"raw_key_bytes,omitempty"`
	//
	//The key locator that identifies which key to use for signing.
	KeyLoc               *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*KeyDescriptor) Descriptor

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

func (*KeyDescriptor) GetKeyLoc

func (m *KeyDescriptor) GetKeyLoc() *KeyLocator

func (*KeyDescriptor) GetRawKeyBytes

func (m *KeyDescriptor) GetRawKeyBytes() []byte

func (*KeyDescriptor) ProtoMessage

func (*KeyDescriptor) ProtoMessage()

func (*KeyDescriptor) Reset

func (m *KeyDescriptor) Reset()

func (*KeyDescriptor) String

func (m *KeyDescriptor) String() string

func (*KeyDescriptor) XXX_DiscardUnknown

func (m *KeyDescriptor) XXX_DiscardUnknown()

func (*KeyDescriptor) XXX_Marshal

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

func (*KeyDescriptor) XXX_Merge

func (m *KeyDescriptor) XXX_Merge(src proto.Message)

func (*KeyDescriptor) XXX_Size

func (m *KeyDescriptor) XXX_Size() int

func (*KeyDescriptor) XXX_Unmarshal

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

type KeyLocator

type KeyLocator struct {
	// The family of key being identified.
	KeyFamily int32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"`
	// The precise index of the key being identified.
	KeyIndex             int32    `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyLocator) Descriptor

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

func (*KeyLocator) GetKeyFamily

func (m *KeyLocator) GetKeyFamily() int32

func (*KeyLocator) GetKeyIndex

func (m *KeyLocator) GetKeyIndex() int32

func (*KeyLocator) ProtoMessage

func (*KeyLocator) ProtoMessage()

func (*KeyLocator) Reset

func (m *KeyLocator) Reset()

func (*KeyLocator) String

func (m *KeyLocator) String() string

func (*KeyLocator) XXX_DiscardUnknown

func (m *KeyLocator) XXX_DiscardUnknown()

func (*KeyLocator) XXX_Marshal

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

func (*KeyLocator) XXX_Merge

func (m *KeyLocator) XXX_Merge(src proto.Message)

func (*KeyLocator) XXX_Size

func (m *KeyLocator) XXX_Size() int

func (*KeyLocator) XXX_Unmarshal

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

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 (m *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 {
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Compute and display the wallet's current balance`
	//
	//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)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Compute and display balances for each address in the wallet`
	//
	//GetAddressBalances returns the balance for each of the addresses in the wallet.
	GetAddressBalances(ctx context.Context, in *GetAddressBalancesRequest, opts ...grpc.CallOption) (*GetAddressBalancesResponse, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Returns the sum of the total available channel balance across all open channels`
	//
	//ChannelBalance returns a report on the total funds across all open channels,
	//categorized in local/remote, pending local/remote and unsettled local/remote
	//balances.
	ChannelBalance(ctx context.Context, in *ChannelBalanceRequest, opts ...grpc.CallOption) (*ChannelBalanceResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `List transactions from the wallet`
	//
	//GetTransactions returns a list describing all the known transactions
	//relevant to the wallet.
	GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*TransactionDetails, error)
	//
	//$pld.category: `Neutrino`
	//$pld.short_description: `Get fee estimates for sending bitcoin on-chain to multiple addresses`
	//
	//EstimateFee asks the chain backend to estimate the fee rate and total fees
	//for a transaction that pays to multiple specified outputs.
	//
	//When using REST, the `AddrToAmount` map type can be set by appending
	//`&AddrToAmount[<address>]=<amount_to_send>` to the URL. Unfortunately this
	//map type doesn't appear in the REST API documentation because of a bug in
	//the grpc-gateway library.
	EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Send bitcoin on-chain to an address`
	//
	//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`
	//Deprecated, use walletrpc.ListUnspent instead.
	//
	//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)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Send bitcoin on-chain to multiple addresses`
	//
	//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)
	//
	//NewAddress creates a new address under control of the local wallet.
	NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Signs a message using the private key of a payment address`
	//
	//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)
	//
	//$pld.category: `Peer`
	//$pld.short_description: `Connect to a remote pld peer`
	//
	//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)
	//
	//$pld.category: `Peer`
	//$pld.short_description: `Disconnect a remote pld peer identified by public key`
	//
	//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)
	//
	//$pld.category: `Peer`
	//$pld.short_description: `List all active, currently connected peers`
	//
	//ListPeers returns a verbose listing of all currently active peers.
	ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error)
	//
	//SubscribePeerEvents creates a uni-directional stream from the server to
	//the client in which any events relevant to the state of peers are sent
	//over. Events include peers going online and offline.
	SubscribePeerEvents(ctx context.Context, in *PeerEventSubscription, opts ...grpc.CallOption) (Lightning_SubscribePeerEventsClient, error)
	//
	//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: `getrecoveryinfo`
	//GetRecoveryInfo returns information concerning the recovery mode including
	//whether it's in a recovery mode, whether the recovery is finished, and the
	//progress made so far.
	GetRecoveryInfo(ctx context.Context, in *GetRecoveryInfoRequest, opts ...grpc.CallOption) (*GetRecoveryInfoResponse, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Display information pertaining to pending channels`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `List all open channels`
	//
	//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)
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `List all closed channels`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Open a channel to a node or an existing peer`
	//
	//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. Each OpenStatusUpdate will return
	//the pending channel ID of the in-progress channel. Depending on the
	//arguments specified in the OpenChannelRequest, this pending channel ID can
	//then be used to manually progress the channel funding flow.
	OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error)
	//
	//FundingStateStep is an advanced funding related call that allows the caller
	//to either execute some preparatory steps for a funding workflow, or
	//manually progress a funding workflow. The primary way a funding flow is
	//identified is via its pending channel ID. As an example, this method can be
	//used to specify that we're expecting a funding flow for a particular
	//pending channel ID, for which we need to use specific parameters.
	//Alternatively, this can be used to interactively drive PSBT signing for
	//funding for partially complete funding transactions.
	FundingStateStep(ctx context.Context, in *FundingTransitionMsg, opts ...grpc.CallOption) (*FundingStateStepResp, error)
	//
	//ChannelAcceptor dispatches a bi-directional streaming RPC in which
	//OpenChannel requests are sent to the client and the client responds with
	//a boolean that tells LND whether or not to accept the channel. This allows
	//node operators to specify their own criteria for accepting inbound channels
	//through a single persistent connection.
	ChannelAcceptor(ctx context.Context, opts ...grpc.CallOption) (Lightning_ChannelAcceptorClient, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Close an existing channel`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Abandons an existing channel`
	//
	//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. This method can also be
	//used to remove externally funded channels where the funding transaction was
	//never broadcast. Only available for non-externally funded channels in dev
	//build.
	AbandonChannel(ctx context.Context, in *AbandonChannelRequest, opts ...grpc.CallOption) (*AbandonChannelResponse, error)
	// Deprecated: Do not use.
	//
	//Deprecated, use routerrpc.SendPaymentV2. 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)
	// Deprecated: Do not use.
	// lncli: `sendtoroute`
	//Deprecated, use routerrpc.SendToRouteV2. 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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `Add a new invoice`
	//
	//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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `List all invoices currently stored within the database. Any active debug invoices are ignored`
	//
	//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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `Lookup an existing invoice by its payment hash`
	//
	//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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `Decode a payment request`
	//
	//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)
	//
	//$pld.category: `Payment`
	//$pld.short_description: `List all outgoing payments`
	//
	//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)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Describe the network graph`
	//
	//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)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Get node metrics`
	//
	//GetNodeMetrics returns node metrics calculated from the graph. Currently
	//the only supported metric is betweenness centrality of individual nodes.
	GetNodeMetrics(ctx context.Context, in *NodeMetricsRequest, opts ...grpc.CallOption) (*NodeMetricsResponse, error)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Get the state of a channel`
	//
	//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)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Get information on a specific node`
	//
	//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)
	//
	//$pld.category: `Payment`
	//$pld.short_description: `Query a route to a destination`
	//
	//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 returned 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.
	//
	//When using REST, the `dest_custom_records` map type can be set by appending
	//`&dest_custom_records[<record_number>]=<record_data_base64_url_encoded>`
	//to the URL. Unfortunately this map type doesn't appear in the REST API
	//documentation because of a bug in the grpc-gateway library.
	QueryRoutes(ctx context.Context, in *QueryRoutesRequest, opts ...grpc.CallOption) (*QueryRoutesResponse, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Get statistical information about the current state of the network`
	//
	//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)
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Stop and shutdown the daemon`
	//
	//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)
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Set the debug level`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Display the current fee policies of all active channels`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Update the channel policy for all channels, or a single channel`
	//
	//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)
	//
	//$pld.category: `Payment`
	//$pld.short_description: `Query the history of all forwarded HTLCs`
	//
	//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)
	//
	//$pld.category: `Backup`
	//$pld.short_description: `Obtain a static channel back up for a selected channels, or all known channels`
	//
	//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)
	//
	//$pld.category: `Backup`
	//$pld.short_description: `Verify an existing channel backup`
	//
	//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)
	//
	//$pld.category: `Backup`
	//$pld.short_description: `Restore an existing single or multi-channel static channel backup`
	//
	//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)
	//
	//$pld.category: `Unspent`
	//$pld.short_description: `Scan over the chain to find any transactions which may not have been recorded in the wallet's database`
	//
	//Scan over the chain to find any transactions which may not have been recorded in the wallet's database
	ReSync(ctx context.Context, in *ReSyncChainRequest, opts ...grpc.CallOption) (*ReSyncChainResponse, error)
	//
	//$pld.category: `Unspent`
	//$pld.short_description: `Stop a re-synchronization job before it's completion`
	//
	//Stop a re-synchronization job before it's completion
	StopReSync(ctx context.Context, in *StopReSyncRequest, opts ...grpc.CallOption) (*StopReSyncResponse, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Get the wallet seed words for this wallet`
	//
	//Get the wallet seed words for this wallet
	GetWalletSeed(ctx context.Context, in *GetWalletSeedRequest, opts ...grpc.CallOption) (*GetWalletSeedResponse, error)
	//
	//$pld.category: `Seed`
	//$pld.short_description: `Alter the passphrase which is used to encrypt a wallet seed`
	//
	//Change seed's passphrase
	ChangeSeedPassphrase(ctx context.Context, in *ChangeSeedPassphraseRequest, opts ...grpc.CallOption) (*ChangeSeedPassphraseResponse, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Get a secret seed`
	//
	//Get a secret seed which is generated using the wallet's private key, this can be used as a password for another application
	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Imports a WIF-encoded private key to the 'imported' account`
	//
	//Imports a WIF-encoded private key to the 'imported' account.
	ImportPrivKey(ctx context.Context, in *ImportPrivKeyRequest, opts ...grpc.CallOption) (*ImportPrivKeyResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Returns the private key in WIF encoding that controls some wallet address`
	//
	//Returns the private key in WIF encoding that controls some wallet address.
	DumpPrivKey(ctx context.Context, in *DumpPrivKeyRequest, opts ...grpc.CallOption) (*DumpPrivKeyResponse, error)
	//
	//$pld.category: `Lock`
	//$pld.short_description: `Returns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session`
	//
	//Returns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session.
	ListLockUnspent(ctx context.Context, in *ListLockUnspentRequest, opts ...grpc.CallOption) (*ListLockUnspentResponse, error)
	//
	//$pld.category: `Lock`
	//$pld.short_description: `Locks or unlocks an unspent output`
	//
	//Locks or unlocks an unspent output
	LockUnspent(ctx context.Context, in *LockUnspentRequest, opts ...grpc.CallOption) (*LockUnspentResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Create a transaction but do not send it to the chain`
	//
	//Create a transaction but po not send it to the chain
	CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*CreateTransactionResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Generates a new address`
	//
	//Generates and returns a new payment address
	GetNewAddress(ctx context.Context, in *GetNewAddressRequest, opts ...grpc.CallOption) (*GetNewAddressResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Returns a JSON object with details regarding a transaction relevant to this wallet`
	//
	//Returns a JSON object with details regarding a transaction relevant to this wallet.
	GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	//
	//$pld.category: `Network Steward Vote`
	//$pld.short_description: `Configure the wallet to vote for a network steward when making payments (note: payments to segwit addresses cannot vote)`
	//
	//Configure the wallet to vote for a network steward when making payments (note: payments to segwit addresses cannot vote)
	SetNetworkStewardVote(ctx context.Context, in *SetNetworkStewardVoteRequest, opts ...grpc.CallOption) (*SetNetworkStewardVoteResponse, error)
	//
	//$pld.category: `Network Steward Vote`
	//$pld.short_description: `Find out how the wallet is currently configured to vote in a network steward election`
	//
	//Find out how the wallet is currently configured to vote in a network steward election
	GetNetworkStewardVote(ctx context.Context, in *GetNetworkStewardVoteRequest, opts ...grpc.CallOption) (*GetNetworkStewardVoteResponse, error)
	//
	//$pld.category: `Neutrino`
	//$pld.short_description: `Broadcast a transaction onchain`
	//
	//Broadcast a transaction
	BcastTransaction(ctx context.Context, in *BcastTransactionRequest, opts ...grpc.CallOption) (*BcastTransactionResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Authors, signs, and sends a transaction that outputs some amount to a payment address`
	//
	//SendFrom authors, signs, and sends a transaction that outputs some amount to a payment address.
	SendFrom(ctx context.Context, in *SendFromRequest, opts ...grpc.CallOption) (*SendFromResponse, error)
	//
	//$pld.category: `Util`
	//$pld.short_description: `Returns a JSON object representing the provided serialized, hex-encoded transaction.`
	//
	//DecodeRawTransaction returns a JSON object representing the provided serialized, hex-encoded transaction.
	DecodeRawTransaction(ctx context.Context, in *DecodeRawTransactionRequest, opts ...grpc.CallOption) (*DecodeRawTransactionResponse, error)
}

LightningClient is the client API for Lightning service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLightningClient

func NewLightningClient(cc grpc.ClientConnInterface) LightningClient

type LightningNode

type LightningNode struct {
	LastUpdate uint32 `protobuf:"varint,1,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	// The public key of the node
	PubKey               []byte              `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,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"`
	Features             map[uint32]*Feature `` /* 158-byte string literal not displayed */
	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) GetFeatures

func (m *LightningNode) GetFeatures() map[uint32]*Feature

func (*LightningNode) GetLastUpdate

func (m *LightningNode) GetLastUpdate() uint32

func (*LightningNode) GetPubKey

func (m *LightningNode) GetPubKey() []byte

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 (m *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 {
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Compute and display the wallet's current balance`
	//
	//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)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Compute and display balances for each address in the wallet`
	//
	//GetAddressBalances returns the balance for each of the addresses in the wallet.
	GetAddressBalances(context.Context, *GetAddressBalancesRequest) (*GetAddressBalancesResponse, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Returns the sum of the total available channel balance across all open channels`
	//
	//ChannelBalance returns a report on the total funds across all open channels,
	//categorized in local/remote, pending local/remote and unsettled local/remote
	//balances.
	ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `List transactions from the wallet`
	//
	//GetTransactions returns a list describing all the known transactions
	//relevant to the wallet.
	GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error)
	//
	//$pld.category: `Neutrino`
	//$pld.short_description: `Get fee estimates for sending bitcoin on-chain to multiple addresses`
	//
	//EstimateFee asks the chain backend to estimate the fee rate and total fees
	//for a transaction that pays to multiple specified outputs.
	//
	//When using REST, the `AddrToAmount` map type can be set by appending
	//`&AddrToAmount[<address>]=<amount_to_send>` to the URL. Unfortunately this
	//map type doesn't appear in the REST API documentation because of a bug in
	//the grpc-gateway library.
	EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Send bitcoin on-chain to an address`
	//
	//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`
	//Deprecated, use walletrpc.ListUnspent instead.
	//
	//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
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Send bitcoin on-chain to multiple addresses`
	//
	//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)
	//
	//NewAddress creates a new address under control of the local wallet.
	NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Signs a message using the private key of a payment address`
	//
	//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)
	//
	//$pld.category: `Peer`
	//$pld.short_description: `Connect to a remote pld peer`
	//
	//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)
	//
	//$pld.category: `Peer`
	//$pld.short_description: `Disconnect a remote pld peer identified by public key`
	//
	//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)
	//
	//$pld.category: `Peer`
	//$pld.short_description: `List all active, currently connected peers`
	//
	//ListPeers returns a verbose listing of all currently active peers.
	ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
	//
	//SubscribePeerEvents creates a uni-directional stream from the server to
	//the client in which any events relevant to the state of peers are sent
	//over. Events include peers going online and offline.
	SubscribePeerEvents(*PeerEventSubscription, Lightning_SubscribePeerEventsServer) error
	//
	//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: `getrecoveryinfo`
	//GetRecoveryInfo returns information concerning the recovery mode including
	//whether it's in a recovery mode, whether the recovery is finished, and the
	//progress made so far.
	GetRecoveryInfo(context.Context, *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Display information pertaining to pending channels`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `List all open channels`
	//
	//ListChannels returns a description of all the open channels that this node
	//is a participant in.
	ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
	//
	//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
	//
	//$pld.category: `Channel`
	//$pld.short_description: `List all closed channels`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Open a channel to a node or an existing peer`
	//
	//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. Each OpenStatusUpdate will return
	//the pending channel ID of the in-progress channel. Depending on the
	//arguments specified in the OpenChannelRequest, this pending channel ID can
	//then be used to manually progress the channel funding flow.
	OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
	//
	//FundingStateStep is an advanced funding related call that allows the caller
	//to either execute some preparatory steps for a funding workflow, or
	//manually progress a funding workflow. The primary way a funding flow is
	//identified is via its pending channel ID. As an example, this method can be
	//used to specify that we're expecting a funding flow for a particular
	//pending channel ID, for which we need to use specific parameters.
	//Alternatively, this can be used to interactively drive PSBT signing for
	//funding for partially complete funding transactions.
	FundingStateStep(context.Context, *FundingTransitionMsg) (*FundingStateStepResp, error)
	//
	//ChannelAcceptor dispatches a bi-directional streaming RPC in which
	//OpenChannel requests are sent to the client and the client responds with
	//a boolean that tells LND whether or not to accept the channel. This allows
	//node operators to specify their own criteria for accepting inbound channels
	//through a single persistent connection.
	ChannelAcceptor(Lightning_ChannelAcceptorServer) error
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Close an existing channel`
	//
	//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
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Abandons an existing channel`
	//
	//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. This method can also be
	//used to remove externally funded channels where the funding transaction was
	//never broadcast. Only available for non-externally funded channels in dev
	//build.
	AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error)
	// Deprecated: Do not use.
	//
	//Deprecated, use routerrpc.SendPaymentV2. 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)
	// Deprecated: Do not use.
	// lncli: `sendtoroute`
	//Deprecated, use routerrpc.SendToRouteV2. 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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `Add a new invoice`
	//
	//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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `List all invoices currently stored within the database. Any active debug invoices are ignored`
	//
	//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)
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `Lookup an existing invoice by its payment hash`
	//
	//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
	//
	//$pld.category: `Invoice`
	//$pld.short_description: `Decode a payment request`
	//
	//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)
	//
	//$pld.category: `Payment`
	//$pld.short_description: `List all outgoing payments`
	//
	//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)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Describe the network graph`
	//
	//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)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Get node metrics`
	//
	//GetNodeMetrics returns node metrics calculated from the graph. Currently
	//the only supported metric is betweenness centrality of individual nodes.
	GetNodeMetrics(context.Context, *NodeMetricsRequest) (*NodeMetricsResponse, error)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Get the state of a channel`
	//
	//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)
	//
	//$pld.category: `Graph`
	//$pld.short_description: `Get information on a specific node`
	//
	//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)
	//
	//$pld.category: `Payment`
	//$pld.short_description: `Query a route to a destination`
	//
	//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 returned 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.
	//
	//When using REST, the `dest_custom_records` map type can be set by appending
	//`&dest_custom_records[<record_number>]=<record_data_base64_url_encoded>`
	//to the URL. Unfortunately this map type doesn't appear in the REST API
	//documentation because of a bug in the grpc-gateway library.
	QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Get statistical information about the current state of the network`
	//
	//GetNetworkInfo returns some basic stats about the known channel graph from
	//the point of view of the node.
	GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error)
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Stop and shutdown the daemon`
	//
	//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
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Set the debug level`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Display the current fee policies of all active channels`
	//
	//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)
	//
	//$pld.category: `Channel`
	//$pld.short_description: `Update the channel policy for all channels, or a single channel`
	//
	//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)
	//
	//$pld.category: `Payment`
	//$pld.short_description: `Query the history of all forwarded HTLCs`
	//
	//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)
	//
	//$pld.category: `Backup`
	//$pld.short_description: `Obtain a static channel back up for a selected channels, or all known channels`
	//
	//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)
	//
	//$pld.category: `Backup`
	//$pld.short_description: `Verify an existing channel backup`
	//
	//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)
	//
	//$pld.category: `Backup`
	//$pld.short_description: `Restore an existing single or multi-channel static channel backup`
	//
	//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
	//
	//$pld.category: `Unspent`
	//$pld.short_description: `Scan over the chain to find any transactions which may not have been recorded in the wallet's database`
	//
	//Scan over the chain to find any transactions which may not have been recorded in the wallet's database
	ReSync(context.Context, *ReSyncChainRequest) (*ReSyncChainResponse, error)
	//
	//$pld.category: `Unspent`
	//$pld.short_description: `Stop a re-synchronization job before it's completion`
	//
	//Stop a re-synchronization job before it's completion
	StopReSync(context.Context, *StopReSyncRequest) (*StopReSyncResponse, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Get the wallet seed words for this wallet`
	//
	//Get the wallet seed words for this wallet
	GetWalletSeed(context.Context, *GetWalletSeedRequest) (*GetWalletSeedResponse, error)
	//
	//$pld.category: `Seed`
	//$pld.short_description: `Alter the passphrase which is used to encrypt a wallet seed`
	//
	//Change seed's passphrase
	ChangeSeedPassphrase(context.Context, *ChangeSeedPassphraseRequest) (*ChangeSeedPassphraseResponse, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Get a secret seed`
	//
	//Get a secret seed which is generated using the wallet's private key, this can be used as a password for another application
	GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Imports a WIF-encoded private key to the 'imported' account`
	//
	//Imports a WIF-encoded private key to the 'imported' account.
	ImportPrivKey(context.Context, *ImportPrivKeyRequest) (*ImportPrivKeyResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Returns the private key in WIF encoding that controls some wallet address`
	//
	//Returns the private key in WIF encoding that controls some wallet address.
	DumpPrivKey(context.Context, *DumpPrivKeyRequest) (*DumpPrivKeyResponse, error)
	//
	//$pld.category: `Lock`
	//$pld.short_description: `Returns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session`
	//
	//Returns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session.
	ListLockUnspent(context.Context, *ListLockUnspentRequest) (*ListLockUnspentResponse, error)
	//
	//$pld.category: `Lock`
	//$pld.short_description: `Locks or unlocks an unspent output`
	//
	//Locks or unlocks an unspent output
	LockUnspent(context.Context, *LockUnspentRequest) (*LockUnspentResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Create a transaction but do not send it to the chain`
	//
	//Create a transaction but po not send it to the chain
	CreateTransaction(context.Context, *CreateTransactionRequest) (*CreateTransactionResponse, error)
	//
	//$pld.category: `Address`
	//$pld.short_description: `Generates a new address`
	//
	//Generates and returns a new payment address
	GetNewAddress(context.Context, *GetNewAddressRequest) (*GetNewAddressResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Returns a JSON object with details regarding a transaction relevant to this wallet`
	//
	//Returns a JSON object with details regarding a transaction relevant to this wallet.
	GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
	//
	//$pld.category: `Network Steward Vote`
	//$pld.short_description: `Configure the wallet to vote for a network steward when making payments (note: payments to segwit addresses cannot vote)`
	//
	//Configure the wallet to vote for a network steward when making payments (note: payments to segwit addresses cannot vote)
	SetNetworkStewardVote(context.Context, *SetNetworkStewardVoteRequest) (*SetNetworkStewardVoteResponse, error)
	//
	//$pld.category: `Network Steward Vote`
	//$pld.short_description: `Find out how the wallet is currently configured to vote in a network steward election`
	//
	//Find out how the wallet is currently configured to vote in a network steward election
	GetNetworkStewardVote(context.Context, *GetNetworkStewardVoteRequest) (*GetNetworkStewardVoteResponse, error)
	//
	//$pld.category: `Neutrino`
	//$pld.short_description: `Broadcast a transaction onchain`
	//
	//Broadcast a transaction
	BcastTransaction(context.Context, *BcastTransactionRequest) (*BcastTransactionResponse, error)
	//
	//$pld.category: `Transaction`
	//$pld.short_description: `Authors, signs, and sends a transaction that outputs some amount to a payment address`
	//
	//SendFrom authors, signs, and sends a transaction that outputs some amount to a payment address.
	SendFrom(context.Context, *SendFromRequest) (*SendFromResponse, error)
	//
	//$pld.category: `Util`
	//$pld.short_description: `Returns a JSON object representing the provided serialized, hex-encoded transaction.`
	//
	//DecodeRawTransaction returns a JSON object representing the provided serialized, hex-encoded transaction.
	DecodeRawTransaction(context.Context, *DecodeRawTransactionRequest) (*DecodeRawTransactionResponse, error)
}

LightningServer is the server API for Lightning service. All implementations should embed UnimplementedLightningServer for forward compatibility

type Lightning_ChannelAcceptorClient

type Lightning_ChannelAcceptorClient interface {
	Send(*ChannelAcceptResponse) error
	Recv() (*ChannelAcceptRequest, error)
	grpc.ClientStream
}

type Lightning_ChannelAcceptorServer

type Lightning_ChannelAcceptorServer interface {
	Send(*ChannelAcceptRequest) error
	Recv() (*ChannelAcceptResponse, error)
	grpc.ServerStream
}

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_SubscribePeerEventsClient

type Lightning_SubscribePeerEventsClient interface {
	Recv() (*PeerEvent, error)
	grpc.ClientStream
}

type Lightning_SubscribePeerEventsServer

type Lightning_SubscribePeerEventsServer interface {
	Send(*PeerEvent) 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"`
	//
	//Filters the response for channels with a target peer's pubkey. If peer is
	//empty, all channels will be returned.
	Peer                 []byte   `protobuf:"bytes,5,opt,name=peer,proto3" json:"peer,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) GetPeer

func (m *ListChannelsRequest) GetPeer() []byte

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 (m *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 (m *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 invoices that are not settled and not canceled will be returned
	//in the response.
	PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,json=pendingOnly,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,json=indexOffset,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,json=numMaxInvoices,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 (m *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,json=lastIndexOffset,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,json=firstIndexOffset,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 (m *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 ListLockUnspentRequest

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

func (*ListLockUnspentRequest) Descriptor

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

func (*ListLockUnspentRequest) ProtoMessage

func (*ListLockUnspentRequest) ProtoMessage()

func (*ListLockUnspentRequest) Reset

func (m *ListLockUnspentRequest) Reset()

func (*ListLockUnspentRequest) String

func (m *ListLockUnspentRequest) String() string

func (*ListLockUnspentRequest) XXX_DiscardUnknown

func (m *ListLockUnspentRequest) XXX_DiscardUnknown()

func (*ListLockUnspentRequest) XXX_Marshal

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

func (*ListLockUnspentRequest) XXX_Merge

func (m *ListLockUnspentRequest) XXX_Merge(src proto.Message)

func (*ListLockUnspentRequest) XXX_Size

func (m *ListLockUnspentRequest) XXX_Size() int

func (*ListLockUnspentRequest) XXX_Unmarshal

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

type ListLockUnspentResponse

type ListLockUnspentResponse struct {
	LockedUnspent        []string `protobuf:"bytes,1,rep,name=locked_unspent,json=lockedUnspent,proto3" json:"locked_unspent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListLockUnspentResponse) Descriptor

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

func (*ListLockUnspentResponse) GetLockedUnspent

func (m *ListLockUnspentResponse) GetLockedUnspent() []string

func (*ListLockUnspentResponse) ProtoMessage

func (*ListLockUnspentResponse) ProtoMessage()

func (*ListLockUnspentResponse) Reset

func (m *ListLockUnspentResponse) Reset()

func (*ListLockUnspentResponse) String

func (m *ListLockUnspentResponse) String() string

func (*ListLockUnspentResponse) XXX_DiscardUnknown

func (m *ListLockUnspentResponse) XXX_DiscardUnknown()

func (*ListLockUnspentResponse) XXX_Marshal

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

func (*ListLockUnspentResponse) XXX_Merge

func (m *ListLockUnspentResponse) XXX_Merge(src proto.Message)

func (*ListLockUnspentResponse) XXX_Size

func (m *ListLockUnspentResponse) XXX_Size() int

func (*ListLockUnspentResponse) XXX_Unmarshal

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

type ListPaymentsRequest

type ListPaymentsRequest struct {
	//
	//If true, then return payments that have not yet fully completed. This means
	//that pending payments, as well as failed payments will show up if this
	//field is set to true. This flag doesn't change the meaning of the indices,
	//which are tied to individual payments.
	IncludeIncomplete bool `protobuf:"varint,1,opt,name=include_incomplete,json=includeIncomplete,proto3" json:"include_incomplete,omitempty"`
	//
	//The index of a payment that will be used as either the start or end of a
	//query to determine which payments should be returned in the response. The
	//index_offset is exclusive. In the case of a zero index_offset, the query
	//will start with the oldest payment when paginating forwards, or will end
	//with the most recent payment when paginating backwards.
	IndexOffset uint64 `protobuf:"varint,2,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
	// The maximal number of payments returned in the response to this query.
	MaxPayments uint64 `protobuf:"varint,3,opt,name=max_payments,json=maxPayments,proto3" json:"max_payments,omitempty"`
	//
	//If set, the payments returned will result from seeking backwards from the
	//specified index offset. This can be used to paginate backwards. The order
	//of the returned payments is always oldest first (ascending index order).
	Reversed             bool     `protobuf:"varint,4,opt,name=reversed,proto3" json:"reversed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPaymentsRequest) Descriptor

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

func (*ListPaymentsRequest) GetIncludeIncomplete

func (m *ListPaymentsRequest) GetIncludeIncomplete() bool

func (*ListPaymentsRequest) GetIndexOffset

func (m *ListPaymentsRequest) GetIndexOffset() uint64

func (*ListPaymentsRequest) GetMaxPayments

func (m *ListPaymentsRequest) GetMaxPayments() uint64

func (*ListPaymentsRequest) GetReversed

func (m *ListPaymentsRequest) GetReversed() bool

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 (m *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"`
	//
	//The index of the first item in the set of returned payments. This can be
	//used as the index_offset to continue seeking backwards in the next request.
	FirstIndexOffset uint64 `protobuf:"varint,2,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"`
	//
	//The index of the last item in the set of returned payments. This can be used
	//as the index_offset to continue seeking forwards in the next request.
	LastIndexOffset      uint64   `protobuf:"varint,3,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPaymentsResponse) Descriptor

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

func (*ListPaymentsResponse) GetFirstIndexOffset

func (m *ListPaymentsResponse) GetFirstIndexOffset() uint64

func (*ListPaymentsResponse) GetLastIndexOffset

func (m *ListPaymentsResponse) GetLastIndexOffset() uint64

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 (m *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 {
	//
	//If true, only the last error that our peer sent us will be returned with
	//the peer's information, rather than the full set of historic errors we have
	//stored.
	LatestError          bool     `protobuf:"varint,1,opt,name=latest_error,json=latestError,proto3" json:"latest_error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPeersRequest) Descriptor

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

func (*ListPeersRequest) GetLatestError

func (m *ListPeersRequest) GetLatestError() bool

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 (m *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 (m *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 (m *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 (m *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 LockUnspentRequest

type LockUnspentRequest struct {
	Unlock               bool                      `protobuf:"varint,1,opt,name=unlock,proto3" json:"unlock,omitempty"`
	Transactions         []*LockUnspentTransaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Lockname             string                    `protobuf:"bytes,3,opt,name=lockname,proto3" json:"lockname,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*LockUnspentRequest) Descriptor

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

func (*LockUnspentRequest) GetLockname

func (m *LockUnspentRequest) GetLockname() string

func (*LockUnspentRequest) GetTransactions

func (m *LockUnspentRequest) GetTransactions() []*LockUnspentTransaction

func (*LockUnspentRequest) GetUnlock

func (m *LockUnspentRequest) GetUnlock() bool

func (*LockUnspentRequest) ProtoMessage

func (*LockUnspentRequest) ProtoMessage()

func (*LockUnspentRequest) Reset

func (m *LockUnspentRequest) Reset()

func (*LockUnspentRequest) String

func (m *LockUnspentRequest) String() string

func (*LockUnspentRequest) XXX_DiscardUnknown

func (m *LockUnspentRequest) XXX_DiscardUnknown()

func (*LockUnspentRequest) XXX_Marshal

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

func (*LockUnspentRequest) XXX_Merge

func (m *LockUnspentRequest) XXX_Merge(src proto.Message)

func (*LockUnspentRequest) XXX_Size

func (m *LockUnspentRequest) XXX_Size() int

func (*LockUnspentRequest) XXX_Unmarshal

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

type LockUnspentResponse

type LockUnspentResponse struct {
	Result               bool     `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LockUnspentResponse) Descriptor

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

func (*LockUnspentResponse) GetResult

func (m *LockUnspentResponse) GetResult() bool

func (*LockUnspentResponse) ProtoMessage

func (*LockUnspentResponse) ProtoMessage()

func (*LockUnspentResponse) Reset

func (m *LockUnspentResponse) Reset()

func (*LockUnspentResponse) String

func (m *LockUnspentResponse) String() string

func (*LockUnspentResponse) XXX_DiscardUnknown

func (m *LockUnspentResponse) XXX_DiscardUnknown()

func (*LockUnspentResponse) XXX_Marshal

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

func (*LockUnspentResponse) XXX_Merge

func (m *LockUnspentResponse) XXX_Merge(src proto.Message)

func (*LockUnspentResponse) XXX_Size

func (m *LockUnspentResponse) XXX_Size() int

func (*LockUnspentResponse) XXX_Unmarshal

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

type LockUnspentTransaction

type LockUnspentTransaction struct {
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Vout                 int32    `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LockUnspentTransaction) Descriptor

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

func (*LockUnspentTransaction) GetTxid

func (m *LockUnspentTransaction) GetTxid() string

func (*LockUnspentTransaction) GetVout

func (m *LockUnspentTransaction) GetVout() int32

func (*LockUnspentTransaction) ProtoMessage

func (*LockUnspentTransaction) ProtoMessage()

func (*LockUnspentTransaction) Reset

func (m *LockUnspentTransaction) Reset()

func (*LockUnspentTransaction) String

func (m *LockUnspentTransaction) String() string

func (*LockUnspentTransaction) XXX_DiscardUnknown

func (m *LockUnspentTransaction) XXX_DiscardUnknown()

func (*LockUnspentTransaction) XXX_Marshal

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

func (*LockUnspentTransaction) XXX_Merge

func (m *LockUnspentTransaction) XXX_Merge(src proto.Message)

func (*LockUnspentTransaction) XXX_Size

func (m *LockUnspentTransaction) XXX_Size() int

func (*LockUnspentTransaction) XXX_Unmarshal

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

type MPPRecord

type MPPRecord struct {
	//
	//A unique, random identifier used to authenticate the sender as the intended
	//payer of a multi-path payment. The payment_addr must be the same for all
	//subpayments, and match the payment_addr provided in the receiver's invoice.
	//The same payment_addr must be used on all subpayments.
	PaymentAddr []byte `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
	//
	//The total amount in milli-satoshis being sent as part of a larger multi-path
	//payment. The caller is responsible for ensuring subpayments to the same node
	//and payment_hash sum exactly to total_amt_msat. The same
	//total_amt_msat must be used on all subpayments.
	TotalAmtMsat         int64    `protobuf:"varint,10,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MPPRecord) Descriptor

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

func (*MPPRecord) GetPaymentAddr

func (m *MPPRecord) GetPaymentAddr() []byte

func (*MPPRecord) GetTotalAmtMsat

func (m *MPPRecord) GetTotalAmtMsat() int64

func (*MPPRecord) ProtoMessage

func (*MPPRecord) ProtoMessage()

func (*MPPRecord) Reset

func (m *MPPRecord) Reset()

func (*MPPRecord) String

func (m *MPPRecord) String() string

func (*MPPRecord) XXX_DiscardUnknown

func (m *MPPRecord) XXX_DiscardUnknown()

func (*MPPRecord) XXX_Marshal

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

func (*MPPRecord) XXX_Merge

func (m *MPPRecord) XXX_Merge(src proto.Message)

func (*MPPRecord) XXX_Size

func (m *MPPRecord) XXX_Size() int

func (*MPPRecord) XXX_Unmarshal

func (m *MPPRecord) 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 MetaServiceClient

type MetaServiceClient interface {
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Returns basic information related to the active daemon`
	//
	//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.
	GetInfo2(ctx context.Context, in *GetInfo2Request, opts ...grpc.CallOption) (*GetInfo2Response, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Change an encrypted wallet's password at startup`
	//
	//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)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Check the wallet's password`
	//
	//CheckPassword verify that the password in the request is valid for the wallet.
	CheckPassword(ctx context.Context, in *CheckPasswordRequest, opts ...grpc.CallOption) (*CheckPasswordResponse, error)
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Force pld to crash (for debugging purposes)`
	//
	//Force a pld crash (for debugging purposes)
	ForceCrash(ctx context.Context, in *CrashRequest, opts ...grpc.CallOption) (*CrashResponse, error)
}

MetaServiceClient is the client API for MetaService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MetaServiceServer

type MetaServiceServer interface {
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Returns basic information related to the active daemon`
	//
	//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.
	GetInfo2(context.Context, *GetInfo2Request) (*GetInfo2Response, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Change an encrypted wallet's password at startup`
	//
	//ChangePassword changes the password of the encrypted wallet. This will
	//automatically unlock the wallet database if successful.
	ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Check the wallet's password`
	//
	//CheckPassword verify that the password in the request is valid for the wallet.
	CheckPassword(context.Context, *CheckPasswordRequest) (*CheckPasswordResponse, error)
	//
	//$pld.category: `Meta`
	//$pld.short_description: `Force pld to crash (for debugging purposes)`
	//
	//Force a pld crash (for debugging purposes)
	ForceCrash(context.Context, *CrashRequest) (*CrashResponse, error)
}

MetaServiceServer is the server API for MetaService service. All implementations should embed UnimplementedMetaServiceServer for forward compatibility

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,json=chanPoints,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,json=multiChanBackup,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 (m *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,json=graphDiameter,proto3" json:"graph_diameter,omitempty"`
	AvgOutDegree         float64 `protobuf:"fixed64,2,opt,name=avg_out_degree,json=avgOutDegree,proto3" json:"avg_out_degree,omitempty"`
	MaxOutDegree         uint32  `protobuf:"varint,3,opt,name=max_out_degree,json=maxOutDegree,proto3" json:"max_out_degree,omitempty"`
	NumNodes             uint32  `protobuf:"varint,4,opt,name=num_nodes,json=numNodes,proto3" json:"num_nodes,omitempty"`
	NumChannels          uint32  `protobuf:"varint,5,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	TotalNetworkCapacity int64   `protobuf:"varint,6,opt,name=total_network_capacity,json=totalNetworkCapacity,proto3" json:"total_network_capacity,omitempty"`
	AvgChannelSize       float64 `protobuf:"fixed64,7,opt,name=avg_channel_size,json=avgChannelSize,proto3" json:"avg_channel_size,omitempty"`
	MinChannelSize       int64   `protobuf:"varint,8,opt,name=min_channel_size,json=minChannelSize,proto3" json:"min_channel_size,omitempty"`
	MaxChannelSize       int64   `protobuf:"varint,9,opt,name=max_channel_size,json=maxChannelSize,proto3" json:"max_channel_size,omitempty"`
	MedianChannelSizeSat int64   `` /* 127-byte string literal not displayed */
	// The number of edges marked as zombies.
	NumZombieChans       uint64   `protobuf:"varint,11,opt,name=num_zombie_chans,json=numZombieChans,proto3" json:"num_zombie_chans,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) GetNumZombieChans

func (m *NetworkInfo) GetNumZombieChans() uint64

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 (m *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 (m *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 NeutrinoBan

type NeutrinoBan struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Reason               string   `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	EndTime              string   `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	BanScore             int32    `protobuf:"varint,4,opt,name=ban_score,json=banScore,proto3" json:"ban_score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NeutrinoBan) Descriptor

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

func (*NeutrinoBan) GetAddr

func (m *NeutrinoBan) GetAddr() string

func (*NeutrinoBan) GetBanScore

func (m *NeutrinoBan) GetBanScore() int32

func (*NeutrinoBan) GetEndTime

func (m *NeutrinoBan) GetEndTime() string

func (*NeutrinoBan) GetReason

func (m *NeutrinoBan) GetReason() string

func (*NeutrinoBan) ProtoMessage

func (*NeutrinoBan) ProtoMessage()

func (*NeutrinoBan) Reset

func (m *NeutrinoBan) Reset()

func (*NeutrinoBan) String

func (m *NeutrinoBan) String() string

func (*NeutrinoBan) XXX_DiscardUnknown

func (m *NeutrinoBan) XXX_DiscardUnknown()

func (*NeutrinoBan) XXX_Marshal

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

func (*NeutrinoBan) XXX_Merge

func (m *NeutrinoBan) XXX_Merge(src proto.Message)

func (*NeutrinoBan) XXX_Size

func (m *NeutrinoBan) XXX_Size() int

func (*NeutrinoBan) XXX_Unmarshal

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

type NeutrinoInfo

type NeutrinoInfo struct {
	Peers                []*PeerDesc      `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	Bans                 []*NeutrinoBan   `protobuf:"bytes,2,rep,name=bans,proto3" json:"bans,omitempty"`
	Queries              []*NeutrinoQuery `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
	BlockHash            string           `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Height               int32            `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	BlockTimestamp       string           `protobuf:"bytes,6,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"`
	IsSyncing            bool             `protobuf:"varint,7,opt,name=is_syncing,json=isSyncing,proto3" json:"is_syncing,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*NeutrinoInfo) Descriptor

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

func (*NeutrinoInfo) GetBans

func (m *NeutrinoInfo) GetBans() []*NeutrinoBan

func (*NeutrinoInfo) GetBlockHash

func (m *NeutrinoInfo) GetBlockHash() string

func (*NeutrinoInfo) GetBlockTimestamp

func (m *NeutrinoInfo) GetBlockTimestamp() string

func (*NeutrinoInfo) GetHeight

func (m *NeutrinoInfo) GetHeight() int32

func (*NeutrinoInfo) GetIsSyncing

func (m *NeutrinoInfo) GetIsSyncing() bool

func (*NeutrinoInfo) GetPeers

func (m *NeutrinoInfo) GetPeers() []*PeerDesc

func (*NeutrinoInfo) GetQueries

func (m *NeutrinoInfo) GetQueries() []*NeutrinoQuery

func (*NeutrinoInfo) ProtoMessage

func (*NeutrinoInfo) ProtoMessage()

func (*NeutrinoInfo) Reset

func (m *NeutrinoInfo) Reset()

func (*NeutrinoInfo) String

func (m *NeutrinoInfo) String() string

func (*NeutrinoInfo) XXX_DiscardUnknown

func (m *NeutrinoInfo) XXX_DiscardUnknown()

func (*NeutrinoInfo) XXX_Marshal

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

func (*NeutrinoInfo) XXX_Merge

func (m *NeutrinoInfo) XXX_Merge(src proto.Message)

func (*NeutrinoInfo) XXX_Size

func (m *NeutrinoInfo) XXX_Size() int

func (*NeutrinoInfo) XXX_Unmarshal

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

type NeutrinoQuery

type NeutrinoQuery struct {
	Peer                 string   `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	Command              string   `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	ReqNum               uint32   `protobuf:"varint,3,opt,name=req_num,json=reqNum,proto3" json:"req_num,omitempty"`
	CreateTime           uint32   `protobuf:"varint,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	LastRequestTime      uint32   `protobuf:"varint,5,opt,name=last_request_time,json=lastRequestTime,proto3" json:"last_request_time,omitempty"`
	LastResponseTime     uint32   `protobuf:"varint,6,opt,name=last_response_time,json=lastResponseTime,proto3" json:"last_response_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NeutrinoQuery) Descriptor

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

func (*NeutrinoQuery) GetCommand

func (m *NeutrinoQuery) GetCommand() string

func (*NeutrinoQuery) GetCreateTime

func (m *NeutrinoQuery) GetCreateTime() uint32

func (*NeutrinoQuery) GetLastRequestTime

func (m *NeutrinoQuery) GetLastRequestTime() uint32

func (*NeutrinoQuery) GetLastResponseTime

func (m *NeutrinoQuery) GetLastResponseTime() uint32

func (*NeutrinoQuery) GetPeer

func (m *NeutrinoQuery) GetPeer() string

func (*NeutrinoQuery) GetReqNum

func (m *NeutrinoQuery) GetReqNum() uint32

func (*NeutrinoQuery) ProtoMessage

func (*NeutrinoQuery) ProtoMessage()

func (*NeutrinoQuery) Reset

func (m *NeutrinoQuery) Reset()

func (*NeutrinoQuery) String

func (m *NeutrinoQuery) String() string

func (*NeutrinoQuery) XXX_DiscardUnknown

func (m *NeutrinoQuery) XXX_DiscardUnknown()

func (*NeutrinoQuery) XXX_Marshal

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

func (*NeutrinoQuery) XXX_Merge

func (m *NeutrinoQuery) XXX_Merge(src proto.Message)

func (*NeutrinoQuery) XXX_Size

func (m *NeutrinoQuery) XXX_Size() int

func (*NeutrinoQuery) XXX_Unmarshal

func (m *NeutrinoQuery) 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 (m *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 (m *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 (m *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"`
	// The total number of channels for the node.
	NumChannels uint32 `protobuf:"varint,2,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	// The sum of all channels capacity for the node, denominated in satoshis.
	TotalCapacity int64 `protobuf:"varint,3,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"`
	// A list of all public channels for the node.
	Channels             []*ChannelEdge `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*NodeInfo) Descriptor

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

func (*NodeInfo) GetChannels

func (m *NodeInfo) GetChannels() []*ChannelEdge

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 (m *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 compressed public of the target node
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// If true, will include all known channels associated with the node.
	IncludeChannels      bool     `protobuf:"varint,2,opt,name=include_channels,json=includeChannels,proto3" json:"include_channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeInfoRequest) Descriptor

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

func (*NodeInfoRequest) GetIncludeChannels

func (m *NodeInfoRequest) GetIncludeChannels() bool

func (*NodeInfoRequest) GetPubKey

func (m *NodeInfoRequest) GetPubKey() []byte

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 (m *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 NodeMetricType

type NodeMetricType int32
const (
	NodeMetricType_UNKNOWN                NodeMetricType = 0
	NodeMetricType_BETWEENNESS_CENTRALITY NodeMetricType = 1
)

func (NodeMetricType) EnumDescriptor

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

func (NodeMetricType) String

func (x NodeMetricType) String() string

type NodeMetricsRequest

type NodeMetricsRequest struct {
	// The requested node metrics.
	Types                []NodeMetricType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=lnrpc.NodeMetricType" json:"types,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*NodeMetricsRequest) Descriptor

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

func (*NodeMetricsRequest) GetTypes

func (m *NodeMetricsRequest) GetTypes() []NodeMetricType

func (*NodeMetricsRequest) ProtoMessage

func (*NodeMetricsRequest) ProtoMessage()

func (*NodeMetricsRequest) Reset

func (m *NodeMetricsRequest) Reset()

func (*NodeMetricsRequest) String

func (m *NodeMetricsRequest) String() string

func (*NodeMetricsRequest) XXX_DiscardUnknown

func (m *NodeMetricsRequest) XXX_DiscardUnknown()

func (*NodeMetricsRequest) XXX_Marshal

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

func (*NodeMetricsRequest) XXX_Merge

func (m *NodeMetricsRequest) XXX_Merge(src proto.Message)

func (*NodeMetricsRequest) XXX_Size

func (m *NodeMetricsRequest) XXX_Size() int

func (*NodeMetricsRequest) XXX_Unmarshal

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

type NodeMetricsResponse

type NodeMetricsResponse struct {
	//
	//Betweenness centrality is the sum of the ratio of shortest paths that pass
	//through the node for each pair of nodes in the graph (not counting paths
	//starting or ending at this node).
	//Map of node pubkey to betweenness centrality of the node. Normalized
	//values are in the [0,1] closed interval.
	BetweennessCentrality map[string]*FloatMetric `` /* 212-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}                `json:"-"`
	XXX_unrecognized      []byte                  `json:"-"`
	XXX_sizecache         int32                   `json:"-"`
}

func (*NodeMetricsResponse) Descriptor

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

func (*NodeMetricsResponse) GetBetweennessCentrality

func (m *NodeMetricsResponse) GetBetweennessCentrality() map[string]*FloatMetric

func (*NodeMetricsResponse) ProtoMessage

func (*NodeMetricsResponse) ProtoMessage()

func (*NodeMetricsResponse) Reset

func (m *NodeMetricsResponse) Reset()

func (*NodeMetricsResponse) String

func (m *NodeMetricsResponse) String() string

func (*NodeMetricsResponse) XXX_DiscardUnknown

func (m *NodeMetricsResponse) XXX_DiscardUnknown()

func (*NodeMetricsResponse) XXX_Marshal

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

func (*NodeMetricsResponse) XXX_Merge

func (m *NodeMetricsResponse) XXX_Merge(src proto.Message)

func (*NodeMetricsResponse) XXX_Size

func (m *NodeMetricsResponse) XXX_Size() int

func (*NodeMetricsResponse) XXX_Unmarshal

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

type NodePair

type NodePair struct {
	//
	//The sending node of the pair.
	From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	//
	//The receiving node of the pair.
	To                   []byte   `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodePair) Descriptor

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

func (*NodePair) GetFrom

func (m *NodePair) GetFrom() []byte

func (*NodePair) GetTo

func (m *NodePair) GetTo() []byte

func (*NodePair) ProtoMessage

func (*NodePair) ProtoMessage()

func (*NodePair) Reset

func (m *NodePair) Reset()

func (*NodePair) String

func (m *NodePair) String() string

func (*NodePair) XXX_DiscardUnknown

func (m *NodePair) XXX_DiscardUnknown()

func (*NodePair) XXX_Marshal

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

func (*NodePair) XXX_Merge

func (m *NodePair) XXX_Merge(src proto.Message)

func (*NodePair) XXX_Size

func (m *NodePair) XXX_Size() int

func (*NodePair) XXX_Unmarshal

func (m *NodePair) 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"`
	Color                string   `protobuf:"bytes,5,opt,name=color,proto3" json:"color,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) GetColor

func (m *NodeUpdate) GetColor() 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 (m *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 Op

type Op struct {
	Entity               string   `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Actions              []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Op) Descriptor

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

func (*Op) GetActions

func (m *Op) GetActions() []string

func (*Op) GetEntity

func (m *Op) GetEntity() string

func (*Op) ProtoMessage

func (*Op) ProtoMessage()

func (*Op) Reset

func (m *Op) Reset()

func (*Op) String

func (m *Op) String() string

func (*Op) XXX_DiscardUnknown

func (m *Op) XXX_DiscardUnknown()

func (*Op) XXX_Marshal

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

func (*Op) XXX_Merge

func (m *Op) XXX_Merge(src proto.Message)

func (*Op) XXX_Size

func (m *Op) XXX_Size() int

func (*Op) XXX_Unmarshal

func (m *Op) 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,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
	// The number of pktoshis the wallet should commit to the channel
	LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount,json=localFundingAmount,proto3" json:"local_funding_amount,omitempty"`
	// The number of pktoshis to push to the remote side as part of the initial
	// commitment state
	PushSat int64 `protobuf:"varint,5,opt,name=push_sat,json=pushSat,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,json=minHtlcMsat,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,json=remoteCsvDelay,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,json=minConfs,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,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
	//
	//Close address is an optional address which specifies the address to which
	//funds should be paid out to upon cooperative close. This field may only be
	//set if the peer supports the option upfront feature bit (call listpeers
	//to check). The remote peer will only accept cooperative closes to this
	//address if it is set.
	//
	//Note: If this value is set on channel creation, you will *not* be able to
	//cooperatively close out to a different address.
	CloseAddress string `protobuf:"bytes,13,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
	//
	//Funding shims are an optional argument that allow the caller to intercept
	//certain funding functionality. For example, a shim can be provided to use a
	//particular key for the commitment key (ideally cold) rather than use one
	//that is generated by the wallet as normal, or signal that signing will be
	//carried out in an interactive manner (PSBT based).
	FundingShim *FundingShim `protobuf:"bytes,14,opt,name=funding_shim,json=fundingShim,proto3" json:"funding_shim,omitempty"`
	//
	//The maximum amount of coins in millisatoshi that can be pending within
	//the channel. It only applies to the remote party.
	RemoteMaxValueInFlightMsat uint64 `` /* 149-byte string literal not displayed */
	//
	//The maximum number of concurrent HTLCs we will allow the remote party to add
	//to the commitment transaction.
	RemoteMaxHtlcs uint32 `protobuf:"varint,16,opt,name=remote_max_htlcs,json=remoteMaxHtlcs,proto3" json:"remote_max_htlcs,omitempty"`
	//
	//Max local csv is the maximum csv delay we will allow for our own commitment
	//transaction.
	MaxLocalCsv          uint32   `protobuf:"varint,17,opt,name=max_local_csv,json=maxLocalCsv,proto3" json:"max_local_csv,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenChannelRequest) Descriptor

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

func (*OpenChannelRequest) GetCloseAddress

func (m *OpenChannelRequest) GetCloseAddress() string

func (*OpenChannelRequest) GetFundingShim

func (m *OpenChannelRequest) GetFundingShim() *FundingShim

func (*OpenChannelRequest) GetLocalFundingAmount

func (m *OpenChannelRequest) GetLocalFundingAmount() int64

func (*OpenChannelRequest) GetMaxLocalCsv

func (m *OpenChannelRequest) GetMaxLocalCsv() uint32

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) GetPrivate

func (m *OpenChannelRequest) GetPrivate() bool

func (*OpenChannelRequest) GetPushSat

func (m *OpenChannelRequest) GetPushSat() int64

func (*OpenChannelRequest) GetRemoteCsvDelay

func (m *OpenChannelRequest) GetRemoteCsvDelay() uint32

func (*OpenChannelRequest) GetRemoteMaxHtlcs

func (m *OpenChannelRequest) GetRemoteMaxHtlcs() uint32

func (*OpenChannelRequest) GetRemoteMaxValueInFlightMsat

func (m *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64

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 (m *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
	//	*OpenStatusUpdate_PsbtFund
	Update isOpenStatusUpdate_Update `protobuf_oneof:"update"`
	//
	//The pending channel ID of the created channel. This value may be used to
	//further the funding flow manually via the FundingStateStep method.
	PendingChanId        []byte   `protobuf:"bytes,4,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	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) GetPendingChanId

func (m *OpenStatusUpdate) GetPendingChanId() []byte

func (*OpenStatusUpdate) GetPsbtFund

func (m *OpenStatusUpdate) GetPsbtFund() *ReadyForPsbtFunding

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 (m *OpenStatusUpdate) XXX_Merge(src proto.Message)

func (*OpenStatusUpdate) XXX_OneofWrappers

func (*OpenStatusUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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,json=chanOpen,proto3,oneof"`
}

type OpenStatusUpdate_ChanPending

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

type OpenStatusUpdate_PsbtFund

type OpenStatusUpdate_PsbtFund struct {
	PsbtFund *ReadyForPsbtFunding `protobuf:"bytes,5,opt,name=psbt_fund,json=psbtFund,proto3,oneof"`
}

type OutPoint

type OutPoint struct {
	// Raw bytes representing the transaction id.
	TxidBytes []byte `protobuf:"bytes,1,opt,name=txid_bytes,json=txidBytes,proto3" json:"txid_bytes,omitempty"`
	// Reversed, hex-encoded string representing the transaction id.
	TxidStr string `protobuf:"bytes,2,opt,name=txid_str,json=txidStr,proto3" json:"txid_str,omitempty"`
	// The index of the output on the transaction.
	OutputIndex          uint32   `protobuf:"varint,3,opt,name=output_index,json=outputIndex,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 (m *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          []byte              `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	PaymentHash          []byte              `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	NumSatoshis          int64               `protobuf:"varint,3,opt,name=num_satoshis,json=numSatoshis,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      []byte              `protobuf:"bytes,7,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
	FallbackAddr         string              `protobuf:"bytes,8,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
	CltvExpiry           int64               `protobuf:"varint,9,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
	RouteHints           []*RouteHint        `protobuf:"bytes,10,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	PaymentAddr          []byte              `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
	NumMsat              int64               `protobuf:"varint,12,opt,name=num_msat,json=numMsat,proto3" json:"num_msat,omitempty"`
	Features             map[uint32]*Feature `` /* 159-byte string literal not displayed */
	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() []byte

func (*PayReq) GetDestination

func (m *PayReq) GetDestination() []byte

func (*PayReq) GetExpiry

func (m *PayReq) GetExpiry() int64

func (*PayReq) GetFallbackAddr

func (m *PayReq) GetFallbackAddr() string

func (*PayReq) GetFeatures

func (m *PayReq) GetFeatures() map[uint32]*Feature

func (*PayReq) GetNumMsat

func (m *PayReq) GetNumMsat() int64

func (*PayReq) GetNumSatoshis

func (m *PayReq) GetNumSatoshis() int64

func (*PayReq) GetPaymentAddr

func (m *PayReq) GetPaymentAddr() []byte

func (*PayReq) GetPaymentHash

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

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 (m *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 (m *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,json=paymentHash,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.
	// Deprecated, use creation_time_ns
	CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // Deprecated: Do not use.
	// Deprecated, use fee_sat or fee_msat.
	Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` // Deprecated: Do not use.
	// The payment preimage
	PaymentPreimage []byte `protobuf:"bytes,6,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
	// The value of the payment in satoshis
	ValueSat int64 `protobuf:"varint,7,opt,name=value_sat,json=valueSat,proto3" json:"value_sat,omitempty"`
	// The value of the payment in milli-satoshis
	ValueMsat int64 `protobuf:"varint,8,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
	// The optional payment request being fulfilled.
	PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
	// The status of the payment.
	Status Payment_PaymentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=lnrpc.Payment_PaymentStatus" json:"status,omitempty"`
	//  The fee paid for this payment in satoshis
	FeeSat int64 `protobuf:"varint,11,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"`
	//  The fee paid for this payment in milli-satoshis
	FeeMsat int64 `protobuf:"varint,12,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
	// The time in UNIX nanoseconds at which the payment was created.
	CreationTimeNs int64 `protobuf:"varint,13,opt,name=creation_time_ns,json=creationTimeNs,proto3" json:"creation_time_ns,omitempty"`
	// The HTLCs made in attempt to settle the payment.
	Htlcs []*HTLCAttempt `protobuf:"bytes,14,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
	//
	//The creation index of this payment. Each payment can be uniquely identified
	//by this index, which may not strictly increment by 1 for payments made in
	//older versions of lnd.
	PaymentIndex         uint64               `protobuf:"varint,15,opt,name=payment_index,json=paymentIndex,proto3" json:"payment_index,omitempty"`
	FailureReason        PaymentFailureReason `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Payment) Descriptor

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

func (*Payment) GetCreationDate deprecated

func (m *Payment) GetCreationDate() int64

Deprecated: Do not use.

func (*Payment) GetCreationTimeNs

func (m *Payment) GetCreationTimeNs() int64

func (*Payment) GetFailureReason

func (m *Payment) GetFailureReason() PaymentFailureReason

func (*Payment) GetFee deprecated

func (m *Payment) GetFee() int64

Deprecated: Do not use.

func (*Payment) GetFeeMsat

func (m *Payment) GetFeeMsat() int64

func (*Payment) GetFeeSat

func (m *Payment) GetFeeSat() int64

func (*Payment) GetHtlcs

func (m *Payment) GetHtlcs() []*HTLCAttempt

func (*Payment) GetPaymentHash

func (m *Payment) GetPaymentHash() string

func (*Payment) GetPaymentIndex

func (m *Payment) GetPaymentIndex() uint64

func (*Payment) GetPaymentPreimage

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

func (*Payment) GetPaymentRequest

func (m *Payment) GetPaymentRequest() string

func (*Payment) GetStatus

func (m *Payment) GetStatus() Payment_PaymentStatus

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 (m *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 PaymentFailureReason

type PaymentFailureReason int32
const (
	//
	//Payment isn't failed (yet).
	PaymentFailureReason_FAILURE_REASON_NONE PaymentFailureReason = 0
	//
	//There are more routes to try, but the payment timeout was exceeded.
	PaymentFailureReason_FAILURE_REASON_TIMEOUT PaymentFailureReason = 1
	//
	//All possible routes were tried and failed permanently. Or were no
	//routes to the destination at all.
	PaymentFailureReason_FAILURE_REASON_NO_ROUTE PaymentFailureReason = 2
	//
	//A non-recoverable error has occured.
	PaymentFailureReason_FAILURE_REASON_ERROR PaymentFailureReason = 3
	//
	//Payment details incorrect (unknown hash, invalid amt or
	//invalid final cltv delta)
	PaymentFailureReason_FAILURE_REASON_INCORRECT_PAYMENT_DETAILS PaymentFailureReason = 4
	//
	//Insufficient local balance.
	PaymentFailureReason_FAILURE_REASON_INSUFFICIENT_BALANCE PaymentFailureReason = 5
)

func (PaymentFailureReason) EnumDescriptor

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

func (PaymentFailureReason) String

func (x PaymentFailureReason) String() string

type PaymentHash

type PaymentHash struct {
	//
	//The payment hash of the invoice to be looked up.
	RHash                []byte   `protobuf:"bytes,2,opt,name=r_hash,json=rHash,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) 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 (m *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 Payment_PaymentStatus

type Payment_PaymentStatus int32
const (
	Payment_UNKNOWN   Payment_PaymentStatus = 0
	Payment_IN_FLIGHT Payment_PaymentStatus = 1
	Payment_SUCCEEDED Payment_PaymentStatus = 2
	Payment_FAILED    Payment_PaymentStatus = 3
)

func (Payment_PaymentStatus) EnumDescriptor

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

func (Payment_PaymentStatus) String

func (x Payment_PaymentStatus) String() string

type Peer

type Peer struct {
	// The identity pubkey of the peer
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,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,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	// Bytes of data transmitted from this peer
	BytesRecv uint64 `protobuf:"varint,5,opt,name=bytes_recv,json=bytesRecv,proto3" json:"bytes_recv,omitempty"`
	// Satoshis sent to this peer
	SatSent int64 `protobuf:"varint,6,opt,name=sat_sent,json=satSent,proto3" json:"sat_sent,omitempty"`
	// Satoshis received from this peer
	SatRecv int64 `protobuf:"varint,7,opt,name=sat_recv,json=satRecv,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,json=pingTime,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,json=syncType,proto3,enum=lnrpc.Peer_SyncType" json:"sync_type,omitempty"`
	// Features advertised by the remote peer in their init message.
	Features map[uint32]*Feature `` /* 159-byte string literal not displayed */
	//
	//The latest errors received from our peer with timestamps, limited to the 10
	//most recent errors. These errors are tracked across peer connections, but
	//are not persisted across lnd restarts. Note that these errors are only
	//stored for peers that we have channels open with, to prevent peers from
	//spamming us with errors at no cost.
	Errors []*TimestampedError `protobuf:"bytes,12,rep,name=errors,proto3" json:"errors,omitempty"`
	//
	//The number of times we have recorded this peer going offline or coming
	//online, recorded across restarts. Note that this value is decreased over
	//time if the peer has not recently flapped, so that we can forgive peers
	//with historically high flap counts.
	FlapCount int32 `protobuf:"varint,13,opt,name=flap_count,json=flapCount,proto3" json:"flap_count,omitempty"`
	//
	//The timestamp of the last flap we observed for this peer. If this value is
	//zero, we have not observed any flaps for this peer.
	LastFlapNs           int64    `protobuf:"varint,14,opt,name=last_flap_ns,json=lastFlapNs,proto3" json:"last_flap_ns,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) GetErrors

func (m *Peer) GetErrors() []*TimestampedError

func (*Peer) GetFeatures

func (m *Peer) GetFeatures() map[uint32]*Feature

func (*Peer) GetFlapCount

func (m *Peer) GetFlapCount() int32

func (*Peer) GetInbound

func (m *Peer) GetInbound() bool

func (*Peer) GetLastFlapNs

func (m *Peer) GetLastFlapNs() int64

func (*Peer) GetPingTime

func (m *Peer) GetPingTime() int64

func (*Peer) GetPubKey

func (m *Peer) GetPubKey() []byte

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 (m *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 PeerDesc

type PeerDesc struct {
	BytesReceived        uint64   `protobuf:"varint,1,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"`
	BytesSent            uint64   `protobuf:"varint,2,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	LastRecv             string   `protobuf:"bytes,3,opt,name=last_recv,json=lastRecv,proto3" json:"last_recv,omitempty"`
	LastSend             string   `protobuf:"bytes,4,opt,name=last_send,json=lastSend,proto3" json:"last_send,omitempty"`
	Connected            bool     `protobuf:"varint,5,opt,name=connected,proto3" json:"connected,omitempty"`
	Addr                 string   `protobuf:"bytes,6,opt,name=addr,proto3" json:"addr,omitempty"`
	Inbound              bool     `protobuf:"varint,7,opt,name=inbound,proto3" json:"inbound,omitempty"`
	Na                   string   `protobuf:"bytes,8,opt,name=na,proto3" json:"na,omitempty"`
	Id                   int32    `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"`
	UserAgent            string   `protobuf:"bytes,10,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	Services             string   `protobuf:"bytes,11,opt,name=services,proto3" json:"services,omitempty"`
	VersionKnown         bool     `protobuf:"varint,12,opt,name=version_known,json=versionKnown,proto3" json:"version_known,omitempty"`
	AdvertisedProtoVer   uint32   `protobuf:"varint,13,opt,name=advertised_proto_ver,json=advertisedProtoVer,proto3" json:"advertised_proto_ver,omitempty"`
	ProtocolVersion      uint32   `protobuf:"varint,14,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	SendHeadersPreferred bool     `protobuf:"varint,15,opt,name=send_headers_preferred,json=sendHeadersPreferred,proto3" json:"send_headers_preferred,omitempty"`
	VerAckReceived       bool     `protobuf:"varint,16,opt,name=ver_ack_received,json=verAckReceived,proto3" json:"ver_ack_received,omitempty"`
	WitnessEnabled       bool     `protobuf:"varint,17,opt,name=witness_enabled,json=witnessEnabled,proto3" json:"witness_enabled,omitempty"`
	WireEncoding         string   `protobuf:"bytes,18,opt,name=wire_encoding,json=wireEncoding,proto3" json:"wire_encoding,omitempty"`
	TimeOffset           int64    `protobuf:"varint,19,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	TimeConnected        string   `protobuf:"bytes,20,opt,name=time_connected,json=timeConnected,proto3" json:"time_connected,omitempty"`
	StartingHeight       int32    `protobuf:"varint,21,opt,name=starting_height,json=startingHeight,proto3" json:"starting_height,omitempty"`
	LastBlock            int32    `protobuf:"varint,22,opt,name=last_block,json=lastBlock,proto3" json:"last_block,omitempty"`
	LastAnnouncedBlock   []byte   `protobuf:"bytes,23,opt,name=last_announced_block,json=lastAnnouncedBlock,proto3" json:"last_announced_block,omitempty"`
	LastPingNonce        uint64   `protobuf:"varint,24,opt,name=last_ping_nonce,json=lastPingNonce,proto3" json:"last_ping_nonce,omitempty"`
	LastPingTime         string   `protobuf:"bytes,25,opt,name=last_ping_time,json=lastPingTime,proto3" json:"last_ping_time,omitempty"`
	LastPingMicros       int64    `protobuf:"varint,26,opt,name=last_ping_micros,json=lastPingMicros,proto3" json:"last_ping_micros,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PeerDesc) Descriptor

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

func (*PeerDesc) GetAddr

func (m *PeerDesc) GetAddr() string

func (*PeerDesc) GetAdvertisedProtoVer

func (m *PeerDesc) GetAdvertisedProtoVer() uint32

func (*PeerDesc) GetBytesReceived

func (m *PeerDesc) GetBytesReceived() uint64

func (*PeerDesc) GetBytesSent

func (m *PeerDesc) GetBytesSent() uint64

func (*PeerDesc) GetConnected

func (m *PeerDesc) GetConnected() bool

func (*PeerDesc) GetId

func (m *PeerDesc) GetId() int32

func (*PeerDesc) GetInbound

func (m *PeerDesc) GetInbound() bool

func (*PeerDesc) GetLastAnnouncedBlock

func (m *PeerDesc) GetLastAnnouncedBlock() []byte

func (*PeerDesc) GetLastBlock

func (m *PeerDesc) GetLastBlock() int32

func (*PeerDesc) GetLastPingMicros

func (m *PeerDesc) GetLastPingMicros() int64

func (*PeerDesc) GetLastPingNonce

func (m *PeerDesc) GetLastPingNonce() uint64

func (*PeerDesc) GetLastPingTime

func (m *PeerDesc) GetLastPingTime() string

func (*PeerDesc) GetLastRecv

func (m *PeerDesc) GetLastRecv() string

func (*PeerDesc) GetLastSend

func (m *PeerDesc) GetLastSend() string

func (*PeerDesc) GetNa

func (m *PeerDesc) GetNa() string

func (*PeerDesc) GetProtocolVersion

func (m *PeerDesc) GetProtocolVersion() uint32

func (*PeerDesc) GetSendHeadersPreferred

func (m *PeerDesc) GetSendHeadersPreferred() bool

func (*PeerDesc) GetServices

func (m *PeerDesc) GetServices() string

func (*PeerDesc) GetStartingHeight

func (m *PeerDesc) GetStartingHeight() int32

func (*PeerDesc) GetTimeConnected

func (m *PeerDesc) GetTimeConnected() string

func (*PeerDesc) GetTimeOffset

func (m *PeerDesc) GetTimeOffset() int64

func (*PeerDesc) GetUserAgent

func (m *PeerDesc) GetUserAgent() string

func (*PeerDesc) GetVerAckReceived

func (m *PeerDesc) GetVerAckReceived() bool

func (*PeerDesc) GetVersionKnown

func (m *PeerDesc) GetVersionKnown() bool

func (*PeerDesc) GetWireEncoding

func (m *PeerDesc) GetWireEncoding() string

func (*PeerDesc) GetWitnessEnabled

func (m *PeerDesc) GetWitnessEnabled() bool

func (*PeerDesc) ProtoMessage

func (*PeerDesc) ProtoMessage()

func (*PeerDesc) Reset

func (m *PeerDesc) Reset()

func (*PeerDesc) String

func (m *PeerDesc) String() string

func (*PeerDesc) XXX_DiscardUnknown

func (m *PeerDesc) XXX_DiscardUnknown()

func (*PeerDesc) XXX_Marshal

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

func (*PeerDesc) XXX_Merge

func (m *PeerDesc) XXX_Merge(src proto.Message)

func (*PeerDesc) XXX_Size

func (m *PeerDesc) XXX_Size() int

func (*PeerDesc) XXX_Unmarshal

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

type PeerEvent

type PeerEvent struct {
	// The identity pubkey of the peer.
	PubKey               []byte              `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Type                 PeerEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=lnrpc.PeerEvent_EventType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PeerEvent) Descriptor

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

func (*PeerEvent) GetPubKey

func (m *PeerEvent) GetPubKey() []byte

func (*PeerEvent) GetType

func (m *PeerEvent) GetType() PeerEvent_EventType

func (*PeerEvent) ProtoMessage

func (*PeerEvent) ProtoMessage()

func (*PeerEvent) Reset

func (m *PeerEvent) Reset()

func (*PeerEvent) String

func (m *PeerEvent) String() string

func (*PeerEvent) XXX_DiscardUnknown

func (m *PeerEvent) XXX_DiscardUnknown()

func (*PeerEvent) XXX_Marshal

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

func (*PeerEvent) XXX_Merge

func (m *PeerEvent) XXX_Merge(src proto.Message)

func (*PeerEvent) XXX_Size

func (m *PeerEvent) XXX_Size() int

func (*PeerEvent) XXX_Unmarshal

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

type PeerEventSubscription

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

func (*PeerEventSubscription) Descriptor

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

func (*PeerEventSubscription) ProtoMessage

func (*PeerEventSubscription) ProtoMessage()

func (*PeerEventSubscription) Reset

func (m *PeerEventSubscription) Reset()

func (*PeerEventSubscription) String

func (m *PeerEventSubscription) String() string

func (*PeerEventSubscription) XXX_DiscardUnknown

func (m *PeerEventSubscription) XXX_DiscardUnknown()

func (*PeerEventSubscription) XXX_Marshal

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

func (*PeerEventSubscription) XXX_Merge

func (m *PeerEventSubscription) XXX_Merge(src proto.Message)

func (*PeerEventSubscription) XXX_Size

func (m *PeerEventSubscription) XXX_Size() int

func (*PeerEventSubscription) XXX_Unmarshal

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

type PeerEvent_EventType

type PeerEvent_EventType int32
const (
	PeerEvent_PEER_ONLINE  PeerEvent_EventType = 0
	PeerEvent_PEER_OFFLINE PeerEvent_EventType = 1
)

func (PeerEvent_EventType) EnumDescriptor

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

func (PeerEvent_EventType) String

func (x PeerEvent_EventType) String() string

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 (m *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,json=totalLimboBalance,proto3" json:"total_limbo_balance,omitempty"`
	// Channels pending opening
	PendingOpenChannels []*PendingChannelsResponse_PendingOpenChannel `protobuf:"bytes,2,rep,name=pending_open_channels,json=pendingOpenChannels,proto3" json:"pending_open_channels,omitempty"`
	//
	//Deprecated: Channels pending closing previously contained cooperatively
	//closed channels with a single confirmation. These channels are now
	//considered closed from the time we see them on chain.
	PendingClosingChannels []*PendingChannelsResponse_ClosedChannel `` // Deprecated: Do not use.
	/* 129-byte string literal not displayed */
	// Channels pending force closing
	PendingForceClosingChannels []*PendingChannelsResponse_ForceClosedChannel `` /* 146-byte string literal not displayed */
	// Channels waiting for closing tx to confirm
	WaitingCloseChannels []*PendingChannelsResponse_WaitingCloseChannel `protobuf:"bytes,5,rep,name=waiting_close_channels,json=waitingCloseChannels,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 deprecated

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

Deprecated: Do not use.

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 (m *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,json=closingTxid,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_Commitments

type PendingChannelsResponse_Commitments struct {
	// Hash of the local version of the commitment tx.
	LocalTxid string `protobuf:"bytes,1,opt,name=local_txid,json=localTxid,proto3" json:"local_txid,omitempty"`
	// Hash of the remote version of the commitment tx.
	RemoteTxid string `protobuf:"bytes,2,opt,name=remote_txid,json=remoteTxid,proto3" json:"remote_txid,omitempty"`
	// Hash of the remote pending version of the commitment tx.
	RemotePendingTxid string `protobuf:"bytes,3,opt,name=remote_pending_txid,json=remotePendingTxid,proto3" json:"remote_pending_txid,omitempty"`
	//
	//The amount in satoshis calculated to be paid in fees for the local
	//commitment.
	LocalCommitFeeSat uint64 `protobuf:"varint,4,opt,name=local_commit_fee_sat,json=localCommitFeeSat,proto3" json:"local_commit_fee_sat,omitempty"`
	//
	//The amount in satoshis calculated to be paid in fees for the remote
	//commitment.
	RemoteCommitFeeSat uint64 `protobuf:"varint,5,opt,name=remote_commit_fee_sat,json=remoteCommitFeeSat,proto3" json:"remote_commit_fee_sat,omitempty"`
	//
	//The amount in satoshis calculated to be paid in fees for the remote
	//pending commitment.
	RemotePendingCommitFeeSat uint64   `` /* 143-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*PendingChannelsResponse_Commitments) Descriptor

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

func (*PendingChannelsResponse_Commitments) GetLocalCommitFeeSat

func (m *PendingChannelsResponse_Commitments) GetLocalCommitFeeSat() uint64

func (*PendingChannelsResponse_Commitments) GetLocalTxid

func (m *PendingChannelsResponse_Commitments) GetLocalTxid() string

func (*PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat

func (m *PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat() uint64

func (*PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat

func (m *PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat() uint64

func (*PendingChannelsResponse_Commitments) GetRemotePendingTxid

func (m *PendingChannelsResponse_Commitments) GetRemotePendingTxid() string

func (*PendingChannelsResponse_Commitments) GetRemoteTxid

func (m *PendingChannelsResponse_Commitments) GetRemoteTxid() string

func (*PendingChannelsResponse_Commitments) ProtoMessage

func (*PendingChannelsResponse_Commitments) ProtoMessage()

func (*PendingChannelsResponse_Commitments) Reset

func (*PendingChannelsResponse_Commitments) String

func (*PendingChannelsResponse_Commitments) XXX_DiscardUnknown

func (m *PendingChannelsResponse_Commitments) XXX_DiscardUnknown()

func (*PendingChannelsResponse_Commitments) XXX_Marshal

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

func (*PendingChannelsResponse_Commitments) XXX_Merge

func (*PendingChannelsResponse_Commitments) XXX_Size

func (*PendingChannelsResponse_Commitments) XXX_Unmarshal

func (m *PendingChannelsResponse_Commitments) 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,json=closingTxid,proto3" json:"closing_txid,omitempty"`
	// The balance in satoshis encumbered in this pending channel
	LimboBalance int64 `protobuf:"varint,3,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"`
	// The height at which funds can be swept into the wallet
	MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,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,json=blocksTilMaturity,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,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"`
	PendingHtlcs         []*PendingHTLC                                         `protobuf:"bytes,8,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"`
	Anchor               PendingChannelsResponse_ForceClosedChannel_AnchorState `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*PendingChannelsResponse_ForceClosedChannel) Descriptor

func (*PendingChannelsResponse_ForceClosedChannel) GetAnchor

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_ForceClosedChannel_AnchorState

type PendingChannelsResponse_ForceClosedChannel_AnchorState int32
const (
	PendingChannelsResponse_ForceClosedChannel_LIMBO     PendingChannelsResponse_ForceClosedChannel_AnchorState = 0
	PendingChannelsResponse_ForceClosedChannel_RECOVERED PendingChannelsResponse_ForceClosedChannel_AnchorState = 1
	PendingChannelsResponse_ForceClosedChannel_LOST      PendingChannelsResponse_ForceClosedChannel_AnchorState = 2
)

func (PendingChannelsResponse_ForceClosedChannel_AnchorState) EnumDescriptor

func (PendingChannelsResponse_ForceClosedChannel_AnchorState) String

type PendingChannelsResponse_PendingChannel

type PendingChannelsResponse_PendingChannel struct {
	RemoteNodePub []byte `protobuf:"bytes,1,opt,name=remote_node_pub,json=remoteNodePub,proto3" json:"remote_node_pub,omitempty"`
	ChannelPoint  string `protobuf:"bytes,2,opt,name=channel_point,json=channelPoint,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,json=localBalance,proto3" json:"local_balance,omitempty"`
	RemoteBalance int64  `protobuf:"varint,5,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
	// The minimum satoshis this node is required to reserve in its
	// balance.
	LocalChanReserveSat int64 `protobuf:"varint,6,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"`
	//
	//The minimum satoshis the other node is required to reserve in its
	//balance.
	RemoteChanReserveSat int64 `` /* 126-byte string literal not displayed */
	// The party that initiated opening the channel.
	Initiator Initiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=lnrpc.Initiator" json:"initiator,omitempty"`
	// The commitment type used by this channel.
	CommitmentType       CommitmentType `` /* 130-byte string literal not displayed */
	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) GetCommitmentType

func (*PendingChannelsResponse_PendingChannel) GetInitiator

func (*PendingChannelsResponse_PendingChannel) GetLocalBalance

func (m *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64

func (*PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat

func (m *PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteBalance

func (m *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat

func (m *PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteNodePub

func (m *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() []byte

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,json=confirmationHeight,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,json=commitFee,proto3" json:"commit_fee,omitempty"`
	// The weight of the commitment transaction
	CommitWeight int64 `protobuf:"varint,5,opt,name=commit_weight,json=commitWeight,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,json=feePerKw,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,json=limboBalance,proto3" json:"limbo_balance,omitempty"`
	//
	//A list of valid commitment transactions. Any of these can confirm at
	//this point.
	Commitments          *PendingChannelsResponse_Commitments `protobuf:"bytes,3,opt,name=commitments,proto3" json:"commitments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor

func (*PendingChannelsResponse_WaitingCloseChannel) GetChannel

func (*PendingChannelsResponse_WaitingCloseChannel) GetCommitments

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,json=maturityHeight,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,json=blocksTilMaturity,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 (m *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,json=outputIndex,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 (m *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,json=baseFeeMsat,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,json=feeRate,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,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
	// If set, the maximum HTLC size in milli-satoshis. If unset, the maximum
	// HTLC will be unchanged.
	MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
	// The minimum HTLC size in milli-satoshis. Only applied if
	// min_htlc_msat_specified is true.
	MinHtlcMsat uint64 `protobuf:"varint,7,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
	// If true, min_htlc_msat is applied.
	MinHtlcMsatSpecified bool     `` /* 126-byte string literal not displayed */
	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) GetMaxHtlcMsat

func (m *PolicyUpdateRequest) GetMaxHtlcMsat() uint64

func (*PolicyUpdateRequest) GetMinHtlcMsat

func (m *PolicyUpdateRequest) GetMinHtlcMsat() uint64

func (*PolicyUpdateRequest) GetMinHtlcMsatSpecified

func (m *PolicyUpdateRequest) GetMinHtlcMsatSpecified() 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 (m *PolicyUpdateRequest) XXX_Merge(src proto.Message)

func (*PolicyUpdateRequest) XXX_OneofWrappers

func (*PolicyUpdateRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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,json=chanPoint,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 (m *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 PrevOut

type PrevOut struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	ValueCoins           float64  `protobuf:"fixed64,2,opt,name=value_coins,json=valueCoins,proto3" json:"value_coins,omitempty"`
	Svalue               string   `protobuf:"bytes,3,opt,name=svalue,proto3" json:"svalue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrevOut) Descriptor

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

func (*PrevOut) GetAddress

func (m *PrevOut) GetAddress() string

func (*PrevOut) GetSvalue

func (m *PrevOut) GetSvalue() string

func (*PrevOut) GetValueCoins

func (m *PrevOut) GetValueCoins() float64

func (*PrevOut) ProtoMessage

func (*PrevOut) ProtoMessage()

func (*PrevOut) Reset

func (m *PrevOut) Reset()

func (*PrevOut) String

func (m *PrevOut) String() string

func (*PrevOut) XXX_DiscardUnknown

func (m *PrevOut) XXX_DiscardUnknown()

func (*PrevOut) XXX_Marshal

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

func (*PrevOut) XXX_Merge

func (m *PrevOut) XXX_Merge(src proto.Message)

func (*PrevOut) XXX_Size

func (m *PrevOut) XXX_Size() int

func (*PrevOut) XXX_Unmarshal

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

type PsbtShim

type PsbtShim struct {
	//
	//A unique identifier of 32 random bytes that will be used as the pending
	//channel ID to identify the PSBT state machine when interacting with it and
	//on the wire protocol to initiate the funding request.
	PendingChanId []byte `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//An optional base PSBT the new channel output will be added to. If this is
	//non-empty, it must be a binary serialized PSBT.
	BasePsbt []byte `protobuf:"bytes,2,opt,name=base_psbt,json=basePsbt,proto3" json:"base_psbt,omitempty"`
	//
	//If a channel should be part of a batch (multiple channel openings in one
	//transaction), it can be dangerous if the whole batch transaction is
	//published too early before all channel opening negotiations are completed.
	//This flag prevents this particular channel from broadcasting the transaction
	//after the negotiation with the remote peer. In a batch of channel openings
	//this flag should be set to true for every channel but the very last.
	NoPublish            bool     `protobuf:"varint,3,opt,name=no_publish,json=noPublish,proto3" json:"no_publish,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PsbtShim) Descriptor

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

func (*PsbtShim) GetBasePsbt

func (m *PsbtShim) GetBasePsbt() []byte

func (*PsbtShim) GetNoPublish

func (m *PsbtShim) GetNoPublish() bool

func (*PsbtShim) GetPendingChanId

func (m *PsbtShim) GetPendingChanId() []byte

func (*PsbtShim) ProtoMessage

func (*PsbtShim) ProtoMessage()

func (*PsbtShim) Reset

func (m *PsbtShim) Reset()

func (*PsbtShim) String

func (m *PsbtShim) String() string

func (*PsbtShim) XXX_DiscardUnknown

func (m *PsbtShim) XXX_DiscardUnknown()

func (*PsbtShim) XXX_Marshal

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

func (*PsbtShim) XXX_Merge

func (m *PsbtShim) XXX_Merge(src proto.Message)

func (*PsbtShim) XXX_Size

func (m *PsbtShim) XXX_Size() int

func (*PsbtShim) XXX_Unmarshal

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

type QueryRoutesRequest

type QueryRoutesRequest struct {
	// The 33-byte public key for the payment destination
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	//
	//The amount to send expressed in satoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	Amt int64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"`
	//
	//The amount to send expressed in millisatoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
	//
	//An optional CLTV delta from the current height that should be used for the
	//timelock of the final hop. Note that unlike SendPayment, QueryRoutes does
	//not add any additional block padding on top of final_ctlv_delta. This
	//padding of a few blocks needs to be added manually or otherwise failures may
	//happen when a block comes in while the payment is in flight.
	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"`
	//
	//Deprecated. 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"` // Deprecated: Do not use.
	//
	//The source node where the request route should originated from. If empty,
	//self is assumed.
	SourcePubKey []byte `protobuf:"bytes,8,opt,name=source_pub_key,json=sourcePubKey,proto3" json:"source_pub_key,omitempty"`
	//
	//If set to true, edge probabilities from mission control will be used to get
	//the optimal route.
	UseMissionControl bool `protobuf:"varint,9,opt,name=use_mission_control,json=useMissionControl,proto3" json:"use_mission_control,omitempty"`
	//
	//A list of directed node pairs that will be ignored during path finding.
	IgnoredPairs []*NodePair `protobuf:"bytes,10,rep,name=ignored_pairs,json=ignoredPairs,proto3" json:"ignored_pairs,omitempty"`
	//
	//An optional maximum total time lock for the route. If the source is empty or
	//ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If
	//zero, then the value of `--max-cltv-expiry` is used as the limit.
	CltvLimit uint32 `protobuf:"varint,11,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
	//
	//An optional field that can be used to pass an arbitrary set of TLV records
	//to a peer which understands the new records. This can be used to pass
	//application specific data during the payment attempt. If the destination
	//does not support the specified recrods, and error will be returned.
	//Record types are required to be in the custom range >= 65536.
	DestCustomRecords map[uint64][]byte `` /* 204-byte string literal not displayed */
	//
	//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,14,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"`
	//
	//The pubkey of the last hop of the route. If empty, any hop may be used.
	LastHopPubkey []byte `protobuf:"bytes,15,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"`
	//
	//Optional route hints to reach the destination through private channels.
	RouteHints []*RouteHint `protobuf:"bytes,16,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	//
	//Features assumed to be supported by the final node. All transitive feature
	//dependencies must also be set properly. For a given feature bit pair, either
	//optional or remote may be set, but not both. If this field is nil or empty,
	//the router will try to load destination features from the graph as a
	//fallback.
	DestFeatures         []FeatureBit `` /* 128-byte string literal not displayed */
	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) GetAmtMsat

func (m *QueryRoutesRequest) GetAmtMsat() int64

func (*QueryRoutesRequest) GetCltvLimit

func (m *QueryRoutesRequest) GetCltvLimit() uint32

func (*QueryRoutesRequest) GetDestCustomRecords

func (m *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte

func (*QueryRoutesRequest) GetDestFeatures

func (m *QueryRoutesRequest) GetDestFeatures() []FeatureBit

func (*QueryRoutesRequest) GetFeeLimit

func (m *QueryRoutesRequest) GetFeeLimit() *FeeLimit

func (*QueryRoutesRequest) GetFinalCltvDelta

func (m *QueryRoutesRequest) GetFinalCltvDelta() int32

func (*QueryRoutesRequest) GetIgnoredEdges deprecated

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

Deprecated: Do not use.

func (*QueryRoutesRequest) GetIgnoredNodes

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

func (*QueryRoutesRequest) GetIgnoredPairs

func (m *QueryRoutesRequest) GetIgnoredPairs() []*NodePair

func (*QueryRoutesRequest) GetLastHopPubkey

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

func (*QueryRoutesRequest) GetOutgoingChanId

func (m *QueryRoutesRequest) GetOutgoingChanId() uint64

func (*QueryRoutesRequest) GetPubKey

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

func (*QueryRoutesRequest) GetRouteHints

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

func (*QueryRoutesRequest) GetSourcePubKey

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

func (*QueryRoutesRequest) GetUseMissionControl

func (m *QueryRoutesRequest) GetUseMissionControl() bool

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 (m *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 {
	//
	//The route that results from the path finding operation. This is still a
	//repeated field to retain backwards compatibility.
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	//
	//The success probability of the returned route based on the current mission
	//control state. [EXPERIMENTAL]
	SuccessProb          float64  `protobuf:"fixed64,2,opt,name=success_prob,json=successProb,proto3" json:"success_prob,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) GetSuccessProb

func (m *QueryRoutesResponse) GetSuccessProb() float64

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 (m *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 ReSyncChainRequest

type ReSyncChainRequest struct {
	FromHeight           int32    `protobuf:"varint,1,opt,name=from_height,json=fromHeight,proto3" json:"from_height,omitempty"`
	ToHeight             int32    `protobuf:"varint,2,opt,name=to_height,json=toHeight,proto3" json:"to_height,omitempty"`
	Addresses            []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
	DropDb               bool     `protobuf:"varint,4,opt,name=drop_db,json=dropDb,proto3" json:"drop_db,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReSyncChainRequest) Descriptor

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

func (*ReSyncChainRequest) GetAddresses

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

func (*ReSyncChainRequest) GetDropDb

func (m *ReSyncChainRequest) GetDropDb() bool

func (*ReSyncChainRequest) GetFromHeight

func (m *ReSyncChainRequest) GetFromHeight() int32

func (*ReSyncChainRequest) GetToHeight

func (m *ReSyncChainRequest) GetToHeight() int32

func (*ReSyncChainRequest) ProtoMessage

func (*ReSyncChainRequest) ProtoMessage()

func (*ReSyncChainRequest) Reset

func (m *ReSyncChainRequest) Reset()

func (*ReSyncChainRequest) String

func (m *ReSyncChainRequest) String() string

func (*ReSyncChainRequest) XXX_DiscardUnknown

func (m *ReSyncChainRequest) XXX_DiscardUnknown()

func (*ReSyncChainRequest) XXX_Marshal

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

func (*ReSyncChainRequest) XXX_Merge

func (m *ReSyncChainRequest) XXX_Merge(src proto.Message)

func (*ReSyncChainRequest) XXX_Size

func (m *ReSyncChainRequest) XXX_Size() int

func (*ReSyncChainRequest) XXX_Unmarshal

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

type ReSyncChainResponse

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

func (*ReSyncChainResponse) Descriptor

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

func (*ReSyncChainResponse) ProtoMessage

func (*ReSyncChainResponse) ProtoMessage()

func (*ReSyncChainResponse) Reset

func (m *ReSyncChainResponse) Reset()

func (*ReSyncChainResponse) String

func (m *ReSyncChainResponse) String() string

func (*ReSyncChainResponse) XXX_DiscardUnknown

func (m *ReSyncChainResponse) XXX_DiscardUnknown()

func (*ReSyncChainResponse) XXX_Marshal

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

func (*ReSyncChainResponse) XXX_Merge

func (m *ReSyncChainResponse) XXX_Merge(src proto.Message)

func (*ReSyncChainResponse) XXX_Size

func (m *ReSyncChainResponse) XXX_Size() int

func (*ReSyncChainResponse) XXX_Unmarshal

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

type ReadyForPsbtFunding

type ReadyForPsbtFunding struct {
	//
	//The P2WSH address of the channel funding multisig address that the below
	//specified amount in satoshis needs to be sent to.
	FundingAddress string `protobuf:"bytes,1,opt,name=funding_address,json=fundingAddress,proto3" json:"funding_address,omitempty"`
	//
	//The exact amount in satoshis that needs to be sent to the above address to
	//fund the pending channel.
	FundingAmount int64 `protobuf:"varint,2,opt,name=funding_amount,json=fundingAmount,proto3" json:"funding_amount,omitempty"`
	//
	//A raw PSBT that contains the pending channel output. If a base PSBT was
	//provided in the PsbtShim, this is the base PSBT with one additional output.
	//If no base PSBT was specified, this is an otherwise empty PSBT with exactly
	//one output.
	Psbt                 []byte   `protobuf:"bytes,3,opt,name=psbt,proto3" json:"psbt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReadyForPsbtFunding) Descriptor

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

func (*ReadyForPsbtFunding) GetFundingAddress

func (m *ReadyForPsbtFunding) GetFundingAddress() string

func (*ReadyForPsbtFunding) GetFundingAmount

func (m *ReadyForPsbtFunding) GetFundingAmount() int64

func (*ReadyForPsbtFunding) GetPsbt

func (m *ReadyForPsbtFunding) GetPsbt() []byte

func (*ReadyForPsbtFunding) ProtoMessage

func (*ReadyForPsbtFunding) ProtoMessage()

func (*ReadyForPsbtFunding) Reset

func (m *ReadyForPsbtFunding) Reset()

func (*ReadyForPsbtFunding) String

func (m *ReadyForPsbtFunding) String() string

func (*ReadyForPsbtFunding) XXX_DiscardUnknown

func (m *ReadyForPsbtFunding) XXX_DiscardUnknown()

func (*ReadyForPsbtFunding) XXX_Marshal

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

func (*ReadyForPsbtFunding) XXX_Merge

func (m *ReadyForPsbtFunding) XXX_Merge(src proto.Message)

func (*ReadyForPsbtFunding) XXX_Size

func (m *ReadyForPsbtFunding) XXX_Size() int

func (*ReadyForPsbtFunding) XXX_Unmarshal

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

type Resolution

type Resolution struct {
	// The type of output we are resolving.
	ResolutionType ResolutionType `` /* 130-byte string literal not displayed */
	// The outcome of our on chain action that resolved the outpoint.
	Outcome ResolutionOutcome `protobuf:"varint,2,opt,name=outcome,proto3,enum=lnrpc.ResolutionOutcome" json:"outcome,omitempty"`
	// The outpoint that was spent by the resolution.
	Outpoint *OutPoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The amount that was claimed by the resolution.
	AmountSat uint64 `protobuf:"varint,4,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
	// The hex-encoded transaction ID of the sweep transaction that spent the
	// output.
	SweepTxid            string   `protobuf:"bytes,5,opt,name=sweep_txid,json=sweepTxid,proto3" json:"sweep_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resolution) Descriptor

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

func (*Resolution) GetAmountSat

func (m *Resolution) GetAmountSat() uint64

func (*Resolution) GetOutcome

func (m *Resolution) GetOutcome() ResolutionOutcome

func (*Resolution) GetOutpoint

func (m *Resolution) GetOutpoint() *OutPoint

func (*Resolution) GetResolutionType

func (m *Resolution) GetResolutionType() ResolutionType

func (*Resolution) GetSweepTxid

func (m *Resolution) GetSweepTxid() string

func (*Resolution) ProtoMessage

func (*Resolution) ProtoMessage()

func (*Resolution) Reset

func (m *Resolution) Reset()

func (*Resolution) String

func (m *Resolution) String() string

func (*Resolution) XXX_DiscardUnknown

func (m *Resolution) XXX_DiscardUnknown()

func (*Resolution) XXX_Marshal

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

func (*Resolution) XXX_Merge

func (m *Resolution) XXX_Merge(src proto.Message)

func (*Resolution) XXX_Size

func (m *Resolution) XXX_Size() int

func (*Resolution) XXX_Unmarshal

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

type ResolutionOutcome

type ResolutionOutcome int32
const (
	// Outcome unknown.
	ResolutionOutcome_OUTCOME_UNKNOWN ResolutionOutcome = 0
	// An output was claimed on chain.
	ResolutionOutcome_CLAIMED ResolutionOutcome = 1
	// An output was left unclaimed on chain.
	ResolutionOutcome_UNCLAIMED ResolutionOutcome = 2
	//
	//ResolverOutcomeAbandoned indicates that an output that we did not
	//claim on chain, for example an anchor that we did not sweep and a
	//third party claimed on chain, or a htlc that we could not decode
	//so left unclaimed.
	ResolutionOutcome_ABANDONED ResolutionOutcome = 3
	//
	//If we force closed our channel, our htlcs need to be claimed in two
	//stages. This outcome represents the broadcast of a timeout or success
	//transaction for this two stage htlc claim.
	ResolutionOutcome_FIRST_STAGE ResolutionOutcome = 4
	// A htlc was timed out on chain.
	ResolutionOutcome_TIMEOUT ResolutionOutcome = 5
)

func (ResolutionOutcome) EnumDescriptor

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

func (ResolutionOutcome) String

func (x ResolutionOutcome) String() string

type ResolutionType

type ResolutionType int32
const (
	ResolutionType_TYPE_UNKNOWN ResolutionType = 0
	// We resolved an anchor output.
	ResolutionType_ANCHOR ResolutionType = 1
	//
	//We are resolving an incoming htlc on chain. This if this htlc is
	//claimed, we swept the incoming htlc with the preimage. If it is timed
	//out, our peer swept the timeout path.
	ResolutionType_INCOMING_HTLC ResolutionType = 2
	//
	//We are resolving an outgoing htlc on chain. If this htlc is claimed,
	//the remote party swept the htlc with the preimage. If it is timed out,
	//we swept it with the timeout path.
	ResolutionType_OUTGOING_HTLC ResolutionType = 3
	// We force closed and need to sweep our time locked commitment output.
	ResolutionType_COMMIT ResolutionType = 4
)

func (ResolutionType) EnumDescriptor

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

func (ResolutionType) String

func (x ResolutionType) String() string

type RestError

type RestError struct {
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Stack                []string `protobuf:"bytes,3,rep,name=stack,proto3" json:"stack,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestError) Descriptor

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

func (*RestError) GetMessage

func (m *RestError) GetMessage() string

func (*RestError) GetStack

func (m *RestError) GetStack() []string

func (*RestError) ProtoMessage

func (*RestError) ProtoMessage()

func (*RestError) Reset

func (m *RestError) Reset()

func (*RestError) String

func (m *RestError) String() string

func (*RestError) XXX_DiscardUnknown

func (m *RestError) XXX_DiscardUnknown()

func (*RestError) XXX_Marshal

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

func (*RestError) XXX_Merge

func (m *RestError) XXX_Merge(src proto.Message)

func (*RestError) XXX_Size

func (m *RestError) XXX_Size() int

func (*RestError) XXX_Unmarshal

func (m *RestError) 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 (m *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 (m *RestoreChanBackupRequest) XXX_Merge(src proto.Message)

func (*RestoreChanBackupRequest) XXX_OneofWrappers

func (*RestoreChanBackupRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers 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,json=chanBackups,proto3,oneof"`
}

type RestoreChanBackupRequest_MultiChanBackup

type RestoreChanBackupRequest_MultiChanBackup struct {
	MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,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,json=totalTimeLock,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
	//to ourselves.
	TotalFees int64 `protobuf:"varint,2,opt,name=total_fees,json=totalFees,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,json=totalAmt,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,json=totalFeesMsat,proto3" json:"total_fees_msat,omitempty"`
	//
	//The total amount in millisatoshis.
	TotalAmtMsat         int64    `protobuf:"varint,6,opt,name=total_amt_msat,json=totalAmtMsat,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 (m *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,json=hopHints,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 (m *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,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
	MinHtlc              int64    `protobuf:"varint,2,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"`
	FeeBaseMsat          int64    `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"`
	FeeRateMilliMsat     int64    `protobuf:"varint,4,opt,name=fee_rate_milli_msat,json=feeRateMilliMsat,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,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
	LastUpdate           uint32   `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,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) GetLastUpdate

func (m *RoutingPolicy) GetLastUpdate() uint32

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 (m *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 ScriptSig

type ScriptSig struct {
	Asm                  string   `protobuf:"bytes,1,opt,name=asm,proto3" json:"asm,omitempty"`
	Hex                  string   `protobuf:"bytes,2,opt,name=hex,proto3" json:"hex,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ScriptSig) Descriptor

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

func (*ScriptSig) GetAsm

func (m *ScriptSig) GetAsm() string

func (*ScriptSig) GetHex

func (m *ScriptSig) GetHex() string

func (*ScriptSig) ProtoMessage

func (*ScriptSig) ProtoMessage()

func (*ScriptSig) Reset

func (m *ScriptSig) Reset()

func (*ScriptSig) String

func (m *ScriptSig) String() string

func (*ScriptSig) XXX_DiscardUnknown

func (m *ScriptSig) XXX_DiscardUnknown()

func (*ScriptSig) XXX_Marshal

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

func (*ScriptSig) XXX_Merge

func (m *ScriptSig) XXX_Merge(src proto.Message)

func (*ScriptSig) XXX_Size

func (m *ScriptSig) XXX_Size() int

func (*ScriptSig) XXX_Unmarshal

func (m *ScriptSig) 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"`
	// An optional label for the transaction, limited to 500 characters.
	Label string `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
	// The minimum number of confirmations each one of your outputs used for
	// the transaction must satisfy.
	MinConfs int32 `protobuf:"varint,8,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
	// Whether unconfirmed outputs should be used as inputs for the transaction.
	SpendUnconfirmed     bool     `protobuf:"varint,9,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,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) GetLabel

func (m *SendCoinsRequest) GetLabel() string

func (*SendCoinsRequest) GetMinConfs

func (m *SendCoinsRequest) GetMinConfs() int32

func (*SendCoinsRequest) GetSatPerByte

func (m *SendCoinsRequest) GetSatPerByte() int64

func (*SendCoinsRequest) GetSendAll

func (m *SendCoinsRequest) GetSendAll() bool

func (*SendCoinsRequest) GetSpendUnconfirmed

func (m *SendCoinsRequest) GetSpendUnconfirmed() 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 (m *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 (m *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 SendFromRequest

type SendFromRequest struct {
	ToAddress            string   `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount               float64  `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	FromAddress          []string `protobuf:"bytes,3,rep,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	MinConf              int32    `protobuf:"varint,4,opt,name=min_conf,json=minConf,proto3" json:"min_conf,omitempty"`
	MaxInputs            int32    `protobuf:"varint,5,opt,name=max_inputs,json=maxInputs,proto3" json:"max_inputs,omitempty"`
	MinHeight            int32    `protobuf:"varint,6,opt,name=min_height,json=minHeight,proto3" json:"min_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendFromRequest) Descriptor

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

func (*SendFromRequest) GetAmount

func (m *SendFromRequest) GetAmount() float64

func (*SendFromRequest) GetFromAddress

func (m *SendFromRequest) GetFromAddress() []string

func (*SendFromRequest) GetMaxInputs

func (m *SendFromRequest) GetMaxInputs() int32

func (*SendFromRequest) GetMinConf

func (m *SendFromRequest) GetMinConf() int32

func (*SendFromRequest) GetMinHeight

func (m *SendFromRequest) GetMinHeight() int32

func (*SendFromRequest) GetToAddress

func (m *SendFromRequest) GetToAddress() string

func (*SendFromRequest) ProtoMessage

func (*SendFromRequest) ProtoMessage()

func (*SendFromRequest) Reset

func (m *SendFromRequest) Reset()

func (*SendFromRequest) String

func (m *SendFromRequest) String() string

func (*SendFromRequest) XXX_DiscardUnknown

func (m *SendFromRequest) XXX_DiscardUnknown()

func (*SendFromRequest) XXX_Marshal

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

func (*SendFromRequest) XXX_Merge

func (m *SendFromRequest) XXX_Merge(src proto.Message)

func (*SendFromRequest) XXX_Size

func (m *SendFromRequest) XXX_Size() int

func (*SendFromRequest) XXX_Unmarshal

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

type SendFromResponse

type SendFromResponse struct {
	TxHash               string   `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendFromResponse) Descriptor

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

func (*SendFromResponse) GetTxHash

func (m *SendFromResponse) GetTxHash() string

func (*SendFromResponse) ProtoMessage

func (*SendFromResponse) ProtoMessage()

func (*SendFromResponse) Reset

func (m *SendFromResponse) Reset()

func (*SendFromResponse) String

func (m *SendFromResponse) String() string

func (*SendFromResponse) XXX_DiscardUnknown

func (m *SendFromResponse) XXX_DiscardUnknown()

func (*SendFromResponse) XXX_Marshal

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

func (*SendFromResponse) XXX_Merge

func (m *SendFromResponse) XXX_Merge(src proto.Message)

func (*SendFromResponse) XXX_Size

func (m *SendFromResponse) XXX_Size() int

func (*SendFromResponse) XXX_Unmarshal

func (m *SendFromResponse) 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"`
	// An optional label for the transaction, limited to 500 characters.
	Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
	// The minimum number of confirmations each one of your outputs used for
	// the transaction must satisfy.
	MinConfs int32 `protobuf:"varint,7,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
	// Whether unconfirmed outputs should be used as inputs for the transaction.
	SpendUnconfirmed     bool     `protobuf:"varint,8,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,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) GetLabel

func (m *SendManyRequest) GetLabel() string

func (*SendManyRequest) GetMinConfs

func (m *SendManyRequest) GetMinConfs() int32

func (*SendManyRequest) GetSatPerByte

func (m *SendManyRequest) GetSatPerByte() int64

func (*SendManyRequest) GetSpendUnconfirmed

func (m *SendManyRequest) GetSpendUnconfirmed() bool

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 (m *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 (m *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 amount to send expressed in satoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	Amt int64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"`
	//
	//The amount to send expressed in millisatoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,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"`
	//
	//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"`
	//
	//The pubkey of the last hop of the route. If empty, any hop may be used.
	LastHopPubkey []byte `protobuf:"bytes,13,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"`
	//
	//An optional maximum total time lock for the route. This should not exceed
	//lnd's `--max-cltv-expiry` setting. If zero, then the value of
	//`--max-cltv-expiry` is enforced.
	CltvLimit uint32 `protobuf:"varint,10,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
	//
	//An optional field that can be used to pass an arbitrary set of TLV records
	//to a peer which understands the new records. This can be used to pass
	//application specific data during the payment attempt. Record types are
	//required to be in the custom range >= 65536.
	DestCustomRecords map[uint64][]byte `` /* 204-byte string literal not displayed */
	// If set, circular payments to self are permitted.
	AllowSelfPayment bool `protobuf:"varint,14,opt,name=allow_self_payment,json=allowSelfPayment,proto3" json:"allow_self_payment,omitempty"`
	//
	//Features assumed to be supported by the final node. All transitive feature
	//dependencies must also be set properly. For a given feature bit pair, either
	//optional or remote may be set, but not both. If this field is nil or empty,
	//the router will try to load destination features from the graph as a
	//fallback.
	DestFeatures         []FeatureBit `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SendRequest) Descriptor

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

func (*SendRequest) GetAllowSelfPayment

func (m *SendRequest) GetAllowSelfPayment() bool

func (*SendRequest) GetAmt

func (m *SendRequest) GetAmt() int64

func (*SendRequest) GetAmtMsat

func (m *SendRequest) GetAmtMsat() int64

func (*SendRequest) GetCltvLimit

func (m *SendRequest) GetCltvLimit() uint32

func (*SendRequest) GetDest

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

func (*SendRequest) GetDestCustomRecords

func (m *SendRequest) GetDestCustomRecords() map[uint64][]byte

func (*SendRequest) GetDestFeatures

func (m *SendRequest) GetDestFeatures() []FeatureBit

func (*SendRequest) GetFeeLimit

func (m *SendRequest) GetFeeLimit() *FeeLimit

func (*SendRequest) GetFinalCltvDelta

func (m *SendRequest) GetFinalCltvDelta() int32

func (*SendRequest) GetLastHopPubkey

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

func (*SendRequest) GetOutgoingChanId

func (m *SendRequest) GetOutgoingChanId() uint64

func (*SendRequest) GetPaymentHash

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

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 (m *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,json=paymentError,proto3" json:"payment_error,omitempty"`
	PaymentPreimage      []byte   `protobuf:"bytes,2,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
	PaymentRoute         *Route   `protobuf:"bytes,3,opt,name=payment_route,json=paymentRoute,proto3" json:"payment_route,omitempty"`
	PaymentHash          []byte   `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,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 (m *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"`
	// 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) GetRoute

func (m *SendToRouteRequest) GetRoute() *Route

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 (m *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 SetNetworkStewardVoteRequest

type SetNetworkStewardVoteRequest struct {
	VoteAgainst          string   `protobuf:"bytes,1,opt,name=vote_against,json=voteAgainst,proto3" json:"vote_against,omitempty"`
	VoteFor              string   `protobuf:"bytes,2,opt,name=vote_for,json=voteFor,proto3" json:"vote_for,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetNetworkStewardVoteRequest) Descriptor

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

func (*SetNetworkStewardVoteRequest) GetVoteAgainst

func (m *SetNetworkStewardVoteRequest) GetVoteAgainst() string

func (*SetNetworkStewardVoteRequest) GetVoteFor

func (m *SetNetworkStewardVoteRequest) GetVoteFor() string

func (*SetNetworkStewardVoteRequest) ProtoMessage

func (*SetNetworkStewardVoteRequest) ProtoMessage()

func (*SetNetworkStewardVoteRequest) Reset

func (m *SetNetworkStewardVoteRequest) Reset()

func (*SetNetworkStewardVoteRequest) String

func (*SetNetworkStewardVoteRequest) XXX_DiscardUnknown

func (m *SetNetworkStewardVoteRequest) XXX_DiscardUnknown()

func (*SetNetworkStewardVoteRequest) XXX_Marshal

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

func (*SetNetworkStewardVoteRequest) XXX_Merge

func (m *SetNetworkStewardVoteRequest) XXX_Merge(src proto.Message)

func (*SetNetworkStewardVoteRequest) XXX_Size

func (m *SetNetworkStewardVoteRequest) XXX_Size() int

func (*SetNetworkStewardVoteRequest) XXX_Unmarshal

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

type SetNetworkStewardVoteResponse

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

func (*SetNetworkStewardVoteResponse) Descriptor

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

func (*SetNetworkStewardVoteResponse) ProtoMessage

func (*SetNetworkStewardVoteResponse) ProtoMessage()

func (*SetNetworkStewardVoteResponse) Reset

func (m *SetNetworkStewardVoteResponse) Reset()

func (*SetNetworkStewardVoteResponse) String

func (*SetNetworkStewardVoteResponse) XXX_DiscardUnknown

func (m *SetNetworkStewardVoteResponse) XXX_DiscardUnknown()

func (*SetNetworkStewardVoteResponse) XXX_Marshal

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

func (*SetNetworkStewardVoteResponse) XXX_Merge

func (m *SetNetworkStewardVoteResponse) XXX_Merge(src proto.Message)

func (*SetNetworkStewardVoteResponse) XXX_Size

func (m *SetNetworkStewardVoteResponse) XXX_Size() int

func (*SetNetworkStewardVoteResponse) XXX_Unmarshal

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

type SignMessageRequest

type SignMessageRequest struct {
	//
	//The message to be signed.
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// If specified then will override msg, binary form.
	MsgBin []byte `protobuf:"bytes,2,opt,name=msg_bin,json=msgBin,proto3" json:"msg_bin,omitempty"`
	// Address to select for signing with.
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignMessageRequest) Descriptor

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

func (*SignMessageRequest) GetAddress

func (m *SignMessageRequest) GetAddress() string

func (*SignMessageRequest) GetMsg

func (m *SignMessageRequest) GetMsg() string

func (*SignMessageRequest) GetMsgBin

func (m *SignMessageRequest) GetMsgBin() []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 (m *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 (m *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 StopReSyncRequest

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

func (*StopReSyncRequest) Descriptor

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

func (*StopReSyncRequest) ProtoMessage

func (*StopReSyncRequest) ProtoMessage()

func (*StopReSyncRequest) Reset

func (m *StopReSyncRequest) Reset()

func (*StopReSyncRequest) String

func (m *StopReSyncRequest) String() string

func (*StopReSyncRequest) XXX_DiscardUnknown

func (m *StopReSyncRequest) XXX_DiscardUnknown()

func (*StopReSyncRequest) XXX_Marshal

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

func (*StopReSyncRequest) XXX_Merge

func (m *StopReSyncRequest) XXX_Merge(src proto.Message)

func (*StopReSyncRequest) XXX_Size

func (m *StopReSyncRequest) XXX_Size() int

func (*StopReSyncRequest) XXX_Unmarshal

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

type StopReSyncResponse

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

func (*StopReSyncResponse) Descriptor

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

func (*StopReSyncResponse) GetValue

func (m *StopReSyncResponse) GetValue() string

func (*StopReSyncResponse) ProtoMessage

func (*StopReSyncResponse) ProtoMessage()

func (*StopReSyncResponse) Reset

func (m *StopReSyncResponse) Reset()

func (*StopReSyncResponse) String

func (m *StopReSyncResponse) String() string

func (*StopReSyncResponse) XXX_DiscardUnknown

func (m *StopReSyncResponse) XXX_DiscardUnknown()

func (*StopReSyncResponse) XXX_Marshal

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

func (*StopReSyncResponse) XXX_Merge

func (m *StopReSyncResponse) XXX_Merge(src proto.Message)

func (*StopReSyncResponse) XXX_Size

func (m *StopReSyncResponse) XXX_Size() int

func (*StopReSyncResponse) XXX_Unmarshal

func (m *StopReSyncResponse) 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 (m *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 (m *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() er.R

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

	// 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) er.R

	// RegisterWithRestServer will be called by the root REST mux to direct
	// a sub RPC server to register itself with the main REST mux server.
	// Until this is called, each sub-server won't be able to have requests
	// routed towards it.
	RegisterWithRestServer(context.Context, *runtime.ServeMux, string,
		[]grpc.DialOption) er.R
}

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, er.R)
}

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 TimestampedError

type TimestampedError struct {
	// The unix timestamp in seconds when the error occurred.
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The string representation of the error sent by our peer.
	Error                string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TimestampedError) Descriptor

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

func (*TimestampedError) GetError

func (m *TimestampedError) GetError() string

func (*TimestampedError) GetTimestamp

func (m *TimestampedError) GetTimestamp() uint64

func (*TimestampedError) ProtoMessage

func (*TimestampedError) ProtoMessage()

func (*TimestampedError) Reset

func (m *TimestampedError) Reset()

func (*TimestampedError) String

func (m *TimestampedError) String() string

func (*TimestampedError) XXX_DiscardUnknown

func (m *TimestampedError) XXX_DiscardUnknown()

func (*TimestampedError) XXX_Marshal

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

func (*TimestampedError) XXX_Merge

func (m *TimestampedError) XXX_Merge(src proto.Message)

func (*TimestampedError) XXX_Size

func (m *TimestampedError) XXX_Size() int

func (*TimestampedError) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	// The transaction hash
	TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,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,json=numConfirmations,proto3" json:"num_confirmations,omitempty"`
	// The hash of the block this transaction was included in
	BlockHash string `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// The height of the block this transaction was included in
	BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// Timestamp of this transaction
	TimeStamp int64 `protobuf:"varint,6,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	// Fees paid for this transaction
	TotalFees int64 `protobuf:"varint,7,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"`
	// Addresses that received funds for this transaction
	DestAddresses []string `protobuf:"bytes,8,rep,name=dest_addresses,json=destAddresses,proto3" json:"dest_addresses,omitempty"`
	// The raw transaction hex.
	RawTxHex []byte `protobuf:"bytes,9,opt,name=raw_tx_hex,json=rawTxHex,proto3" json:"raw_tx_hex,omitempty"`
	// A label that was optionally set on transaction broadcast.
	Label                string   `protobuf:"bytes,10,opt,name=label,proto3" json:"label,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) GetLabel

func (m *Transaction) GetLabel() string

func (*Transaction) GetNumConfirmations

func (m *Transaction) GetNumConfirmations() int32

func (*Transaction) GetRawTxHex

func (m *Transaction) GetRawTxHex() []byte

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 (m *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 RPCTransactionDetails

func RPCTransactionDetails(txns []*lnwallet.TransactionDetail, reversed bool) *TransactionDetails

RPCTransactionDetails returns a set of rpc transaction details.

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 (m *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 TransactionResult

type TransactionResult struct {
	Amount               float64                        `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
	AmountUnits          uint64                         `protobuf:"varint,2,opt,name=amount_units,json=amountUnits,proto3" json:"amount_units,omitempty"`
	Fee                  float64                        `protobuf:"fixed64,3,opt,name=fee,proto3" json:"fee,omitempty"`
	FeeUnits             uint64                         `protobuf:"varint,4,opt,name=fee_units,json=feeUnits,proto3" json:"fee_units,omitempty"`
	Confirmations        int64                          `protobuf:"varint,5,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	BlockHash            string                         `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockIndex           int64                          `protobuf:"varint,7,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"`
	BlockTime            int64                          `protobuf:"varint,8,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	Txid                 string                         `protobuf:"bytes,9,opt,name=txid,proto3" json:"txid,omitempty"`
	WalletConflicts      []string                       `protobuf:"bytes,10,rep,name=wallet_conflicts,json=walletConflicts,proto3" json:"wallet_conflicts,omitempty"`
	Time                 int64                          `protobuf:"varint,11,opt,name=time,proto3" json:"time,omitempty"`
	TimeReceived         int64                          `protobuf:"varint,12,opt,name=time_received,json=timeReceived,proto3" json:"time_received,omitempty"`
	Details              []*GetTransactionDetailsResult `protobuf:"bytes,13,rep,name=details,proto3" json:"details,omitempty"`
	Raw                  []byte                         `protobuf:"bytes,14,opt,name=raw,proto3" json:"raw,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*TransactionResult) Descriptor

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

func (*TransactionResult) GetAmount

func (m *TransactionResult) GetAmount() float64

func (*TransactionResult) GetAmountUnits

func (m *TransactionResult) GetAmountUnits() uint64

func (*TransactionResult) GetBlockHash

func (m *TransactionResult) GetBlockHash() string

func (*TransactionResult) GetBlockIndex

func (m *TransactionResult) GetBlockIndex() int64

func (*TransactionResult) GetBlockTime

func (m *TransactionResult) GetBlockTime() int64

func (*TransactionResult) GetConfirmations

func (m *TransactionResult) GetConfirmations() int64

func (*TransactionResult) GetDetails

func (*TransactionResult) GetFee

func (m *TransactionResult) GetFee() float64

func (*TransactionResult) GetFeeUnits

func (m *TransactionResult) GetFeeUnits() uint64

func (*TransactionResult) GetRaw

func (m *TransactionResult) GetRaw() []byte

func (*TransactionResult) GetTime

func (m *TransactionResult) GetTime() int64

func (*TransactionResult) GetTimeReceived

func (m *TransactionResult) GetTimeReceived() int64

func (*TransactionResult) GetTxid

func (m *TransactionResult) GetTxid() string

func (*TransactionResult) GetWalletConflicts

func (m *TransactionResult) GetWalletConflicts() []string

func (*TransactionResult) ProtoMessage

func (*TransactionResult) ProtoMessage()

func (*TransactionResult) Reset

func (m *TransactionResult) Reset()

func (*TransactionResult) String

func (m *TransactionResult) String() string

func (*TransactionResult) XXX_DiscardUnknown

func (m *TransactionResult) XXX_DiscardUnknown()

func (*TransactionResult) XXX_Marshal

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

func (*TransactionResult) XXX_Merge

func (m *TransactionResult) XXX_Merge(src proto.Message)

func (*TransactionResult) XXX_Size

func (m *TransactionResult) XXX_Size() int

func (*TransactionResult) XXX_Unmarshal

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

type UnimplementedLightningServer

type UnimplementedLightningServer struct {
}

UnimplementedLightningServer should be embedded to have forward compatible implementations.

func (UnimplementedLightningServer) AbandonChannel

func (UnimplementedLightningServer) AddInvoice

func (UnimplementedLightningServer) BcastTransaction

func (UnimplementedLightningServer) ChannelAcceptor

func (UnimplementedLightningServer) ChannelBalance

func (UnimplementedLightningServer) CloseChannel

func (UnimplementedLightningServer) ClosedChannels

func (UnimplementedLightningServer) ConnectPeer

func (UnimplementedLightningServer) CreateTransaction

func (UnimplementedLightningServer) DebugLevel

func (UnimplementedLightningServer) DecodePayReq

func (UnimplementedLightningServer) DeleteAllPayments

func (UnimplementedLightningServer) DescribeGraph

func (UnimplementedLightningServer) DisconnectPeer

func (UnimplementedLightningServer) DumpPrivKey

func (UnimplementedLightningServer) EstimateFee

func (UnimplementedLightningServer) ExportAllChannelBackups

func (UnimplementedLightningServer) ExportChannelBackup

func (UnimplementedLightningServer) FeeReport

func (UnimplementedLightningServer) ForwardingHistory

func (UnimplementedLightningServer) FundingStateStep

func (UnimplementedLightningServer) GetChanInfo

func (UnimplementedLightningServer) GetInfo

func (UnimplementedLightningServer) GetNetworkInfo

func (UnimplementedLightningServer) GetNewAddress

func (UnimplementedLightningServer) GetNodeInfo

func (UnimplementedLightningServer) GetNodeMetrics

func (UnimplementedLightningServer) GetRecoveryInfo

func (UnimplementedLightningServer) GetSecret

func (UnimplementedLightningServer) GetTransaction

func (UnimplementedLightningServer) GetTransactions

func (UnimplementedLightningServer) GetWalletSeed

func (UnimplementedLightningServer) ImportPrivKey

func (UnimplementedLightningServer) ListChannels

func (UnimplementedLightningServer) ListInvoices

func (UnimplementedLightningServer) ListLockUnspent

func (UnimplementedLightningServer) ListPayments

func (UnimplementedLightningServer) ListPeers

func (UnimplementedLightningServer) ListUnspent

func (UnimplementedLightningServer) LockUnspent

func (UnimplementedLightningServer) LookupInvoice

func (UnimplementedLightningServer) NewAddress

func (UnimplementedLightningServer) OpenChannel

func (UnimplementedLightningServer) OpenChannelSync

func (UnimplementedLightningServer) PendingChannels

func (UnimplementedLightningServer) QueryRoutes

func (UnimplementedLightningServer) ReSync

func (UnimplementedLightningServer) RestoreChannelBackups

func (UnimplementedLightningServer) SendCoins

func (UnimplementedLightningServer) SendFrom

func (UnimplementedLightningServer) SendMany

func (UnimplementedLightningServer) SendPayment

func (UnimplementedLightningServer) SendPaymentSync

func (UnimplementedLightningServer) SendToRoute

func (UnimplementedLightningServer) SendToRouteSync

func (UnimplementedLightningServer) SignMessage

func (UnimplementedLightningServer) StopDaemon

func (UnimplementedLightningServer) StopReSync

func (UnimplementedLightningServer) SubscribeInvoices

func (UnimplementedLightningServer) UpdateChannelPolicy

func (UnimplementedLightningServer) VerifyChanBackup

func (UnimplementedLightningServer) WalletBalance

type UnimplementedMetaServiceServer

type UnimplementedMetaServiceServer struct {
}

UnimplementedMetaServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedMetaServiceServer) ChangePassword

func (UnimplementedMetaServiceServer) CheckPassword

func (UnimplementedMetaServiceServer) ForceCrash

func (UnimplementedMetaServiceServer) GetInfo2

type UnimplementedWalletUnlockerServer

type UnimplementedWalletUnlockerServer struct {
}

UnimplementedWalletUnlockerServer should be embedded to have forward compatible implementations.

func (UnimplementedWalletUnlockerServer) GenSeed

func (UnimplementedWalletUnlockerServer) InitWallet

func (UnimplementedWalletUnlockerServer) UnlockWallet

type UnlockWalletRequest

type UnlockWalletRequest struct {
	//
	//wallet_passphrase should be the current valid private passphrase for the daemon. This
	//will be required to decrypt on-disk material that the daemon requires to
	//function properly.
	WalletPassphrase string `protobuf:"bytes,1,opt,name=wallet_passphrase,json=walletPassphrase,proto3" json:"wallet_passphrase,omitempty"`
	//
	//If specified, will override wallet_passphrase, but is expressed in binary.
	//When using REST, this field must be encoded as base64.
	WalletPassphraseBin []byte `protobuf:"bytes,2,opt,name=wallet_passphrase_bin,json=walletPassphraseBin,proto3" json:"wallet_passphrase_bin,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,3,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,4,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"`
	//
	//wallet_name is optional when the user wants to load a specified wallet other
	//than the default wallet.db
	WalletName           string   `protobuf:"bytes,5,opt,name=wallet_name,json=walletName,proto3" json:"wallet_name,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) GetWalletName

func (m *UnlockWalletRequest) GetWalletName() string

func (*UnlockWalletRequest) GetWalletPassphrase

func (m *UnlockWalletRequest) GetWalletPassphrase() string

func (*UnlockWalletRequest) GetWalletPassphraseBin

func (m *UnlockWalletRequest) GetWalletPassphraseBin() []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 (m *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 (m *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 UnsafeLightningServer

type UnsafeLightningServer interface {
	// contains filtered or unexported methods
}

UnsafeLightningServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LightningServer will result in compilation errors.

type UnsafeMetaServiceServer

type UnsafeMetaServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMetaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetaServiceServer will result in compilation errors.

type UnsafeWalletUnlockerServer

type UnsafeWalletUnlockerServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletUnlockerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletUnlockerServer will result in compilation errors.

type Utxo

type Utxo struct {
	// The type of address
	AddressType AddressType `protobuf:"varint,1,opt,name=address_type,json=addressType,proto3,enum=lnrpc.AddressType" json:"address_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,json=amountSat,proto3" json:"amount_sat,omitempty"`
	// The pkscript in hex
	PkScript string `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,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 MarshalUtxos

func MarshalUtxos(utxos []*lnwallet.Utxo, activeNetParams *chaincfg.Params) (
	[]*Utxo, er.R)

MarshalUtxos translates a []*lnwallet.Utxo into a []*lnrpc.Utxo.

func (*Utxo) Descriptor

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

func (*Utxo) GetAddress

func (m *Utxo) GetAddress() string

func (*Utxo) GetAddressType

func (m *Utxo) GetAddressType() AddressType

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) 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 (m *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 (m *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 VinPrevOut

type VinPrevOut struct {
	Coinbase             string     `protobuf:"bytes,1,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	Txid                 string     `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`
	Vout                 uint32     `protobuf:"varint,3,opt,name=vout,proto3" json:"vout,omitempty"`
	ScriptSig            *ScriptSig `protobuf:"bytes,4,opt,name=script_sig,json=scriptSig,proto3" json:"script_sig,omitempty"`
	Sequence             uint32     `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Witness              []string   `protobuf:"bytes,6,rep,name=witness,proto3" json:"witness,omitempty"`
	PrevOut              *PrevOut   `protobuf:"bytes,7,opt,name=prev_out,json=prevOut,proto3" json:"prev_out,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*VinPrevOut) Descriptor

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

func (*VinPrevOut) GetCoinbase

func (m *VinPrevOut) GetCoinbase() string

func (*VinPrevOut) GetPrevOut

func (m *VinPrevOut) GetPrevOut() *PrevOut

func (*VinPrevOut) GetScriptSig

func (m *VinPrevOut) GetScriptSig() *ScriptSig

func (*VinPrevOut) GetSequence

func (m *VinPrevOut) GetSequence() uint32

func (*VinPrevOut) GetTxid

func (m *VinPrevOut) GetTxid() string

func (*VinPrevOut) GetVout

func (m *VinPrevOut) GetVout() uint32

func (*VinPrevOut) GetWitness

func (m *VinPrevOut) GetWitness() []string

func (*VinPrevOut) ProtoMessage

func (*VinPrevOut) ProtoMessage()

func (*VinPrevOut) Reset

func (m *VinPrevOut) Reset()

func (*VinPrevOut) String

func (m *VinPrevOut) String() string

func (*VinPrevOut) XXX_DiscardUnknown

func (m *VinPrevOut) XXX_DiscardUnknown()

func (*VinPrevOut) XXX_Marshal

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

func (*VinPrevOut) XXX_Merge

func (m *VinPrevOut) XXX_Merge(src proto.Message)

func (*VinPrevOut) XXX_Size

func (m *VinPrevOut) XXX_Size() int

func (*VinPrevOut) XXX_Unmarshal

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

type Vote

type Vote struct {
	For                  string   `protobuf:"bytes,1,opt,name=for,proto3" json:"for,omitempty"`
	Against              string   `protobuf:"bytes,2,opt,name=against,proto3" json:"against,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Vote) Descriptor

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

func (*Vote) GetAgainst

func (m *Vote) GetAgainst() string

func (*Vote) GetFor

func (m *Vote) GetFor() string

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) Reset

func (m *Vote) Reset()

func (*Vote) String

func (m *Vote) String() string

func (*Vote) XXX_DiscardUnknown

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal

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

func (*Vote) XXX_Merge

func (m *Vote) XXX_Merge(src proto.Message)

func (*Vote) XXX_Size

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal

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

type Vout

type Vout struct {
	ValueCoins           float64  `protobuf:"fixed64,1,opt,name=value_coins,json=valueCoins,proto3" json:"value_coins,omitempty"`
	Svalue               string   `protobuf:"bytes,2,opt,name=svalue,proto3" json:"svalue,omitempty"`
	N                    uint32   `protobuf:"varint,3,opt,name=n,proto3" json:"n,omitempty"`
	Address              string   `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Vote                 *Vote    `protobuf:"bytes,5,opt,name=vote,proto3" json:"vote,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Vout) Descriptor

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

func (*Vout) GetAddress

func (m *Vout) GetAddress() string

func (*Vout) GetN

func (m *Vout) GetN() uint32

func (*Vout) GetSvalue

func (m *Vout) GetSvalue() string

func (*Vout) GetValueCoins

func (m *Vout) GetValueCoins() float64

func (*Vout) GetVote

func (m *Vout) GetVote() *Vote

func (*Vout) ProtoMessage

func (*Vout) ProtoMessage()

func (*Vout) Reset

func (m *Vout) Reset()

func (*Vout) String

func (m *Vout) String() string

func (*Vout) XXX_DiscardUnknown

func (m *Vout) XXX_DiscardUnknown()

func (*Vout) XXX_Marshal

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

func (*Vout) XXX_Merge

func (m *Vout) XXX_Merge(src proto.Message)

func (*Vout) XXX_Size

func (m *Vout) XXX_Size() int

func (*Vout) XXX_Unmarshal

func (m *Vout) 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 (m *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,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// The confirmed balance of a wallet(with >= 1 confirmations)
	ConfirmedBalance int64 `protobuf:"varint,2,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"`
	// The unconfirmed balance of a wallet(with 0 confirmations)
	UnconfirmedBalance   int64    `protobuf:"varint,3,opt,name=unconfirmed_balance,json=unconfirmedBalance,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 (m *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 WalletInfo

type WalletInfo struct {
	CurrentBlockHash      string       `protobuf:"bytes,1,opt,name=current_block_hash,json=currentBlockHash,proto3" json:"current_block_hash,omitempty"`
	CurrentHeight         int32        `protobuf:"varint,2,opt,name=current_height,json=currentHeight,proto3" json:"current_height,omitempty"`
	CurrentBlockTimestamp string       `` /* 126-byte string literal not displayed */
	WalletVersion         int32        `protobuf:"varint,4,opt,name=wallet_version,json=walletVersion,proto3" json:"wallet_version,omitempty"`
	WalletStats           *WalletStats `protobuf:"bytes,5,opt,name=wallet_stats,json=walletStats,proto3" json:"wallet_stats,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}     `json:"-"`
	XXX_unrecognized      []byte       `json:"-"`
	XXX_sizecache         int32        `json:"-"`
}

func (*WalletInfo) Descriptor

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

func (*WalletInfo) GetCurrentBlockHash

func (m *WalletInfo) GetCurrentBlockHash() string

func (*WalletInfo) GetCurrentBlockTimestamp

func (m *WalletInfo) GetCurrentBlockTimestamp() string

func (*WalletInfo) GetCurrentHeight

func (m *WalletInfo) GetCurrentHeight() int32

func (*WalletInfo) GetWalletStats

func (m *WalletInfo) GetWalletStats() *WalletStats

func (*WalletInfo) GetWalletVersion

func (m *WalletInfo) GetWalletVersion() int32

func (*WalletInfo) ProtoMessage

func (*WalletInfo) ProtoMessage()

func (*WalletInfo) Reset

func (m *WalletInfo) Reset()

func (*WalletInfo) String

func (m *WalletInfo) String() string

func (*WalletInfo) XXX_DiscardUnknown

func (m *WalletInfo) XXX_DiscardUnknown()

func (*WalletInfo) XXX_Marshal

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

func (*WalletInfo) XXX_Merge

func (m *WalletInfo) XXX_Merge(src proto.Message)

func (*WalletInfo) XXX_Size

func (m *WalletInfo) XXX_Size() int

func (*WalletInfo) XXX_Unmarshal

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

type WalletStats

type WalletStats struct {
	MaintenanceInProgress       bool     `` /* 127-byte string literal not displayed */
	MaintenanceName             string   `protobuf:"bytes,2,opt,name=maintenance_name,json=maintenanceName,proto3" json:"maintenance_name,omitempty"`
	MaintenanceCycles           int32    `protobuf:"varint,3,opt,name=maintenance_cycles,json=maintenanceCycles,proto3" json:"maintenance_cycles,omitempty"`
	MaintenanceLastBlockVisited int32    `` /* 147-byte string literal not displayed */
	TimeOfLastMaintenance       string   `` /* 128-byte string literal not displayed */
	Syncing                     bool     `protobuf:"varint,6,opt,name=syncing,proto3" json:"syncing,omitempty"`
	SyncStarted                 string   `protobuf:"bytes,7,opt,name=sync_started,json=syncStarted,proto3" json:"sync_started,omitempty"`
	SyncRemainingSeconds        int64    `protobuf:"varint,8,opt,name=sync_remaining_seconds,json=syncRemainingSeconds,proto3" json:"sync_remaining_seconds,omitempty"`
	SyncCurrentBlock            int32    `protobuf:"varint,9,opt,name=sync_current_block,json=syncCurrentBlock,proto3" json:"sync_current_block,omitempty"`
	SyncFrom                    int32    `protobuf:"varint,10,opt,name=sync_from,json=syncFrom,proto3" json:"sync_from,omitempty"`
	SyncTo                      int32    `protobuf:"varint,11,opt,name=sync_to,json=syncTo,proto3" json:"sync_to,omitempty"`
	BirthdayBlock               int32    `protobuf:"varint,12,opt,name=birthday_block,json=birthdayBlock,proto3" json:"birthday_block,omitempty"`
	XXX_NoUnkeyedLiteral        struct{} `json:"-"`
	XXX_unrecognized            []byte   `json:"-"`
	XXX_sizecache               int32    `json:"-"`
}

func (*WalletStats) Descriptor

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

func (*WalletStats) GetBirthdayBlock

func (m *WalletStats) GetBirthdayBlock() int32

func (*WalletStats) GetMaintenanceCycles

func (m *WalletStats) GetMaintenanceCycles() int32

func (*WalletStats) GetMaintenanceInProgress

func (m *WalletStats) GetMaintenanceInProgress() bool

func (*WalletStats) GetMaintenanceLastBlockVisited

func (m *WalletStats) GetMaintenanceLastBlockVisited() int32

func (*WalletStats) GetMaintenanceName

func (m *WalletStats) GetMaintenanceName() string

func (*WalletStats) GetSyncCurrentBlock

func (m *WalletStats) GetSyncCurrentBlock() int32

func (*WalletStats) GetSyncFrom

func (m *WalletStats) GetSyncFrom() int32

func (*WalletStats) GetSyncRemainingSeconds

func (m *WalletStats) GetSyncRemainingSeconds() int64

func (*WalletStats) GetSyncStarted

func (m *WalletStats) GetSyncStarted() string

func (*WalletStats) GetSyncTo

func (m *WalletStats) GetSyncTo() int32

func (*WalletStats) GetSyncing

func (m *WalletStats) GetSyncing() bool

func (*WalletStats) GetTimeOfLastMaintenance

func (m *WalletStats) GetTimeOfLastMaintenance() string

func (*WalletStats) ProtoMessage

func (*WalletStats) ProtoMessage()

func (*WalletStats) Reset

func (m *WalletStats) Reset()

func (*WalletStats) String

func (m *WalletStats) String() string

func (*WalletStats) XXX_DiscardUnknown

func (m *WalletStats) XXX_DiscardUnknown()

func (*WalletStats) XXX_Marshal

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

func (*WalletStats) XXX_Merge

func (m *WalletStats) XXX_Merge(src proto.Message)

func (*WalletStats) XXX_Size

func (m *WalletStats) XXX_Size() int

func (*WalletStats) XXX_Unmarshal

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

type WalletUnlockerClient

type WalletUnlockerClient interface {
	//
	//$pld.category: `Seed`
	//$pld.short_description: `Create a secret seed`
	//
	//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)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Initialize a wallet when starting lnd for the first time`
	//
	//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)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Unlock an encrypted wallet at startup`
	//
	//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)
}

WalletUnlockerClient is the client API for WalletUnlocker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletUnlockerServer

type WalletUnlockerServer interface {
	//
	//$pld.category: `Seed`
	//$pld.short_description: `Create a secret seed`
	//
	//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)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Initialize a wallet when starting lnd for the first time`
	//
	//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)
	//
	//$pld.category: `Wallet`
	//$pld.short_description: `Unlock an encrypted wallet at startup`
	//
	//UnlockWallet is used at startup of lnd to provide a password to unlock
	//the wallet database.
	UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
}

WalletUnlockerServer is the server API for WalletUnlocker service. All implementations should embed UnimplementedWalletUnlockerServer for forward compatibility

type WebsocketProxy

type WebsocketProxy struct {
	// contains filtered or unexported fields
}

WebsocketProxy provides websocket transport upgrade to compatible endpoints.

func (*WebsocketProxy) ServeHTTP

func (p *WebsocketProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP handles the incoming HTTP request. If the request is an "upgradeable" WebSocket request (identified by header fields), then the WS proxy handles the request. Otherwise the request is passed directly to the underlying REST proxy.

Directories

Path Synopsis
Package autopilotrpc is a reverse proxy.
Package autopilotrpc is a reverse proxy.
Package chainrpc is a reverse proxy.
Package chainrpc is a reverse proxy.
Package invoicesrpc is a reverse proxy.
Package invoicesrpc is a reverse proxy.
Package routerrpc is a reverse proxy.
Package routerrpc is a reverse proxy.
Package signrpc is a reverse proxy.
Package signrpc is a reverse proxy.
Package verrpc is a reverse proxy.
Package verrpc is a reverse proxy.
Package walletrpc is a reverse proxy.
Package walletrpc is a reverse proxy.
Package watchtowerrpc is a reverse proxy.
Package watchtowerrpc is a reverse proxy.
Package wtclientrpc is a reverse proxy.
Package wtclientrpc is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL