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§
- Notify
Controller - Controller for the notification service.
- Notify
Service - Background service that manages event subscriptions and notifications.
- Pool
Transaction Entry - 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§
- Notify
Register - Type alias for notification registration sender.
- Notify
Watcher - watcher request type alias