rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

A highly modular Bitcoin Lightning library written in Rust. It's rust-lightning, not Rusty's Lightning!

Results 376 rust-lightning issues
Sort by recently updated
recently updated
newest added

Problem: After every commitment signed, `counterparty_claimable_outpoints` keeps on growing without bounds within a channel_monitor, with a new hashmap entry for each commitment_tx. It poses two problems mainly: 1. Increased memory...

Currently the maximum payment path length is hardcoded in the router to 19. However, the presence of `payment_metadata`, custom TLVs, and/or blinded paths may mean that the actual limit is...

Based on #3057 Introduce two new events i.e. PersistClaimInfo and ClaimInfoRequest. PersistClaimInfo: Indicates that [`ClaimInfo`] should be durably persisted. ClaimInfoRequest: Used to request [`ClaimInfo`] for a specific counterparty commitment transaction....

Add support for creating a compact `BlindedPath`, which consists of: - using an SCID instead of a node id in `BlindedHop::encrypted_payload` - using `IntroductionNode::DirectedShortChannelId` The first is accomplished by specifying...

This PR updates timer_tick_occurred to operate on a second-long timer, providing finer timing control. Reasoning: 1. This PR is the prerequisite of #3010, which introduces the ability to retry the...

For the same reason the `bitcoin` crate is re-exporting the `secp256k1` crate the `lightning` crate should re-export the `bitcoin` crate: to ease the burden on calling code to maintain compatible...

This PR aims to do the following: - [ ] Introduce V2 prefunded channel types with state specific to dual-funding. - [ ] Add functionality to `ChannelManager` to create and...

blocked on dependent pr
Dual-funding

- [ ] Minimize current set of non-current/previous_commitment reads to counterparty_claimable_outpoints by re-using existing get calls and refactors As part of #3049

If we prune one side of a channel's `ChannelUpdateInfo` that means the node hasn't been online for two weeks (as they haven't generated a new `channel_update` in that time). In...

This PR addresses second part of #2882 and builds on #2907 This PR converts `handle_onion_message_response` into the public function which can be used for asynchronous response to a separately created...