Combined summary - LNHANCE bips and implementation

Combined summary - LNHANCE bips and implementation

The integration of internal fees within onchain mechanisms to handle unilateral exits has been proposed, aiming to reduce blockspace usage by eliminating the need for anchor outputs and Child Pays For Parent (CPFP) transactions.

An extension for OP_CHECKTEMPLATEVERIFY has been developed to support this and can be further studied at this link.

A new proposal suggests using a contract similar to LN-symmetry for statecoins, which could significantly improve the efficiency and scalability of digital assets by allowing a single channel funding to benefit many users in a continuous cycle with a timeout mechanism.

Developers have shown considerable interest in a speculated tool with functionalities like APO, anticipating it to widen architectural possibilities, particularly for channel factories and statechains. This speculation is fueled by Rearden's Twitter post available at Rearden's Tweet.

Progress in Bitcoin coding includes a Pull Request in the 'binana' repository for CSFS and INTERNALKEY features, accessible at this GitHub link. The proposals for these features are also drafted against the main Bitcoin Core repository, found at internalkey PR and csfs PR. Modularization of CTV is being considered for better integration and testing.

Jeremy Rubin’s website,, offers resources for CheckTemplateVerify (CTV) applications and is updated regularly to assist developers working with CTV technology.

Spacechains, enabling pre-commitment of future transactions without covenants, facilitate the creation of structures like channel factories that typically require covenant mechanisms.

There's an emphasis on Oracle slashing for simplified Discreet Log Contracts (DLCs) using Covenants via Transaction Outputs (CTV), using signatures such as SIGHASH_ANYPREVOUTANYSCRIPT|SIGHASH_ALL. Additionally, CheckSequenceVerifyFromStack (CSFS) can be used for delegation, allowing more complex script constructs.

LN-symmetry focuses on executing crucial tasks effectively, and its strategic development emphasizes key processes over broad functionality.

The discussion touches upon the implementation of channel factories and Spacechains, indicating a high level of interest in advanced blockchain mechanisms and seeking expertise from Ruben Somsen for further clarification.

A unidirectional non-interactive channel (NIC) immune to TXID malleability is mentioned, utilized within a virtual UTXO pool managed by an entity known as a Lightning Service Provider (LSP), aiming for secure and efficient user operations.

The conversation also examines Probabilistic Timelock Contracts (PTLCs) and APO-like constructions, noting PTLCs as currently achievable technologies. A unified approach is deemed necessary to avoid clutter and noise from various pull requests, addressing concerns about APO's limitations on future development due to new key types and sighash flags that might be difficult to upgrade. An open PR against APO suggests alternative designs for sighash flags.

Meanwhile, a cautious strategy is recommended for deploying CHECKTEMPLATEVERIFY (CTV) alongside CHECKSIGFROMSTACK (CSFS) as per BIP119 to analyze its efficacy before proposing additional sighash modes for future Tapscript key versions. Organizational strategies, such as the bitcoin-inquisition repository, are highlighted for managing Bitcoin's software development by segregating consensus changes from other updates.

Newly proposed Bitcoin Improvement Proposals and operational codes under "LNHANCE," including BIP119, OP_CHECKSIGFROMSTACK(VERIFY), and OP_INTERNALKEY, aim to enhance the Lightning Network's capabilities and aid in the development of ln-symmetry and Point Time Locked Contracts (PTLCs). These initiatives show promise for granting users more control over their Bitcoin outputs, potentially leading to significant advancements for the Lightning Network by improving privacy and efficiency.

Discussion History

reardencode Original Post
January 7, 2024 18:41 UTC
January 7, 2024 19:17 UTC
January 7, 2024 19:30 UTC
January 7, 2024 19:55 UTC
January 7, 2024 20:31 UTC
January 7, 2024 20:48 UTC
January 8, 2024 06:31 UTC
January 8, 2024 10:21 UTC
January 9, 2024 20:34 UTC
January 10, 2024 15:30 UTC
January 17, 2024 14:51 UTC
January 18, 2024 06:22 UTC
January 19, 2024 21:44 UTC
January 21, 2024 23:17 UTC
February 4, 2024 12:27 UTC