Serialization
object Serialization
Content copied to clipboard
Functions
decrypt
Link copied to clipboard
fun decrypt(key: ByteVector32, data: ByteArray, nodeParams: NodeParams): ChannelStateWithCommitments
Content copied to clipboard
fun decrypt(key: PrivateKey, backup: EncryptedChannelData, nodeParams: NodeParams): ChannelStateWithCommitments
Content copied to clipboard
fun decrypt(key: PrivateKey, data: ByteArray, nodeParams: NodeParams): ChannelStateWithCommitments
Content copied to clipboard
deserialize
Link copied to clipboard
fun deserialize(bin: ByteArray, nodeParams: NodeParams): ChannelStateWithCommitments
Content copied to clipboard
encrypt
Link copied to clipboard
fun encrypt(key: ByteVector32, state: ChannelStateWithCommitments): EncryptedChannelData
Content copied to clipboard
fun encrypt(key: ByteVector32, state: ChannelStateWithCommitments): EncryptedChannelData
Content copied to clipboard
fun encrypt(key: PrivateKey, state: ChannelStateWithCommitments): EncryptedChannelData
Content copied to clipboard
serialize
Link copied to clipboard