Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
supertestnet authored Mar 26, 2024
1 parent 0745ecd commit 434cdd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ When Bob eventually gets online, he can accept Alice’s disbursement (State 2)

Suppose Bob goes for the latter option and 5 days later he decides he wants to send 1_000 sats to Alice. He can revoke the dust utxo by sending Alice `B_S` and, along with it, a signature that is valid for a transaction that sends the entire channel balance to Alice, but only if Alice discloses `B_S`. (So this transaction spends two inputs, 9_500 + 330, and creates one output for Alice, 9_830, but more like 9_500 due to fees, and it is only valid if Alice knows `B_S` -- which she now does -- and if Bob tries to close the channel in State 2.)

With this pair of data, Bob also sends Alice two other signatures: the first is valid for a transaction that spends from the original multisig `(Alice && Bob)`, the “on-chain” one that still has 10_000 sats in it, to (a) create a *different* revocable connector with 330 sats in it, revocable by *Alice* this time and (b) send the change (9_670 sats, minus a fee, so more like 9_500 sats) back to the multisig `(Alice && Bob)`. The second signature is valid for a transaction that sends 9_000 sats to Alice from the multisig AND the revocable utxo (so its inputs contain 9_500 + 330 sats together) and sends the change, 830 sats (minus a fee, so more like 500 sats) to Bob.
With this pair of data, Bob also sends Alice two other signatures: the first is valid for a transaction that spends from the original multisig `(Alice && Bob)`, the “on-chain” one that still has 10_000 sats in it, to (a) create a *different* revocable connector with 330 sats in it, revocable by *Alice* this time and (b) send the change (9_670 sats, minus a fee, so more like 9_500 sats) back to the multisig `(Alice && Bob)`. The second signature is valid for a transaction that sends 9_000 sats to Alice from the multisig AND the revocable utxo (so its inputs contain 9_500 + 330 sats together) and sends the rest, 830 sats (minus a fee, so more like 500 sats) to Bob.

```
Alice’s new, off-chain balance: 9_000 sats (up ~1000 sats from her previous position)
Expand Down

0 comments on commit 434cdd0

Please sign in to comment.