ElectrumWatcher

class ElectrumWatcher(client: ElectrumClient, scope: CoroutineScope) : CoroutineScope

Types

Companion
Link copied to clipboard
common
object Companion

Functions

openTxNotificationsFlow
Link copied to clipboard
common
fun openTxNotificationsFlow(): Flow<Pair<ByteVector32, GetTxWithMetaResponse>>
openUpToDateFlow
Link copied to clipboard
common
fun openUpToDateFlow(): Flow<Long>
openWatchNotificationsFlow
Link copied to clipboard
common
fun openWatchNotificationsFlow(): Flow<WatchEvent>
publish
Link copied to clipboard
common
fun publish(tx: Transaction)
send
Link copied to clipboard
common
fun send(message: WatcherEvent)
stop
Link copied to clipboard
common
fun stop()
watch
Link copied to clipboard
common
fun watch(watch: Watch)

Properties

client
Link copied to clipboard
common
val client: ElectrumClient
coroutineContext
Link copied to clipboard
common
open override val coroutineContext: CoroutineContext
notificationsFlow
Link copied to clipboard
common
val notificationsFlow: SharedFlow<NotifyEvent>
scope
Link copied to clipboard
common
val scope: CoroutineScope