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

# README

lnrpc

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

To compile the lnrpc/**/*.proto files and generate the protobuf definitions, you need to have Docker and make installed.

Simply run make rpc to start the compilation process.

Format .proto files

We use clang-format to make sure the .proto files are formatted correctly.

When running the make rpc command, the .proto files are also formatted. To format the files without also compiling them, you can install the clang-format formatter on Ubuntu by running apt install clang-format or on Mac by running brew install clang-format. The make format command should then produce the correct result.

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

Makefile commands

The following commands are available with make:

  • rpc: Compile and format all .proto files using Docker (calls lnrpc/gen_protos_docker.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.

# Packages

Package autopilotrpc is a reverse proxy.
Package chainrpc is a reverse proxy.
Package devrpc is a reverse proxy.
Package invoicesrpc is a reverse proxy.
No description provided by the author
Package neutrinorpc is a reverse proxy.
Package peersrpc is a reverse proxy.
Package routerrpc is a reverse proxy.
Package signrpc is a reverse proxy.
Package verrpc is a reverse proxy.
Package walletrpc is a reverse proxy.
Package watchtowerrpc is a reverse proxy.
Package wtclientrpc is a reverse proxy.

# Functions

CalculateFeeLimit returns the fee limit in millisatoshis.
CalculateFeeRate uses either satPerByte or satPerVByte, but not both, from a request to calculate the fee rate.
ExtractMinConfs extracts the minimum number of confirmations that each output used to fund a transaction should satisfy.
FileExists reports whether the named file or directory exists.
GetChanPointFundingTxid returns the given channel point's funding txid in raw bytes.
IsClosedConnError is a helper function that returns true if the given error is an error indicating we are using a closed connection.
MarshalAliasMap converts a ScidAliasMap to its proto counterpart.
MarshallOutputType translates a txscript.ScriptClass into a lnrpc.OutputScriptType.
MarshalOutPoint converts a wire.OutPoint to its proto counterpart.
MarshalUtxos translates a []*lnwallet.Utxo into a []*lnrpc.Utxo.
No description provided by the author
No description provided by the author
No description provided by the author
NewWebSocketProxy attempts to expose the underlying handler as a response- streaming WebSocket stream with newline-delimited JSON as the content encoding.
ParseConfs validates the minimum and maximum confirmation arguments of a ListUnspent request.
RegisteredSubServers returns all registered sub-servers.
RegisterLightningHandler registers the http handlers for service Lightning to "mux".
RegisterLightningHandlerClient registers the http handlers for service Lightning to "mux".
RegisterLightningHandlerFromEndpoint is same as RegisterLightningHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterLightningHandlerServer registers the http handlers for service Lightning to "mux".
No description provided by the author
No description provided by the author
RegisterStateHandler registers the http handlers for service State to "mux".
RegisterStateHandlerClient registers the http handlers for service State to "mux".
RegisterStateHandlerFromEndpoint is same as RegisterStateHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterStateHandlerServer registers the http handlers for service State to "mux".
No description provided by the author
No description provided by the author
RegisterSubServer should be called by a sub-server within its package's init() method to register its existence with the main sub-server map.
RegisterWalletUnlockerHandler registers the http handlers for service WalletUnlocker to "mux".
RegisterWalletUnlockerHandlerClient registers the http handlers for service WalletUnlocker to "mux".
RegisterWalletUnlockerHandlerFromEndpoint is same as RegisterWalletUnlockerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterWalletUnlockerHandlerServer registers the http handlers for service WalletUnlocker to "mux".
No description provided by the author
No description provided by the author
RPCTransaction returns a rpc transaction.
RPCTransactionDetails returns a set of rpc transaction details.
SupportedServers returns slice of the names of all registered sub-servers.
UnmarshallAmt returns a strong msat type for a sat/msat pair of rpc fields.
UnmarshallCoinSelectionStrategy converts a lnrpc.CoinSelectionStrategy proto type to its wallet.CoinSelectionStrategy counterpart type, considering a global default strategy if necessary.

# Constants

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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
Select the largest available coins first during coin selection.
Randomly select the available coins during coin selection.
Use the coin selection strategy defined in the global configuration (lnd.conf).
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.
A channel using the legacy commitment format having tweaked to_remote keys.
A channel that uses a commitment type that builds upon the anchors commitment format, but in addition requires a CLTV clause to spend outputs paying to the channel initiator.
A channel that uses musig2 for the funding output, and the new tapscript features where relevant.
Identical to the SIMPLE_TAPROOT channel type, but with extra functionality.
A channel that uses the modern commitment format where the key in the output of the remote party does not change each state.
Returned when the commitment type isn't known or unavailable.
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
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
No description provided by the author
An internal error occurred.
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
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
No description provided by the author
The numbers assigned in this enumeration match the failure codes as defined in BOLT #4.
No description provided by the author
No description provided by the author
The error source is known, but the failure itself couldn't be decoded.
No description provided by the author
An unreadable failure result is returned if the received failure message cannot be decrypted.
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
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
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
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
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
No description provided by the author
No description provided by the author
HeaderWebSocketProtocol is the name of the WebSocket protocol exchange header field that we use to transport additional header fields.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxWsMsgSize is the largest websockets message we'll attempt to decode in the gRPC <-> WS proxy.
MethodOverrideParam is the GET query parameter that specifies what HTTP request method should be used for the forwarded REST request.
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
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
No description provided by the author
No description provided by the author
Payment is failed.
Payment has inflight HTLCs.
Payment is created and has not attempted any HTLCs.
Payment is settled.
Deprecated.
The payment was canceled.
A non-recoverable error has occured.
Payment details incorrect (unknown hash, invalid amt or invalid final cltv delta).
Insufficient local balance.
All possible routes were tried and failed permanently.
Payment isn't failed (yet).
There are more routes to try, but the payment timeout was exceeded.
Denotes that we are actively receiving new graph updates from the peer.
Denotes that we are not receiving new graph updates from the peer.
Denotes that this peer is pinned into an active sync.
Denotes that we cannot determine the peer's current sync type.
No description provided by the author
No description provided by the author
The recovered_balance is zero and limbo_balance is non-zero.
A state that is neither LIMBO nor RECOVERED.
The recovered_balance is non-zero.
PingContent is the content of the ping message we send out.
RegisterRPCMiddlewareURI is the full RPC method URI for the middleware registration call.
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.
An output was claimed on chain.
If we force closed our channel, our htlcs need to be claimed in two stages.
Outcome unknown.
A htlc was timed out on chain.
An output was left unclaimed on chain.
We resolved an anchor output.
We force closed and need to sweep our time locked commitment output.
We are resolving an incoming htlc on chain.
We are resolving an outgoing htlc on chain.
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
No description provided by the author
LOCKED means that the wallet is locked and requires a password to unlock.
NON_EXISTING means that the wallet has not yet been initialized.
RPC_ACTIVE means that the lnd server is active but not fully ready for calls.
SERVER_ACTIVE means that the lnd server is ready to accept calls.
UNLOCKED means that the wallet was unlocked successfully, but RPC server isn't ready.
WAITING_TO_START means that node is waiting to become the leader in a cluster and is not started yet.
WebSocketProtocolDelimiter is the delimiter we use between the additional header field and its value.

# Variables

Enum value maps for AddressType.
Enum value maps for AddressType.
Enum value maps for ChannelCloseSummary_ClosureType.
Enum value maps for ChannelCloseSummary_ClosureType.
Enum value maps for ChannelEventUpdate_UpdateType.
Enum value maps for ChannelEventUpdate_UpdateType.
Enum value maps for CoinSelectionStrategy.
Enum value maps for CoinSelectionStrategy.
Enum value maps for CommitmentType.
Enum value maps for CommitmentType.
DefaultPingInterval is the default number of seconds to wait between sending ping requests.
DefaultPongWait is the maximum duration we wait for a pong response to a ping we sent before we assume the connection died.
ErrSatMsatMutualExclusive is returned when both a sat and an msat amount are set.
Enum value maps for Failure_FailureCode.
Enum value maps for Failure_FailureCode.
Enum value maps for FeatureBit.
Enum value maps for FeatureBit.
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for HTLCAttempt_HTLCStatus.
Enum value maps for HTLCAttempt_HTLCStatus.
Enum value maps for Initiator.
Enum value maps for Initiator.
Enum value maps for Invoice_InvoiceState.
Enum value maps for Invoice_InvoiceState.
Enum value maps for InvoiceHTLCState.
Enum value maps for InvoiceHTLCState.
Lightning_ServiceDesc is the grpc.ServiceDesc for Lightning service.
LndClientStreamingURIs is a list of all lnd RPCs that use a request- streaming interface.
MaxGrpcMsgSize is used when we configure both server and clients to allow sending/receiving at most 200 MiB GRPC messages.
Enum value maps for NodeMetricType.
Enum value maps for NodeMetricType.
Enum value maps for OutputScriptType.
Enum value maps for OutputScriptType.
Enum value maps for Payment_PaymentStatus.
Enum value maps for Payment_PaymentStatus.
Enum value maps for PaymentFailureReason.
Enum value maps for PaymentFailureReason.
Enum value maps for Peer_SyncType.
Enum value maps for Peer_SyncType.
Enum value maps for PeerEvent_EventType.
Enum value maps for PeerEvent_EventType.
Enum value maps for PendingChannelsResponse_ForceClosedChannel_AnchorState.
Enum value maps for PendingChannelsResponse_ForceClosedChannel_AnchorState.
ProtoJSONMarshalOpts is a struct that holds the default marshal options for marshaling protobuf messages into JSON in a human-readable way.
ProtoJSONUnmarshalOpts is a struct that holds the default unmarshal options for un-marshaling lncli JSON into protobuf messages.
Enum value maps for ResolutionOutcome.
Enum value maps for ResolutionOutcome.
Enum value maps for ResolutionType.
Enum value maps for ResolutionType.
RESTJsonMarshalOpts is a struct that holds the default marshal options for marshaling protobuf messages into REST JSON in a human-readable way.
RESTJsonUnmarshalOpts is a struct that holds the default unmarshal options for un-marshaling REST JSON into protobuf messages.
State_ServiceDesc is the grpc.ServiceDesc for State service.
Enum value maps for UpdateFailure.
Enum value maps for UpdateFailure.
Enum value maps for WalletState.
Enum value maps for WalletState.
WalletUnlocker_ServiceDesc is the grpc.ServiceDesc for WalletUnlocker service.

# Structs

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
Details specific to AMP HTLCs.
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
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
A fully authenticated channel along with all its unique attributes.
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
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
Returns a new instance of the directed channel graph.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Details of an HTLC that paid to an invoice.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
An individual vertex/node within the channel graph.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A path through the channel graph which runs over one or more channels in succession.
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
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SubServerDriver is a template struct that allows the root server to create a sub-server gRPC handler with minimal knowledge.
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedLightningServer must be embedded to have forward compatible implementations.
UnimplementedStateServer must be embedded to have forward compatible implementations.
UnimplementedWalletUnlockerServer must be embedded to have forward compatible implementations.
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
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
No description provided by the author
WebsocketProxy provides websocket transport upgrade to compatible endpoints.

# Interfaces

GrpcHandler is the interface that should be registered with the root gRPC server, and is the interface that implements the subserver's defined RPC.
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
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
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
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
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
No description provided by the author
LightningClient is the client API for Lightning service.
LightningServer is the server API for Lightning service.
No description provided by the author
No description provided by the author
StateClient is the client API for State service.
StateServer is the server API for State service.
SubServer is a child server of the main lnrpc gRPC server.
SubServerConfigDispatcher is an interface that all sub-servers will use to dynamically locate their configuration files.
UnsafeLightningServer may be embedded to opt out of forward compatibility for this service.
UnsafeStateServer may be embedded to opt out of forward compatibility for this service.
UnsafeWalletUnlockerServer may be embedded to opt out of forward compatibility for this service.
WalletUnlockerClient is the client API for WalletUnlocker service.
WalletUnlockerServer is the server API for WalletUnlocker service.

# Type aliases

`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) - `p2tr`: Pay to taproot pubkey (`TAPROOT_PUBKEY` = 4).
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
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
MacaroonPerms is a map from the FullMethod of an invoked gRPC command.
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
No description provided by the author
There are three resolution states for the anchor: limbo, lost and recovered.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author