Bitcoin: What are the default timelocks in Lightning implementations today? How are they negotiated on channel opening?

Understanding Bitcoin’s Default Timelocks in Lightning Implementations

Top of the Bitcoin protocol, has evolved significantly since its inception. One of the key aspects of lightning is the use of timelocks to ensure and reliable communication between channel counterparties. Into the default timelocks in lightning implementations today and explore how they are negotiated during channel opening.

Two Timelocks for Channel Opening

The setup of a new channel: self-delay (Bolt5) and CSV (compressed sequential vertex) relative timelock. These timelocks ensure that

Self-delay timelock

The self-delay timelock is a bolt5 implementation that provides an additional layer of security and efficiency. It works by setting a delay between the expected opening time of a channel and its actual opening time. This delay ensures that the other party has been enough

CSV Relative Timelock

The CSV relative timelock is another bolt5 implementation used in lightning implementations. It provides a more flexible timing mechanism, allowing for the negotiation of delays between parties. The CSV relative timelock uses a compressed sequence of vertices (SVO) to represent the delay. This allows for more precise control over the timing of key events.

Negotiation During Channel Opening

Channel opening, the self-delay and csv relative timelocks are negotiated between the two counterparties in lightning. The Negotiation process typically involves the following steps:

Conclusion

Timelocks Play and CSV Relative Timelocks Play and Crucial Role in ensuring secure and reliable communication between channel counterparties. Channel opening, parties can guarantee that the agreement will be respected by both parties. Understanding how these timelocks work is essential for building and mainitaining effective lightning networks.

Additional Resources

The [Lightning Network Specification] ( Additionally, you can explore Resources Such as the [Bitcoin Lightning Network Documentation] ( and the [Open Source Bitcoin Implementation] ( For more details on timelocks in Bitcoin itself.

ethereum sync bitcoin very

Exit mobile version