Skip to content

Conversation

@canndrew
Copy link
Member

Add the UInt48, RevocationKey, CommitmentPubKey, CommitmentSeed and
RevocationSet types.

A RevocationKey is a secret key that can be used to revoke a
transaction. It's shared in the revoke_and_ack message and stored in the
user's wallet in a RevocationSet. A CommitmentPubKey is the public key
of a RevocationKey, also known as a "per commitment point". A
CommitmentSeed is the master revocation key for a side of a channel and
can be used to derive all the revocation keys for that side of that
channel.

A RevocationSet stores a set of revocation keys in a compact form
specified in BOLT #3 which allows earlier keys to be derived from later
keys.

@canndrew canndrew force-pushed the nblockchain-master-with-revocation-changes branch from 21d7dca to c15a629 Compare June 29, 2020 12:31
Add the UInt48, RevocationKey, CommitmentPubKey, CommitmentSeed and
RevocationSet types.

A RevocationKey is a secret key that can be used to revoke a
transaction. It's shared in the revoke_and_ack message and stored in the
user's wallet in a RevocationSet. A CommitmentPubKey is the public key
of a RevocationKey, also known as a "per commitment point". A
CommitmentSeed is the master revocation key for a side of a channel and
can be used to derive all the revocation keys for that side of that
channel.

A RevocationSet stores a set of revocation keys in a compact form
specified in BOLT joemphilips#3 which allows earlier keys to be derived from later
keys.
@canndrew canndrew force-pushed the nblockchain-master-with-revocation-changes branch from c15a629 to 67aeb07 Compare June 29, 2020 12:37
canndrew added 2 commits July 3, 2020 11:58
Allows converting a RevocationSet to/from a list of keys. This allows
serializing/deserializing the set.
makeChannelReestablish was using hard-coded commitment numbers and keys
rather than the info in the Commitments object that it gets passed.

This fix makes it use the values in the Commitments object instead.
@canndrew canndrew force-pushed the nblockchain-master-with-revocation-changes branch from 67aeb07 to df51210 Compare July 3, 2020 03:59
@knocte knocte force-pushed the master branch 6 times, most recently from 135c9bb to 02564ea Compare October 21, 2020 17:03
@knocte knocte force-pushed the master branch 3 times, most recently from dd99cda to 08262fb Compare November 6, 2020 05:16
@knocte knocte force-pushed the master branch 10 times, most recently from 5025ca9 to ef4cc4f Compare November 13, 2020 06:30
@knocte knocte force-pushed the master branch 3 times, most recently from f9839d5 to 6281acc Compare April 2, 2021 09:52
@knocte knocte force-pushed the master branch 3 times, most recently from 9f9f73e to 2883c78 Compare June 17, 2021 09:03
@canndrew canndrew force-pushed the master branch 4 times, most recently from f817da9 to 0340b0b Compare June 18, 2021 07:38
@knocte knocte force-pushed the master branch 3 times, most recently from 0389f6a to 60d2401 Compare June 22, 2021 13:06
@knocte knocte force-pushed the master branch 4 times, most recently from 419cd8d to f0461b4 Compare November 17, 2021 06:50
@knocte knocte force-pushed the master branch 4 times, most recently from 37fe5af to 1f418fe Compare December 2, 2021 21:08
@knocte knocte force-pushed the master branch 5 times, most recently from bd34034 to b67e13f Compare August 23, 2022 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant