RecoveredChannelKeys

data class RecoveredChannelKeys(fundingPubKey: PublicKey, paymentKey: PrivateKey, delayedPaymentKey: PrivateKey, htlcKey: PrivateKey, revocationKey: PrivateKey, shaSeed: ByteVector32)

Channel keys recovered from the channel's funding public key (note that we obviously cannot recover the funding private key) These keys can be used to spend our outputs from a commit tx that has been published to the blockchain, without any other information than the node's seed ("backup less backup")

Constructors

RecoveredChannelKeys
Link copied to clipboard
common
fun RecoveredChannelKeys(fundingPubKey: PublicKey, paymentKey: PrivateKey, delayedPaymentKey: PrivateKey, htlcKey: PrivateKey, revocationKey: PrivateKey, shaSeed: ByteVector32)

Properties

delayedPaymentBasepoint
Link copied to clipboard
common
val delayedPaymentBasepoint: PublicKey
delayedPaymentKey
Link copied to clipboard
common
val delayedPaymentKey: PrivateKey
fundingPubKey
Link copied to clipboard
common
val fundingPubKey: PublicKey
htlcBasepoint
Link copied to clipboard
common
val htlcBasepoint: PublicKey
htlcKey
Link copied to clipboard
common
val htlcKey: PrivateKey
paymentBasepoint
Link copied to clipboard
common
val paymentBasepoint: PublicKey
paymentKey
Link copied to clipboard
common
val paymentKey: PrivateKey
revocationBasepoint
Link copied to clipboard
common
val revocationBasepoint: PublicKey
revocationKey
Link copied to clipboard
common
val revocationKey: PrivateKey
shaSeed
Link copied to clipboard
common
val shaSeed: ByteVector32