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