package
0.18.4-beta.rc2
Repository: https://github.com/lightningnetwork/lnd.git
Documentation: pkg.go.dev
# Functions
AccountsToWatchOnly converts the accounts returned by the walletkit's ListAccounts RPC into a struct that can be used to create a watch-only wallet.
DisableLog disables all library log output.
No description provided by the author
RegisterWalletKitHandler registers the http handlers for service WalletKit to "mux".
RegisterWalletKitHandlerClient registers the http handlers for service WalletKit to "mux".
RegisterWalletKitHandlerFromEndpoint is same as RegisterWalletKitHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterWalletKitHandlerServer registers the http handlers for service WalletKit to "mux".
No description provided by the author
No description provided by the author
UseLogger uses a specified Logger to output package logging info.
# 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
CHANGE_ADDRESS_TYPE_P2TR indicates to use P2TR address for change output (BIP0086 key scope).
CHANGE_ADDRESS_TYPE_UNSPECIFIED indicates that no change address type is provided.
SubServerName is the name of the sub rpc server.
A witness type that allows us to spend our anchor on the commitment transaction.
A witness that allows us to spend a settled no-delay output immediately on a counterparty's commitment transaction.
A witness type that is similar to the COMMITMENT_NO_DELAY type, but it omits the tweak that randomizes the key we need to spend with a channel peer supplied set of randomness.
A witness that allows us to sweep the settled output of a malicious counterparty's who broadcasts a revoked commitment transaction.
A witness that allows us to spend the output of a commitment transaction after a relative lock-time lockout.
A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation.
A witness that allows us to sweep an HTLC that was offered to us by the remote party.
A witness that allows us to sweep an HTLC output sent to us in the case that the remote party broadcasts a revoked commitment state.
A witness that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage.
A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage.
A witness that allows us to sweep an HTLC that we offered to the remote party which lies in the commitment transaction of the remote party.
A witness that allows us to sweep an HTLC which we offered to the remote party in the case that they broadcast a revoked commitment state.
A witness that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled.
A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled.
A witness that allows us to sweep an HTLC from the remote party's commitment transaction in the case that the broadcast a revoked commitment, but then also immediately attempt to go to the second level to claim the HTLC.
A witness type that allows us to spend our output on our local commitment transaction after a relative and absolute lock-time lockout as part of the script enforced lease commitment type.
A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation and absolute locktime as part of the script enforced lease commitment type.
A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage.
A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled.
A witness type that allows us to sweep an output that sends to a nested P2SH script that pays to a key solely under our control.
A witness type that we'll use for spending our own anchor output.
A witness that allows us to sweep the settled output of a malicious counterparty's who broadcasts a revoked taproot commitment transaction.
A witness type that allows us to sweep the HTLC offered to us on our local commitment transaction.
A witness that allows us to sweep an HTLC that was offered to us by the remote party for a taproot channels.
A witness that allows us to sweep an HTLC sent to us by the remote party in the event that they broadcast a revoked state.
A witness type that allows us to sweep an HTLC we accepted on our commitment transaction after we go to the second level on chain.
A witness type that allows us to sign the second level HTLC timeout transaction when spending from an HTLC residing on our local commitment transaction.
A witness that allows us to sweep an HTLC we offered to the remote party that lies on the commitment transaction for the remote party.
A witness that allows us to sweep an HTLC we offered to the remote party if they broadcast a revoked commitment.
A witness that allows us to timeout an HTLC we offered to the remote party on our commitment transaction.
A witness that allows us to sweep an HTLC on the revoked transaction of the remote party that goes to the second level.
A witness type that allows us to spend our settled local commitment after a CSV delay when we force close the channel.
A witness type that allows us to spend a regular p2tr output that's sent to an output which is under complete control of the backing wallet.
A witness type that allows us to spend our settled local commitment after a CSV delay when the remote party has force closed the channel.
No description provided by the author
A witness type that allows us to spend a regular p2wkh output that's sent to an output which is under complete control of the backing wallet.
# Variables
Enum value maps for AddressType.
Enum value maps for AddressType.
Enum value maps for ChangeAddressType.
Enum value maps for ChangeAddressType.
ErrInsufficientReserve is returned when SendOutputs wouldn't leave enough funds in the wallet to cover for the anchor reserve.
ErrZeroLabel is returned when an attempt is made to label a transaction with an empty label.
No description provided by the author
WalletKit_ServiceDesc is the grpc.ServiceDesc for WalletKit service.
Enum value maps for WitnessType.
Enum value maps for WitnessType.
# 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
No description provided by the author
No description provided by the author
Config is the primary configuration struct for the WalletKit RPC server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedWalletKitServer 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
# Interfaces
UnsafeWalletKitServer may be embedded to opt out of forward compatibility for this service.
WalletKitClient is the client API for WalletKit service.
WalletKitServer is the server API for WalletKit service.
# Type aliases
No description provided by the author
The possible change address types for default accounts and single imported public keys.
No description provided by the author