common: update bolt to neaten pubkey descriptions.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Alex Myers
parent
f20bea605b
commit
b879cb475f
2
Makefile
2
Makefile
@@ -26,7 +26,7 @@ CCANDIR := ccan
|
||||
|
||||
# Where we keep the BOLT RFCs
|
||||
BOLTDIR := ../bolts/
|
||||
DEFAULT_BOLTVERSION := 5dec5eb84957d70c9fedf27173e78f1b0b6b0217
|
||||
DEFAULT_BOLTVERSION := fd83d7cee0369eb1d9068eb9864bff8b1f940938
|
||||
# Can be overridden on cmdline.
|
||||
BOLTVERSION := $(DEFAULT_BOLTVERSION)
|
||||
|
||||
|
||||
@@ -13,12 +13,11 @@
|
||||
*
|
||||
* pubkey = basepoint + SHA256(per_commitment_point || basepoint) * G
|
||||
*
|
||||
* The `localpubkey` uses the local node's `payment_basepoint`;
|
||||
* The `remotepubkey` uses the remote node's `payment_basepoint`;
|
||||
* the `local_htlcpubkey` uses the local node's `htlc_basepoint`;
|
||||
* the `remote_htlcpubkey` uses the remote node's `htlc_basepoint`;
|
||||
* the `local_delayedpubkey` uses the local node's `delayed_payment_basepoint`;
|
||||
* and the `remote_delayedpubkey` uses the remote node's `delayed_payment_basepoint`.
|
||||
* - The `localpubkey` uses the local node's `payment_basepoint`;
|
||||
* - The `local_htlcpubkey` uses the local node's `htlc_basepoint`;
|
||||
* - The `remote_htlcpubkey` uses the remote node's `htlc_basepoint`;
|
||||
* - The `local_delayedpubkey` uses the local node's `delayed_payment_basepoint`;
|
||||
* - The `remote_delayedpubkey` uses the remote node's `delayed_payment_basepoint`.
|
||||
*...
|
||||
* The `remotepubkey` is simply the remote node's `payment_basepoint`.
|
||||
*/
|
||||
|
||||
@@ -17,12 +17,11 @@ bool derive_keyset(const struct pubkey *per_commitment_point,
|
||||
*
|
||||
* pubkey = basepoint + SHA256(per_commitment_point || basepoint) * G
|
||||
*
|
||||
* The `localpubkey` uses the local node's `payment_basepoint`;
|
||||
* The `remotepubkey` uses the remote node's `payment_basepoint`;
|
||||
* the `local_htlcpubkey` uses the local node's `htlc_basepoint`;
|
||||
* the `remote_htlcpubkey` uses the remote node's `htlc_basepoint`;
|
||||
* the `local_delayedpubkey` uses the local node's `delayed_payment_basepoint`;
|
||||
* and the `remote_delayedpubkey` uses the remote node's `delayed_payment_basepoint`.
|
||||
* - The `localpubkey` uses the local node's `payment_basepoint`;
|
||||
* - The `local_htlcpubkey` uses the local node's `htlc_basepoint`;
|
||||
* - The `remote_htlcpubkey` uses the remote node's `htlc_basepoint`;
|
||||
* - The `local_delayedpubkey` uses the local node's `delayed_payment_basepoint`;
|
||||
* - The `remote_delayedpubkey` uses the remote node's `delayed_payment_basepoint`.
|
||||
*/
|
||||
if (!derive_simple_key(&self->payment,
|
||||
per_commitment_point,
|
||||
|
||||
Reference in New Issue
Block a user