In Memory Channels Db
Functions
add Htlc Info
Link copied to clipboard
open suspend override fun addHtlcInfo(channelId: ByteVector32, commitmentNumber: Long, paymentHash: ByteVector32, cltvExpiry: CltvExpiry)
Content copied to clipboard
add Or Update Channel
Link copied to clipboard
open suspend override fun addOrUpdateChannel(state: ChannelStateWithCommitments)
Content copied to clipboard
list Htlc Infos
Link copied to clipboard
open suspend override fun listHtlcInfos(channelId: ByteVector32, commitmentNumber: Long): List<Pair<ByteVector32, CltvExpiry>>
Content copied to clipboard
list Local Channels
Link copied to clipboard
open suspend override fun listLocalChannels(): List<ChannelStateWithCommitments>
Content copied to clipboard
remove Channel
Link copied to clipboard