Crate ckb_notify

Crate ckb_notify 

Source
Expand description

Notification service for blockchain events.

This crate provides a publish-subscribe notification system for CKB blockchain events, including new blocks, transactions, and network alerts. Components can register to receive notifications about these events asynchronously.

Structs§

NotifyController
Controller for the notification service.
NotifyService
Background service that manages event subscriptions and notifications.
PoolTransactionEntry
Notify pool transaction entry
Request
Asynchronous request sent to the service.

Constants§

NOTIFY_CHANNEL_SIZE
Channel size for notification messages.
REGISTER_CHANNEL_SIZE
Channel size for registration requests.
SIGNAL_CHANNEL_SIZE
Channel size for signal communication.

Type Aliases§

NotifyRegister
Type alias for notification registration sender.
NotifyWatcher
watcher request type alias