Questions tagged [ln-commitment-transaction]
16 questions
5
votes
1 answer
Lightning Network: asymmetry in the information tracked by each participant?
In following paper, written by Christian Decker et al., there is a paragraph that is not clear to me.
eltoo: A Simple Layer2 Protocol for Bitcoin
"The central idea of Lightning is to invalidate an old state by
punishing the participant…
Questioner
- 1,151
- 8
- 22
5
votes
2 answers
Why would a transaction have a locktime of 1987!
I don't understand the locktime in transaction 97DC62BAB016D8EE5C828C76318FE01E9A70992F150838960122DFA9BF8089BC
Hexadecimal Data
Meaning
82BF3B20
LockTime 1987-02-20 02:29
The locktime is 0x82BF3B20 or 540,786,562 which is greater than…
RedGrittyBrick
- 24,039
- 3
- 23
- 47
4
votes
1 answer
Cheat Lightning network (c-lightning)
I want to understand how cheat lightning network using c-lightning.
I understand that if a participant of che channel send not last commitment transaction, it means that he tries to cheat. I'd like to replicate this scenario.
I tried to dump…
monkeyUser
- 960
- 1
- 7
- 18
4
votes
2 answers
Using multiple penalty transactions to increase max HTLCs per LN channel
BOLT#2 states the below as one rationale to limit a Lighting Network channel to 483 HTLCs:
It also ensures that a single penalty transaction can spend the entire commitment transaction, as calculated in BOLT #5.
In other words: we're constrained…
stickies-v
- 540
- 1
- 10
3
votes
1 answer
Why does every HTLC in a commitment transaction require its own signature?
From BOLT 02 we can learn
When a node has changes for the remote commitment, it can apply them,
sign the resulting transaction (as defined in BOLT #3), and send a
commitment_signed message.
1. type: 132 (`commitment_signed`)
2. data:
*…
Rene Pickhardt
- 11,670
- 8
- 35
3
votes
2 answers
Order of Exchanging Revocation Keys during Lightning Transactions
How do Alice and Bob share their ephemeral private keys simultaneously? If they don't, and let's say Alice first sends Bob her private key. At this point, Bob can broadcast his current commitment transaction, and the previous commitment transaction…
Tejaswi Nadahalli
- 31
- 3
2
votes
1 answer
What happens if the commitment tx fee is too low?
How often are commitment tx fees negotiated?
Is it every time a payment is made and a new commitment transaction is formed?
What about if there are no payments but both nodes see that the on chain tx fees are rising, do they renegotiate and…
Darius
- 779
- 4
- 16
2
votes
2 answers
Lightning - why are commitment transactions supposed to use different keys
In the paper BIP32 and deterministic key derivation are mentioned. But why given that two peers directly exchange messages (i.e., there is no need to obscure anything)? Alice always exchanges state with Bob and that commitment transactions usually…
fiction
- 518
- 2
- 12
2
votes
1 answer
In Lightning commitment transactions, what do the upper 8 bits of sequence and locktime represent?
In Bolt 3 of the Lightning Network specs, for commitment transactions it states:
locktime: upper 8 bits are 0x20, lower 24 bits are the lower 24 bits of the obscured commitment number.
sequence: upper 8 bits are 0x80, lower 24 bits are upper 24…
Darius
- 779
- 4
- 16
2
votes
2 answers
Why do we use CLTV instead of CSV in the HTLC output of the commitment transaction?
In lightning network commitment transactions, the HTLC offered/received outputs generally pay the offering node after a timeout which is scripted using CLTV. In other parts of the commitment transactions (such a to_self_delay) we use CSV to ensure…
Ugam Kamat
- 7,263
- 2
- 13
- 38
2
votes
1 answer
What is the relation between a Hash Time Lock Contract(HTLC) and a Commitment transaction?
I want to know about what happens to the commitment transactions as the HTLC's are sent and cleared along to peers in a route.
sk_58
- 45
- 3
2
votes
1 answer
Lightning Network: what happens if parties lose their txs?
Let's take the classical example of Alice and Bob with 0.5BTC each. Commitment Txs are exchanged for a new balance sheet: Alice has 0.6BTC, and Bob 0.4BTC.
If Alice loses Bob's Breach Remedy Tx, she can still publish a Commitment Tx and get her…
Paul Razvan Berg
- 239
- 1
- 13
2
votes
1 answer
What is the input and output script of the funding transaction?
I'm looking for what the state block look like on the blockchain to set a channel on the lightning network.
I found everywhere that the input script is a multisig script (since the two people that set the channel will put there state on the…
fbertoia
- 21
- 1
2
votes
1 answer
Lightning Network: hashlocks vs private keys exchange
I am reading the Lightning Network paper and noticed that when describing bidirectional payment channels, the authors used "Breach Remedy transactions" and the exchange of the two parties' private keys to discourage any of the parties to broadcast…
Simone Bronzini
- 514
- 4
- 11
1
vote
2 answers
Could someone provide an example of a tx spending from an input with a relative LockTime?
I want to see an example of a raw transaction which spends from an input which has a relative LockTime applied to it. An example would be a transaction from a Lightning payment channel in which a user force closes a channel and claims their 'local'…
Darius
- 779
- 4
- 16