package
0.18.4-beta.rc2
Repository: https://github.com/lightningnetwork/lnd.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
NewFailedUpdateFromProto creates a display from the FailedUpdate proto.
NewOutPointFromProto formats the lnrpc.OutPoint into an OutPoint for display.
NewPendingSweepFromProto converts the walletrpc.PendingSweep proto type into its corresponding CLI-friendly type.
NewProtoOutPoint parses an OutPoint into its corresponding lnrpc.OutPoint type.
NewUtxoFromProto creates a display Utxo from the Utxo proto.
PaymentFlags returns common flags for sendpayment and payinvoice.
PrintLivePayment receives payment updates from the given stream and either outputs them as json or as a more user-friendly formatted table.
No description provided by the author
No description provided by the author
StripPrefix removes accidentally copied 'lightning:' prefix.
UtxosToOutpoints converts a slice of UTXO strings into a slice of OutPoint protobuf objects.

# Constants

ESC is the ASCII code for escape character.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
FailedUpdate displays information about a failed update, including its address, reason and update error.
PendingSweep is a CLI-friendly type of the walletrpc.PendingSweep proto.
Utxo displays information about an unspent output, including its address, amount, pkscript, and confirmations.

# Interfaces

PaymentResultStream is an interface that abstracts the Recv method of the SendPaymentV2 or TrackPaymentV2 client stream.

# Type aliases

OutPoint displays an outpoint string in the form "<txid>:<output-index>".
SendPaymentFn is a function type that abstracts the SendPaymentV2 call of the router client.