AcceptChannel |
An [`accept_channel`] message to be sent to or received from a peer.
|
Amount |
The minimum amount required for an item in an [`Offer`], denominated in either bitcoin or
another currency.
|
AnnouncementSignatures |
An [`announcement_signatures`] message to be sent to or received from a peer.
|
APIError |
Indicates an error on the client's part (usually some variant of attempting to use too-low or
too-high values)
|
BackgroundProcessor |
`BackgroundProcessor` takes care of tasks that (1) need to happen periodically to keep
Rust-Lightning running properly, and (2) either can or should be run in the background.
|
Balance |
Details about the balance(s) available for spending once the channel appears on chain.
|
Bech32Error |
Represents an error returned from the bech32 library during validation of some bech32 data
|
BestBlock |
The best known block as identified by its hash and height.
|
BigEndianScalar |
|
BigSize |
Lightning TLV uses a custom variable-length integer called `BigSize`.
|
BlindedHop |
Used to construct the blinded hops portion of a blinded path.
|
BlindedHopFeatures |
Features used within BOLT 4 encrypted_data_tlv and BOLT 12 blinded_payinfo
|
BlindedPath |
Onion messages and payments can be sent and received to blinded paths, which serve to hide the
identity of the recipient.
|
BlindedPayInfo |
Information needed to route a payment across a [`BlindedPath`].
|
BlindedTail |
The blinded portion of a [`Path`], if we're routing to a recipient who provided blinded paths in
their BOLT12 [`Invoice`].
|
Bolt12InvoiceFeatures |
Features used within an `invoice`.
|
BroadcasterInterface |
An interface to send a transaction to the Bitcoin network.
|
BroadcasterInterface.BroadcasterInterfaceInterface |
|
BuiltCommitmentTransaction |
A pre-built Bitcoin commitment transaction and its txid.
|
ChainMonitor |
An implementation of [`chain::Watch`] for monitoring channels.
|
ChainParameters |
Chain-related parameters used to construct a new `ChannelManager`.
|
ChannelAnnouncement |
A [`channel_announcement`] message to be sent to or received from a peer.
|
ChannelConfig |
Options which apply on a per-channel basis and may change at runtime or based on negotiation
with our counterparty.
|
ChannelCounterparty |
Channel parameters which apply to our counterparty.
|
ChannelDetails |
Details of a channel, as returned by [`ChannelManager::list_channels`] and [`ChannelManager::list_usable_channels`]
|
ChannelFeatures |
Features used within a `channel_announcement` message.
|
ChannelHandshakeConfig |
Configuration we set when applicable.
|
ChannelHandshakeLimits |
Optional channel limits which are applied during channel creation.
|
ChannelInfo |
Details about a channel (both directions).
|
ChannelManager |
Manager which keeps track of a number of channels and sends messages to the appropriate
channel, also tracking HTLC preimages and forwarding onion packets appropriately.
|
ChannelManagerReadArgs |
Arguments for the creation of a ChannelManager that are not deserialized.
|
ChannelMessageHandler |
A trait to describe an object which can receive channel messages.
|
ChannelMessageHandler.ChannelMessageHandlerInterface |
|
ChannelMonitor |
A ChannelMonitor handles chain events (blocks connected and disconnected) and generates
on-chain transactions to ensure no loss of funds occurs.
|
ChannelMonitorUpdate |
An update generated by the underlying channel itself which contains some new information the
[`ChannelMonitor`] should be made aware of.
|
ChannelPublicKeys |
One counterparty's public keys which do not change over the life of a channel.
|
ChannelReady |
A [`channel_ready`] message to be sent to or received from a peer.
|
ChannelReestablish |
A [`channel_reestablish`] message to be sent to or received from a peer.
|
ChannelSigner |
A trait to handle Lightning channel key material without concretizing the channel type or
the signature mechanism.
|
ChannelSigner.ChannelSignerInterface |
|
ChannelTransactionParameters |
Per-channel data used to build transactions in conjunction with the per-commitment data (CommitmentTransaction).
|
ChannelTypeFeatures |
Features used within the channel_type field in an OpenChannel message.
|
ChannelUpdate |
A [`channel_update`] message to be sent to or received from a peer.
|
ChannelUpdateInfo |
Details about one direction of a channel as received within a [`ChannelUpdate`].
|
ChannelUsage |
Proposed use of a channel passed as a parameter to [`Score::channel_penalty_msat`].
|
ClosingSigned |
A [`closing_signed`] message to be sent to or received from a peer.
|
ClosingSignedFeeRange |
The minimum and maximum fees which the sender is willing to place on the closing transaction.
|
ClosingTransaction |
This class tracks the per-transaction information needed to build a closing transaction and will
actually build it and sign.
|
ClosureReason |
The reason the channel was closed.
|
CommitmentSigned |
A [`commitment_signed`] message to be sent to or received from a peer.
|
CommitmentTransaction |
This class tracks the per-transaction information needed to build a commitment transaction and will
actually build it and sign.
|
CommitmentUpdate |
Struct used to return values from [`RevokeAndACK`] messages, containing a bunch of commitment
transaction updates if they were pending.
|
Confirm |
The `Confirm` trait is used to notify LDK when relevant transactions have been confirmed on
chain or unconfirmed during a chain reorganization.
|
Confirm.ConfirmInterface |
|
CounterpartyChannelTransactionParameters |
Late-bound per-channel counterparty data used to build transactions.
|
CounterpartyCommitmentSecrets |
Implements the per-commitment secret storage scheme from
[BOLT 3](https://github.com/lightning/bolts/blob/dcbf8583976df087c79c3ce0b535311212e6812d/03-transactions.md#efficient-per-commitment-secret-storage).
|
CounterpartyForwardingInfo |
Information needed for constructing an invoice route hint for this channel.
|
CustomMessageHandler |
A handler provided to [`PeerManager`] for reading and handling custom messages.
|
CustomMessageHandler.CustomMessageHandlerInterface |
|
CustomMessageReader |
Trait to be implemented by custom message (unrelated to the channel/gossip LN layers)
decoders.
|
CustomMessageReader.CustomMessageReaderInterface |
|
CustomOnionMessageContents |
The contents of a custom onion message.
|
CustomOnionMessageContents.CustomOnionMessageContentsInterface |
|
CustomOnionMessageHandler |
Handler for custom onion messages.
|
CustomOnionMessageHandler.CustomOnionMessageHandlerInterface |
|
DataLossProtect |
Proof that the sender knows the per-commitment secret of the previous commitment transaction.
|
DecodeError |
An error in decoding a message or struct.
|
DefaultRouter |
A [`Router`] implemented using [`find_route`].
|
DelayedPaymentOutputDescriptor |
Information about a spendable output to a P2WSH script.
|
Description |
Description string
# Invariants
The description can be at most 639 __bytes__ long
|
Destination |
The destination of an onion message.
|
DirectedChannelInfo |
A wrapper around [`ChannelInfo`] representing information about the channel as directed from a
source node to a target node.
|
DirectedChannelTransactionParameters |
Static channel fields used to build transactions given per-commitment fields, organized by
broadcaster/countersignatory.
|
EcdsaChannelSigner |
A trait to sign Lightning channel transactions as described in
[BOLT 3](https://github.com/lightning/bolts/blob/master/03-transactions.md).
|
EcdsaChannelSigner.EcdsaChannelSignerInterface |
|
EffectiveCapacity |
The effective capacity of a channel for routing purposes.
|
EntropySource |
A trait that describes a source of entropy.
|
EntropySource.EntropySourceInterface |
|
ErrorAction |
Used to put an error message in a [`LightningError`].
|
ErroringMessageHandler |
A dummy struct which implements `ChannelMessageHandler` without having any channels.
|
ErrorMessage |
An [`error`] message to be sent to or received from a peer.
|
Event |
An Event which you should probably take some action in response to.
|
EventHandler |
A trait implemented for objects handling events from [`EventsProvider`].
|
EventHandler.EventHandlerInterface |
|
EventsProvider |
A trait indicating an object may generate events.
|
EventsProvider.EventsProviderInterface |
|
ExpandedKey |
A set of keys that were HKDF-expanded from an initial call to
[`NodeSigner::get_inbound_payment_key_material`].
|
ExpiryTime |
Positive duration that defines when (relatively to the timestamp) in the future the invoice
expires
|
Fallback |
Fallback address in case no LN payment is possible
|
FeeEstimator |
A trait which should be implemented to provide feerate information on a number of time
horizons.
|
FeeEstimator.FeeEstimatorInterface |
|
FilesystemPersister |
FilesystemPersister persists channel data on disk, where each channel's
data is stored in a file named after its funding outpoint.
|
Filter |
The `Filter` trait defines behavior for indicating chain activity of interest pertaining to
channels.
|
Filter.FilterInterface |
|
FixedPenaltyScorer |
[`Score`] implementation that uses a fixed penalty.
|
FundingCreated |
A [`funding_created`] message to be sent to or received from a peer.
|
FundingSigned |
A [`funding_signed`] message to be sent to or received from a peer.
|
Future |
A simple future which can complete once, and calls some callback(s) when it does so.
|
FutureCallback |
A callback which is called when a [`Future`] completes.
|
FutureCallback.FutureCallbackInterface |
|
GossipSync |
Either [`P2PGossipSync`] or [`RapidGossipSync`].
|
GossipTimestampFilter |
A [`gossip_timestamp_filter`] message is used by a node to request
gossip relay for messages in the requested time range when the
`gossip_queries` feature has been negotiated.
|
GraphSyncError |
All-encompassing standard error type that processing can return
|
Hints |
Routing hints for the tail of the route.
|
HolderCommitmentTransaction |
Information needed to build and sign a holder's commitment transaction.
|
Hostname |
Represents a hostname for serialization purposes.
|
HTLCDestination |
Intended destination of a failed HTLC as indicated in [`Event::HTLCHandlingFailed`].
|
HTLCOutputInCommitment |
Information about an HTLC as it appears in a commitment transaction
|
HTLCUpdate |
Simple structure sent back by `chain::Watch` when an HTLC from a forward channel is detected on
chain.
|
IgnoringMessageHandler |
A dummy struct which implements `RoutingMessageHandler` without storing any routing information
or doing any processing.
|
InFlightHtlcs |
A data structure for tracking in-flight HTLCs.
|
Init |
An [`init`] message to be sent to or received from a peer.
|
InitFeatures |
Features used within an `init` message.
|
InMemorySigner |
A simple implementation of [`WriteableEcdsaChannelSigner`] that just keeps the private keys in memory.
|
InvalidShutdownScript |
An error occurring when converting from [`Script`] to [`ShutdownScript`].
|
Invoice |
Represents a syntactically and semantically correct lightning BOLT11 invoice.
|
InvoiceFeatures |
Features used within an invoice.
|
InvoiceRequest |
An `InvoiceRequest` is a request for an [`Invoice`] formulated from an [`Offer`].
|
InvoiceRequestFeatures |
Features used within an `invoice_request`.
|
InvoiceSignature |
Recoverable signature
|
KeysManager |
Simple implementation of [`EntropySource`], [`NodeSigner`], and [`SignerProvider`] that takes a
32-byte seed for use as a BIP 32 extended key and derives keys from that.
|
LightningError |
An Err type for failure to process messages.
|
Listen |
The `Listen` trait is used to notify when blocks have been connected or disconnected from the
chain.
|
Listen.ListenInterface |
|
LockableScore |
A scorer that is accessed under a lock.
|
LockableScore.LockableScoreInterface |
|
LockedChannelMonitor |
A read-only reference to a current ChannelMonitor.
|
Logger |
A trait encapsulating the operations required of a logger
|
Logger.LoggerInterface |
|
MessageHandler |
Provides references to trait impls which handle different types of messages.
|
MessageSendEvent |
An event generated by ChannelManager which indicates a message should be sent to a peer (or
broadcast to most peers).
|
MessageSendEventsProvider |
A trait indicating an object may generate message send events
|
MessageSendEventsProvider.MessageSendEventsProviderInterface |
|
MinFinalCltvExpiryDelta |
`min_final_cltv_expiry_delta` to use for the last HTLC in the route
|
MonitorEvent |
An event to be processed by the ChannelManager.
|
MonitorUpdateId |
An opaque identifier describing a specific [`Persist`] method call.
|
MultiThreadedLockableScore |
A concrete implementation of [`LockableScore`] which supports multi-threading.
|
NetAddress |
An address which can be used to connect to a remote peer.
|
NetworkGraph |
Represents the network as nodes and channels between them
|
NetworkUpdate |
Update to the [`NetworkGraph`] based on payment failure information conveyed via the Onion
return packet by a node along the route.
|
NodeAlias |
A user-defined name for a node, which may be used when displaying the node in a graph.
|
NodeAnnouncement |
A [`node_announcement`] message to be sent to or received from a peer.
|
NodeAnnouncementInfo |
Information received in the latest node_announcement from this node.
|
NodeFeatures |
Features used within a `node_announcement` message.
|
NodeId |
Represents the compressed public key of a node
|
NodeInfo |
Details about a node in the network, known from the network announcement.
|
NodeSigner |
A trait that can handle cryptographic operations at the scope level of a node.
|
NodeSigner.NodeSignerInterface |
|
Offer |
An `Offer` is a potentially long-lived proposal for payment of a good or service.
|
OfferFeatures |
Features used within an `offer`.
|
OnionMessage |
An onion message to be sent to or received from a peer.
|
OnionMessageContents |
The contents of an onion message.
|
OnionMessageHandler |
A trait to describe an object that can receive onion messages.
|
OnionMessageHandler.OnionMessageHandlerInterface |
|
OnionMessageProvider |
A trait indicating an object may generate onion messages to send
|
OnionMessageProvider.OnionMessageProviderInterface |
|
OnionMessenger |
A sender, receiver and forwarder of onion messages.
|
OpenChannel |
An [`open_channel`] message to be sent to or received from a peer.
|
Option_APIErrorZ |
An enum which can either contain a crate::lightning::util::errors::APIError or not
|
Option_C2Tuple_EightU16sEightU16sZZ |
An enum which can either contain a crate::c_types::derived::C2Tuple__u168_u168Z or not
|
Option_C2Tuple_u64u64ZZ |
An enum which can either contain a crate::c_types::derived::C2Tuple_u64u64Z or not
|
Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ |
An enum which can either contain a crate::c_types::derived::C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ or not
|
Option_ClosureReasonZ |
An enum which can either contain a crate::lightning::events::ClosureReason or not
|
Option_CustomOnionMessageContentsZ |
An enum which can either contain a crate::lightning::onion_message::packet::CustomOnionMessageContents or not
|
Option_CVec_NetAddressZZ |
An enum which can either contain a crate::c_types::derived::CVec_NetAddressZ or not
|
Option_CVec_u8ZZ |
An enum which can either contain a crate::c_types::derived::CVec_u8Z or not
|
Option_DurationZ |
An enum which can either contain a u64 or not
|
Option_EventZ |
An enum which can either contain a crate::lightning::events::Event or not
|
Option_FilterZ |
An enum which can either contain a crate::lightning::chain::Filter or not
|
Option_HTLCClaimZ |
An enum which can either contain a crate::lightning::ln::chan_utils::HTLCClaim or not
|
Option_HTLCDestinationZ |
An enum which can either contain a crate::lightning::events::HTLCDestination or not
|
Option_MonitorEventZ |
An enum which can either contain a crate::lightning::chain::channelmonitor::MonitorEvent or not
|
Option_NetAddressZ |
An enum which can either contain a crate::lightning::ln::msgs::NetAddress or not
|
Option_NetworkUpdateZ |
An enum which can either contain a crate::lightning::routing::gossip::NetworkUpdate or not
|
Option_PathFailureZ |
An enum which can either contain a crate::lightning::events::PathFailure or not
|
Option_PaymentFailureReasonZ |
An enum which can either contain a crate::lightning::events::PaymentFailureReason or not
|
Option_ScalarZ |
An enum which can either contain a crate::c_types::BigEndianScalar or not
|
Option_TypeZ |
An enum which can either contain a crate::lightning::ln::wire::Type or not
|
Option_u128Z |
An enum which can either contain a crate::c_types::U128 or not
|
Option_u16Z |
An enum which can either contain a u16 or not
|
Option_u32Z |
An enum which can either contain a u32 or not
|
Option_u64Z |
An enum which can either contain a u64 or not
|
Option_UtxoLookupZ |
An enum which can either contain a crate::lightning::routing::utxo::UtxoLookup or not
|
Option_WriteableScoreZ |
An enum which can either contain a crate::lightning::routing::scoring::WriteableScore or not
|
OutPoint |
A reference to a transaction output.
|
P2PGossipSync |
Receives and validates network updates from peers,
stores authentic and relevant data as a network graph.
|
ParseError |
Errors that indicate what is wrong with the invoice.
|
ParseOrSemanticError |
Indicates that something went wrong while parsing or validating the invoice.
|
Path |
A path in a [`Route`] to the payment recipient.
|
PathFailure |
When the payment path failure took place and extra details about it.
|
PayeePubKey |
Payee public key
|
PaymentError |
An error that may occur when making a payment.
|
PaymentParameters |
The recipient of a payment.
|
PaymentPurpose |
Some information provided on receipt of payment depends on whether the payment received is a
spontaneous payment or a \"conventional\" lightning payment that's paying an invoice.
|
PaymentSendFailure |
If a payment fails to send with [`ChannelManager::send_payment_with_route`], it can be in one
of several states.
|
PeerHandleError |
Error for PeerManager errors.
|
PeerManager |
A PeerManager manages a set of peers, described by their [`SocketDescriptor`] and marshalls
socket events into messages which it passes on to its [`MessageHandler`].
|
Persist |
`Persist` defines behavior for persisting channel monitors: this could mean
writing once to disk, and/or uploading to one or more backup services.
|
Persist.PersistInterface |
|
Persister |
Trait that handles persisting a [`ChannelManager`], [`NetworkGraph`], and [`WriteableScore`] to disk.
|
Persister.PersisterInterface |
|
PhantomKeysManager |
Similar to [`KeysManager`], but allows the node using this struct to receive phantom node
payments.
|
PhantomRouteHints |
Route hints used in constructing invoices for [phantom node payents].
|
Ping |
A [`ping`] message to be sent to or received from a peer.
|
Pong |
A [`pong`] message to be sent to or received from a peer.
|
PositiveTimestamp |
A timestamp that refers to a date after 1 January 1970.
|
PrintableString |
A string that displays only printable characters, replacing control characters with
[`core::char::REPLACEMENT_CHARACTER`].
|
PrivateRoute |
Private routing information
# Invariants
The encoded route has to be <1024 5bit characters long (<=639 bytes or <=12 hops)
|
ProbabilisticScorer |
[`Score`] implementation using channel success probability distributions.
|
ProbabilisticScoringParameters |
Parameters for configuring [`ProbabilisticScorer`].
|
Quantity |
Quantity of items supported by an [`Offer`].
|
QueryChannelRange |
A [`query_channel_range`] message is used to query a peer for channel
UTXOs in a range of blocks.
|
QueryShortChannelIds |
A [`query_short_channel_ids`] message is used to query a peer for
routing gossip messages related to one or more `short_channel_id`s.
|
RapidGossipSync |
The main Rapid Gossip Sync object.
|
RawDataPart |
Data of the [`RawInvoice`] that is encoded in the data part
|
RawInvoice |
Represents an syntactically correct [`Invoice`] for a payment on the lightning network,
but without the signature information.
|
ReadOnlyNetworkGraph |
A read-only view of [`NetworkGraph`].
|
RecentPaymentDetails |
Used by [`ChannelManager::list_recent_payments`] to express the status of recent payments.
|
RecipientOnionFields |
Information which is provided, encrypted, to the payment recipient when sending HTLCs.
|
Record |
A Record, unit of logging output with Metadata to enable filtering
Module_path, file, line to inform on log's source
|
Refund |
A `Refund` is a request to send an [`Invoice`] without a preceding [`Offer`].
|
ReplyChannelRange |
A [`reply_channel_range`] message is a reply to a [`QueryChannelRange`]
message.
|
ReplyShortChannelIdsEnd |
A [`reply_short_channel_ids_end`] message is sent as a reply to a
message.
|
Result__u832APIErrorZ |
|
Result_AcceptChannelDecodeErrorZ |
|
Result_AnnouncementSignaturesDecodeErrorZ |
|
Result_BlindedHopDecodeErrorZ |
|
Result_BlindedHopFeaturesDecodeErrorZ |
|
Result_BlindedPathDecodeErrorZ |
|
Result_BlindedPathNoneZ |
|
Result_BlindedPayInfoDecodeErrorZ |
|
Result_BlindedTailDecodeErrorZ |
|
Result_boolLightningErrorZ |
|
Result_boolPeerHandleErrorZ |
|
Result_BuiltCommitmentTransactionDecodeErrorZ |
|
Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ |
|
Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ |
|
Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ |
|
Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ |
|
Result_C2Tuple_PaymentHashPaymentSecretZNoneZ |
|
Result_C2Tuple_SignatureCVec_SignatureZZNoneZ |
|
Result_ChannelAnnouncementDecodeErrorZ |
|
Result_ChannelConfigDecodeErrorZ |
|
Result_ChannelCounterpartyDecodeErrorZ |
|
Result_ChannelDetailsDecodeErrorZ |
|
Result_ChannelFeaturesDecodeErrorZ |
|
Result_ChannelInfoDecodeErrorZ |
|
Result_ChannelMonitorUpdateDecodeErrorZ |
|
Result_ChannelPublicKeysDecodeErrorZ |
|
Result_ChannelReadyDecodeErrorZ |
|
Result_ChannelReestablishDecodeErrorZ |
|
Result_ChannelTransactionParametersDecodeErrorZ |
|
Result_ChannelTypeFeaturesDecodeErrorZ |
|
Result_ChannelUpdateDecodeErrorZ |
|
Result_ChannelUpdateInfoDecodeErrorZ |
|
Result_ClosingSignedDecodeErrorZ |
|
Result_ClosingSignedFeeRangeDecodeErrorZ |
|
Result_CommitmentSignedDecodeErrorZ |
|
Result_CommitmentTransactionDecodeErrorZ |
|
Result_COption_APIErrorZDecodeErrorZ |
|
Result_COption_ClosureReasonZDecodeErrorZ |
|
Result_COption_CustomOnionMessageContentsZDecodeErrorZ |
|
Result_COption_EventZDecodeErrorZ |
|
Result_COption_HTLCDestinationZDecodeErrorZ |
|
Result_COption_MonitorEventZDecodeErrorZ |
|
Result_COption_NetworkUpdateZDecodeErrorZ |
|
Result_COption_PathFailureZDecodeErrorZ |
|
Result_COption_TypeZDecodeErrorZ |
|
Result_CounterpartyChannelTransactionParametersDecodeErrorZ |
|
Result_CounterpartyCommitmentSecretsDecodeErrorZ |
|
Result_CounterpartyForwardingInfoDecodeErrorZ |
|
Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ |
|
Result_CVec_CVec_u8ZZNoneZ |
|
Result_CVec_SignatureZNoneZ |
|
Result_CVec_u8ZPeerHandleErrorZ |
|
Result_DelayedPaymentOutputDescriptorDecodeErrorZ |
|
Result_DescriptionCreationErrorZ |
|
Result_ErrorMessageDecodeErrorZ |
|
Result_FixedPenaltyScorerDecodeErrorZ |
|
Result_FundingCreatedDecodeErrorZ |
|
Result_FundingSignedDecodeErrorZ |
|
Result_GossipTimestampFilterDecodeErrorZ |
|
Result_HolderCommitmentTransactionDecodeErrorZ |
|
Result_HTLCOutputInCommitmentDecodeErrorZ |
|
Result_HTLCUpdateDecodeErrorZ |
|
Result_InFlightHtlcsDecodeErrorZ |
|
Result_InitDecodeErrorZ |
|
Result_InitFeaturesDecodeErrorZ |
|
Result_InMemorySignerDecodeErrorZ |
|
Result_InvoiceFeaturesDecodeErrorZ |
|
Result_InvoiceParseOrSemanticErrorZ |
|
Result_InvoiceSemanticErrorZ |
|
Result_InvoiceSignOrCreationErrorZ |
|
Result_LockedChannelMonitorNoneZ |
|
Result_NetAddressDecodeErrorZ |
|
Result_NetworkGraphDecodeErrorZ |
|
Result_NodeAliasDecodeErrorZ |
|
Result_NodeAnnouncementDecodeErrorZ |
|
Result_NodeAnnouncementInfoDecodeErrorZ |
|
Result_NodeFeaturesDecodeErrorZ |
|
Result_NodeIdDecodeErrorZ |
|
Result_NodeInfoDecodeErrorZ |
|
Result_NoneAPIErrorZ |
|
Result_NoneErrorZ |
|
Result_NoneLightningErrorZ |
|
Result_NoneNoneZ |
|
Result_NonePaymentErrorZ |
|
Result_NonePaymentSendFailureZ |
|
Result_NonePeerHandleErrorZ |
|
Result_NoneRetryableSendFailureZ |
|
Result_NoneSemanticErrorZ |
|
Result_NoneSendErrorZ |
|
Result_OnionMessageDecodeErrorZ |
|
Result_OpenChannelDecodeErrorZ |
|
Result_OutPointDecodeErrorZ |
|
Result_PayeePubKeyErrorZ |
|
Result_PaymentFailureReasonDecodeErrorZ |
|
Result_PaymentHashPaymentSendFailureZ |
|
Result_PaymentHashRetryableSendFailureZ |
|
Result_PaymentIdPaymentErrorZ |
|
Result_PaymentParametersDecodeErrorZ |
|
Result_PaymentPreimageAPIErrorZ |
|
Result_PaymentPurposeDecodeErrorZ |
|
Result_PaymentSecretAPIErrorZ |
|
Result_PaymentSecretNoneZ |
|
Result_PhantomRouteHintsDecodeErrorZ |
|
Result_PingDecodeErrorZ |
|
Result_PongDecodeErrorZ |
|
Result_PositiveTimestampCreationErrorZ |
|
Result_PrivateRouteCreationErrorZ |
|
Result_ProbabilisticScorerDecodeErrorZ |
|
Result_PublicKeyErrorZ |
|
Result_PublicKeyNoneZ |
|
Result_QueryChannelRangeDecodeErrorZ |
|
Result_QueryShortChannelIdsDecodeErrorZ |
|
Result_RecipientOnionFieldsDecodeErrorZ |
|
Result_RecoverableSignatureNoneZ |
|
Result_ReplyChannelRangeDecodeErrorZ |
|
Result_ReplyShortChannelIdsEndDecodeErrorZ |
|
Result_RevokeAndACKDecodeErrorZ |
|
Result_RouteDecodeErrorZ |
|
Result_RouteHintDecodeErrorZ |
|
Result_RouteHintHopDecodeErrorZ |
|
Result_RouteHopDecodeErrorZ |
|
Result_RouteLightningErrorZ |
|
Result_RouteParametersDecodeErrorZ |
|
Result_RoutingFeesDecodeErrorZ |
|
Result_SharedSecretNoneZ |
|
Result_ShutdownDecodeErrorZ |
|
Result_ShutdownScriptDecodeErrorZ |
|
Result_ShutdownScriptInvalidShutdownScriptZ |
|
Result_SignatureNoneZ |
|
Result_SignedRawInvoiceParseErrorZ |
|
Result_SiPrefixParseErrorZ |
|
Result_SpendableOutputDescriptorDecodeErrorZ |
|
Result_StaticPaymentOutputDescriptorDecodeErrorZ |
|
Result_StringErrorZ |
|
Result_TransactionNoneZ |
|
Result_TrustedClosingTransactionNoneZ |
|
Result_TrustedCommitmentTransactionNoneZ |
|
Result_TxCreationKeysDecodeErrorZ |
|
Result_TxOutUtxoLookupErrorZ |
|
Result_u32GraphSyncErrorZ |
|
Result_UnsignedChannelAnnouncementDecodeErrorZ |
|
Result_UnsignedChannelUpdateDecodeErrorZ |
|
Result_UnsignedNodeAnnouncementDecodeErrorZ |
|
Result_UntrustedStringDecodeErrorZ |
|
Result_UpdateAddHTLCDecodeErrorZ |
|
Result_UpdateFailHTLCDecodeErrorZ |
|
Result_UpdateFailMalformedHTLCDecodeErrorZ |
|
Result_UpdateFeeDecodeErrorZ |
|
Result_UpdateFulfillHTLCDecodeErrorZ |
|
Result_WarningMessageDecodeErrorZ |
|
Result_WriteableEcdsaChannelSignerDecodeErrorZ |
|
Retry |
Strategies available to retry payment path failures.
|
RevokeAndACK |
A [`revoke_and_ack`] message to be sent to or received from a peer.
|
Route |
A route directs a payment from the sender (us) to the recipient.
|
RouteHint |
A list of hops along a payment path terminating with a channel to the recipient.
|
RouteHintHop |
A channel descriptor for a hop along a payment path.
|
RouteHop |
A hop in a route, and additional metadata about it.
|
RouteParameters |
Parameters needed to find a [`Route`].
|
Router |
A trait defining behavior for routing a payment.
|
Router.RouterInterface |
|
RoutingFees |
Fees for routing via a given channel or a node
|
RoutingMessageHandler |
A trait to describe an object which can receive routing messages.
|
RoutingMessageHandler.RoutingMessageHandlerInterface |
|
Score |
An interface used to score payment channels for path finding.
|
Score.ScoreInterface |
|
ScorerAccountingForInFlightHtlcs |
[`Score`] implementation that factors in in-flight HTLC liquidity.
|
SendError |
Errors that may occur when [sending an onion message].
|
Sha256 |
SHA-256 hash
|
Shutdown |
A [`shutdown`] message to be sent to or received from a peer.
|
ShutdownScript |
A script pubkey for shutting down a channel as defined by [BOLT #2].
|
SignedRawInvoice |
Represents a signed [`RawInvoice`] with cached hash.
|
SignerProvider |
A trait that can return signer instances for individual channels.
|
SignerProvider.SignerProviderInterface |
|
SignOrCreationError |
When signing using a fallible method either an user-supplied `SignError` or a [`CreationError`]
may occur.
|
Sleeper |
A struct which can be used to select across many [`Future`]s at once without relying on a full
async context.
|
SocketDescriptor |
Provides an object which can be used to send data to and which uniquely identifies a connection
to a remote host.
|
SocketDescriptor.SocketDescriptorInterface |
|
SpendableOutputDescriptor |
Describes the necessary information to spend a spendable output.
|
StaticPaymentOutputDescriptor |
Information about a spendable output to our \"payment key\".
|
ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ |
A Tuple
|
ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ |
A Tuple
|
ThreeTuple_RawInvoice_u832InvoiceSignatureZ |
A Tuple
|
TrustedClosingTransaction |
A wrapper on ClosingTransaction indicating that the built bitcoin
transaction is trusted.
|
TrustedCommitmentTransaction |
A wrapper on CommitmentTransaction indicating that the derived fields (the built bitcoin
transaction and the transaction creation keys) are trusted.
|
TwoTuple__u168_u168Z |
A Tuple
|
TwoTuple_BlindedPayInfoBlindedPathZ |
A Tuple
|
TwoTuple_BlockHashChannelManagerZ |
A Tuple
|
TwoTuple_BlockHashChannelMonitorZ |
A Tuple
|
TwoTuple_OutPointCVec_MonitorUpdateIdZZ |
A Tuple
|
TwoTuple_OutPointScriptZ |
A Tuple
|
TwoTuple_PaymentHashPaymentIdZ |
A Tuple
|
TwoTuple_PaymentHashPaymentSecretZ |
A Tuple
|
TwoTuple_PublicKeyCOption_NetAddressZZ |
A Tuple
|
TwoTuple_PublicKeyTypeZ |
A Tuple
|
TwoTuple_SignatureCVec_SignatureZZ |
A Tuple
|
TwoTuple_TxidBlockHashZ |
A Tuple
|
TwoTuple_TxidCVec_C2Tuple_u32ScriptZZZ |
A Tuple
|
TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ |
A Tuple
|
TwoTuple_u32ScriptZ |
A Tuple
|
TwoTuple_u32TxOutZ |
A Tuple
|
TwoTuple_u64u64Z |
A Tuple
|
TwoTuple_usizeTransactionZ |
A Tuple
|
TwoTuple_Z |
A Tuple
|
TxCreationKeys |
The set of public keys which are used in the creation of one commitment transaction.
|
TxOut |
|
Type |
Defines a type identifier for sending messages over the wire.
|
Type.TypeInterface |
|
UnsignedChannelAnnouncement |
The unsigned part of a [`channel_announcement`] message.
|
UnsignedChannelUpdate |
The unsigned part of a [`channel_update`] message.
|
UnsignedGossipMessage |
Represents the set of gossip messages that require a signature from a node's identity key.
|
UnsignedNodeAnnouncement |
The unsigned part of a [`node_announcement`] message.
|
UntrustedString |
Struct to `Display` fields in a safe way using `PrintableString`
|
UpdateAddHTLC |
An [`update_add_htlc`] message to be sent to or received from a peer.
|
UpdateFailHTLC |
An [`update_fail_htlc`] message to be sent to or received from a peer.
|
UpdateFailMalformedHTLC |
An [`update_fail_malformed_htlc`] message to be sent to or received from a peer.
|
UpdateFee |
An [`update_fee`] message to be sent to or received from a peer
[`update_fee`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#updating-fees-update_fee
|
UpdateFulfillHTLC |
An [`update_fulfill_htlc`] message to be sent to or received from a peer.
|
UserConfig |
Top-level config which holds ChannelHandshakeLimits and ChannelConfig.
|
UtxoFuture |
Represents a future resolution of a [`UtxoLookup::get_utxo`] query resolving async.
|
UtxoLookup |
The `UtxoLookup` trait defines behavior for accessing on-chain UTXOs.
|
UtxoLookup.UtxoLookupInterface |
|
UtxoResult |
The result of a [`UtxoLookup::get_utxo`] call.
|
WarningMessage |
A [`warning`] message to be sent to or received from a peer.
|
Watch |
The `Watch` trait defines behavior for watching on-chain activity pertaining to channels as
blocks are connected and disconnected.
|
Watch.WatchInterface |
|
WatchedOutput |
A transaction output watched by a [`ChannelMonitor`] for spends on-chain.
|
WriteableEcdsaChannelSigner |
A writeable signer.
|
WriteableEcdsaChannelSigner.WriteableEcdsaChannelSignerInterface |
|
WriteableScore |
Refers to a scorer that is accessible under lock and also writeable to disk
We need this trait to be able to pass in a scorer to `lightning-background-processor` that will enable us to
use the Persister to persist it.
|
WriteableScore.WriteableScoreInterface |
|