lightning-dev

Anchor transaction for no expiration channels without segwit

Anchor transaction for no expiration channels without segwit

Original Postby Nicolas Dorier

Posted on: February 8, 2017 11:20 UTC

The locktime was initially created to give Bob time to reclaim the bounty before Alice can broadcast TX2.

However, with AliceSecret1 in TX2, if Alice ever broadcasts and takes the bounty, Bob can confiscate TX2:0. AliceSecret2 is courtesy of Alice, so Bob can get the bounty back. It's unsafe for Bob to use the channel before he can reclaim the bounty with some confirmation. Tier Nolan mentioned that the nLocktime for TX2 is costless and prevents fast initial channel close. Once an unchanged version of TX1 is in the blockchain, all further updates of the channel can exclude the nLocktime. The bounty is set up so that Alice can unlock it once the channel is established as a courtesy.

Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback