From 3975a54a1c450b32ee3fc02ed9cfa34a9858f108 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 24 Nov 2017 12:34:45 +1030 Subject: [PATCH] BOLT 2: note requirements for first_per_commitment_point. Steal language from next_per_commitment_point requirements. Closes: #277 Signed-off-by: Rusty Russell --- 02-peer-protocol.md | 1 + 1 file changed, 1 insertion(+) diff --git a/02-peer-protocol.md b/02-peer-protocol.md index 4d05e68..8a54549 100644 --- a/02-peer-protocol.md +++ b/02-peer-protocol.md @@ -130,6 +130,7 @@ The sending node MUST: - set `funding_satoshis` to less than 2^24 satoshi. - set `push_msat` to equal or less than 1000 * `funding_satoshis`. - set `funding_pubkey`, `revocation_basepoint`, `htlc_basepoint`, `payment_basepoint`, and `delayed_payment_basepoint` to valid DER-encoded, compressed, secp256k1 pubkeys. + - set `first_per_commitment_point` to the per-commitment point to be used for the initial commitment transaction, derived as specified in [BOLT #3](03-transactions.md#per-commitment-secret-requirements). The sending node SHOULD: - set `to_self_delay` sufficient to ensure the sender can irreversibly spend a commitment transaction output, in case of misbehavior by the receiver.