micropaymentchannels – Query about Cost Channels

on

|

views

and

comments


I believe I see the place the confusion is, however please appropriate me if I am not fairly understanding your query.

It is attainable to misread that part in Mastering Bitcoin as saying that there’s one shared revocation public key between A and B, and A has one half of the key and B has the opposite half. That is how I first understood it. It finally ends up not making sense, nevertheless, as a result of once they change secret halves, each A and B now have all the data wanted to publish their very own earlier dedication transaction and easily use the entire secret to get all the funds.

As an alternative, there are literally two completely different revocation public keys, generated individually by each events. Let’s name them revpub1 and revpub2. A has revpub1 within the output of their dedication transaction and B has revpub2 in their very own transaction. The way in which that these public keys are generated ensures that every celebration initially has solely half of the data wanted to unlock every key.

When B revokes their dedication transaction, it signifies that B is giving A the opposite secret half wanted to unlock revpub2, however B would not have the primary half of the revpub2 secret that A already has. B solely obtained the opposite secret half to revpub1.

Now, if B decides to attempt to cheat and publish their prior dedication state, solely A has all the info essential to unlock revpub2 and take all the funds. On this case, it is unattainable for B to unlock revpub2. The one factor B can do is wait to spend the output after the variety of specified blocks has handed, giving A time to penalize the cheater.

Share this
Tags

Must-read

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here