• Home
  • About Us
  • disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
Crypto News
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login
No Result
View All Result
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login
No Result
View All Result
Crypto News
No Result
View All Result
Home Crypto News

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

Cryptoadmin by Cryptoadmin
March 19, 2025
in Crypto News
0
lightning community – How the is the refund transaction in Uneven Revocable Commitments constructed?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


Whenever you first create the channel, the very first thing Hitesh and Irene do is signal the preliminary commitments, which assigns the preliminary steadiness 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 house owners. This transaction is a traditional dedication transaction however is created as a result of if not, the funds could possibly be locked endlessly 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 cost to the opposite individual of the preliminary
    steadiness (5 BTC).
  2. The second output is a cost to the identical individual making the
    dedication however with a locktime of 1000 blocks. (The locktime goes there, not within the refund!)
    This dedication shouldn’t be 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 individual would obtain the 5 BTC immediately and the individual accountable for the printed should wait 1000 blocks.

Word that this dedication transactions are incomplete because the penalty mechanism is lacking in case some get together tries to cheat. Within the guide they present this uncompleted model to present an thought of the way it seems

Third instance

This final instance reveals how one can 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 will solely get half of the non-public key. So 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 might 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 offers them the safety that if the opposite individual cheats and broadcast an previous dedication transaction, the sufferer will have the ability to declare the opposite individual 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 complete revocation non-public key (that is the brand new situation we added within the third instance).

Word 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 seem like 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 be wanted there as a result of in the event you do not add it you can cheat and steal cash by broadcasting the refund transaction sooner or later when the channel state has superior.

Tags: AsymmetricCommitmentsconstructedLightningNetworkrefundRevocableTransaction
Share76Tweet47
  • Trending
  • Comments
  • Latest
PURA Cost Processing | CoinPayments

PURA Cost Processing | CoinPayments

May 13, 2024
The Sandbox Basic Evaluation – Metaverse Crypto Gaming Platform

The Sandbox Basic Evaluation – Metaverse Crypto Gaming Platform

March 2, 2024
How Essential is Jito Solana MEV Bot Growth for the Cryptocurrency Ecosystem?

How Essential is Jito Solana MEV Bot Growth for the Cryptocurrency Ecosystem?

July 31, 2024
Arkham Alternate Lists MELANIA for Spot and Perpetual Buying and selling

Arkham Alternate Lists MELANIA for Spot and Perpetual Buying and selling

January 26, 2025
Ethiopia to begin mining Bitcoin by means of new information mining partnership

Ethiopia to begin mining Bitcoin by means of new information mining partnership

0
Be part of HitBTC official social media channels !

Be part of HitBTC official social media channels !

0
Bitwise launching spot bitcoin ETF (BITB) – CryptoNinjas

Bitwise launching spot bitcoin ETF (BITB) – CryptoNinjas

0
DeFi Masterclass. Decentralized Finance (DeFi) is an… | by Rohas Nagpal | Blockchain Weblog

DeFi Masterclass. Decentralized Finance (DeFi) is an… | by Rohas Nagpal | Blockchain Weblog

0
Bitcoin Eyes $100K As Trump Teases “Main Commerce Deal”

Bitcoin Eyes $100K As Trump Teases “Main Commerce Deal”

May 8, 2025
OKX Web3 Kicks Off DOOD IDO with $250 Cap per Whitelisted Person – One Day Solely!

OKX Web3 Kicks Off DOOD IDO with $250 Cap per Whitelisted Person – One Day Solely!

May 8, 2025
XRP At Make-Or-Break Technical Zone, Crypto Analyst Warns

XRP At Make-Or-Break Technical Zone, Crypto Analyst Warns

May 7, 2025
Bitcoin Core’s OP_RETURN restrict removing divides crypto neighborhood

Bitcoin Core’s OP_RETURN restrict removing divides crypto neighborhood

May 7, 2025

About Us

Welcome to Blog.cryptostudy.net The goal of Blog.cryptostudy.net is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Recent Posts

  • Bitcoin Eyes $100K As Trump Teases “Main Commerce Deal”
  • OKX Web3 Kicks Off DOOD IDO with $250 Cap per Whitelisted Person – One Day Solely!
  • XRP At Make-Or-Break Technical Zone, Crypto Analyst Warns
  • Home
  • About Us
  • disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2024 Blog.cryptostudy.net | All Rights Reserved.

No Result
View All Result
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login

Copyright © 2024 Blog.cryptostudy.net | All Rights Reserved.

candy bonanza