Skip to main content

Questions tagged [ln-commitment-transaction]

Filter by
Sorted by
Tagged with
5 votes
1 answer
64 views

What is a payment basepoint?

The BOLT #3 Commitment Transaction documentation talks about a payment basepoint, but I can't find it defined in the glossary or anywhere else. It also mentions various other basepoints like a ...
Zephyrus's user avatar
  • 782
0 votes
0 answers
63 views

Deriving revocation_pubkey BOLT #3

I'm trying to reproduce keys derivation for testing vectors in Bolt #03. At the moment I'm can not reproduce the local_revocation_pubkey: ...
Pawel's user avatar
  • 91
4 votes
2 answers
109 views

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 ...
stickies-v's user avatar
5 votes
2 answers
684 views

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 ...
RedGrittyBrick's user avatar
4 votes
1 answer
224 views

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 ...
monkeyUser's user avatar
3 votes
1 answer
479 views

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: ...
Rene Pickhardt's user avatar
2 votes
1 answer
170 views

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 ...
Darius's user avatar
  • 799
2 votes
2 answers
199 views

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 ...
fiction's user avatar
  • 518
2 votes
1 answer
228 views

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: ...
Darius's user avatar
  • 799
1 vote
2 answers
119 views

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 ...
Darius's user avatar
  • 799
3 votes
2 answers
957 views

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 ...
Ugam Kamat's user avatar
  • 7,427
5 votes
1 answer
271 views

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 ...
Questioner's user avatar
  • 1,126
2 votes
1 answer
194 views

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's user avatar
  • 45
3 votes
2 answers
329 views

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 ...
Tejaswi Nadahalli's user avatar
2 votes
1 answer
137 views

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 ...
Paul Razvan Berg's user avatar
2 votes
1 answer
220 views

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 ...
fbertoia's user avatar
1 vote
1 answer
301 views

How are transactions invalidated by nodes when both parties are offline in a Lightning Network?

Let's imagine Alice wants to send multiple transactions to Bob. Both Alice and Bob have open channels with Carol, not with each other: Alice <-> Carol <-> Bob So Alice first sends 0.01 ...
Luca Matteis's user avatar
  • 5,242
2 votes
1 answer
605 views

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 ...
Simone Bronzini's user avatar