The Cryptonomics™
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Reading: lightning community – How the is the refund transaction in Uneven Revocable Commitments constructed?
Share
Please enter CoinGecko Free Api Key to get this plugin works.
The Cryptonomics™The Cryptonomics™
Font ResizerAa
Search
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Follow US
  • About Us
  • Advertising Solutions
  • Privacy
  • Terms
  • Advertise
Copyright © MetaMedia™ Capital Inc, All right reserved
The Cryptonomics™ > Bitcoin > lightning community – How the is the refund transaction in Uneven Revocable Commitments constructed?
Bitcoin

lightning community – How the is the refund transaction in Uneven Revocable Commitments constructed?

admin
Last updated: March 20, 2025 11:48 am
admin Published March 20, 2025
Share
lightning community – How the is the refund transaction in Uneven Revocable Commitments constructed?


Contents
First two examplesThird instanceAbstract

While you first create the channel, the very first thing Hitesh and Irene do is signal the preliminary commitments, which assigns the preliminary stability to themselves. That is what known as the refund, as a result of if one of many events determine to not proceed, the cash returns to the homeowners. This transaction is a standard dedication transaction however is created as a result of if not, the funds could possibly be locked ceaselessly on a multisig if one of many events of the channel disappears!

First two examples

The primary two examples are dedication transactions created. Every consumer creates one dedication transaction with two outputs. In these, each Hitesh and Irene have two outputs:

  1. The primary output is a fee to the opposite particular person of the preliminary
    stability (5 BTC).
  2. The second output is a fee to the identical particular person making the
    dedication however with a locktime of 1000 blocks. (The locktime goes there, not within the refund!)
    This dedication just isn’t broadcasted, every one of many events has his personal model. Every one of many events at any second can signal it and broadcast it. In that case the opposite particular person would obtain the 5 BTC immediately and the particular person answerable for the printed should wait 1000 blocks.

Notice that this dedication transactions are incomplete because the penalty mechanism is lacking in case some celebration tries to cheat. Within the e-book they present this uncompleted model to offer an thought of the way it seems

Third instance

This final instance reveals find out how to create an actual dedication transaction with the penalty mechanism included.

It provides a situation which permits a consumer to retrieve the funds of the second output if it has the revocation non-public key. The revocation secret is a key which each events can calculate the general public key, however they’ll solely get half of the non-public key. In order that they solely have half of the non-public key. If at any second, one of many two customers has the 2 halfs of the non-public key, it may declare the funds within the second output.

If the channel state is up to date and a brand new dedication transaction is created, they trade their half of the revocation non-public key. This provides them the safety that if the opposite particular person cheats and broadcast an previous dedication transaction, the sufferer will have the ability to declare the opposite particular person the funds as a punishment.

Think about Hitesh tries to cheat; since Irene can declare his 5 BTC immediately (output 1), and Hitesh has to attend 1000 blocks to get the 5 BTC, Irene can declare Hitesh cash as she has the total revocation non-public key (that is the brand new situation we added within the third instance).

Notice that if Irene would not declare the funds earlier than 1000 blocks Hitesh will have the ability to proceed and declare himself the cash.

Abstract

In order a abstract, dedication transactions appear to be the third instance because the penalty mechanism is required. Refund transaction is simply the primary dedication transaction that simply returns the funds to the customers. The penalty mechanism can also be wanted there as a result of in case you do not add it you could possibly cheat and steal cash by broadcasting the refund transaction sooner or later when the channel state has superior.



Supply hyperlink

You Might Also Like

VOOI is accessible for buying and selling!

Unable to return BlockHashes after I run this generatetoaddress

NYSE Proprietor ICE Mulls Stake In MoonPay At $5B Valuation

Stablecoin Sector Stalls Close to $310B as Massive Names Swap Seats

Fundstrat’s Circulating 2026 Crypto Outlook Warns of Pullback

Share This Article
Facebook Twitter Email Copy Link Print
Previous Article Bitcoin reclaims k after Fed alerts slowdown in quantitative tightening Bitcoin reclaims $85k after Fed alerts slowdown in quantitative tightening
Next Article Coinbase turns into Ethereum’s largest node operator with 11% stake Coinbase turns into Ethereum’s largest node operator with 11% stake
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Subscribe to our newslettern

Get Newest Articles Instantly!

- Advertisement -
Ad imageAd image
Popular News
The journey to a mature asset administration system
The journey to a mature asset administration system
High 3 Meme Coin Gems Price Shopping for Earlier than Could 2024 – PEPE, WIF, and DOGEVERSE
High 3 Meme Coin Gems Price Shopping for Earlier than Could 2024 – PEPE, WIF, and DOGEVERSE
Preparing for synthetic basic intelligence with examples
Preparing for synthetic basic intelligence with examples

Follow Us on Socials

We use social media to react to breaking news, update supporters and share information

Facebook Instagram Linkedin Pinterest Tiktok Twitter Youtube
The Cryptonomics™

Cryptonomics Magazine is your premier digital source for blockchain insights, offering cutting-edge research, news, interviews, and ICO updates for everyone from entrepreneurs to institutions. We drive blockchain knowledge and growth.

Subscribe to our newsletter

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

Brazil Crypto Exercise Jumps 43% as Common Funding Tops $1,000
December 21, 2025
Heavy Metallic Tools & Leases boosting 797 fleet to 131 by finish 2026
December 21, 2025
XRP Enters Historic Window That Has Beforehand Led To Triple-Digit Rallies
December 21, 2025
It Could Take a Decade To Migrate BTC to Put up-Quantum Requirements: Crypto exec
December 21, 2025
VOOI is accessible for buying and selling!
December 21, 2025
Copyright © The Cryptonomics™ , All right reserved
  • About Us
  • Advertising Solutions
  • Privacy
  • Terms
  • Advertise
Join Us!

Subscribe & Stay Ahead of the Curve with Cryptonomics !

Zero spam, Unsubscribe at any time.
Welcome Back!

Sign in to your account

Lost your password?