Notifications defines a callback to which notifications will be sent when various events take place. See the documentation for Notification and NotificationType for details on the types and contents of notifications.
This field can be nil if the caller is not interested in receiving notifications.
chainParams: params, timeSource: config.TimeSource, notifications: config.Notifications, sigCache: config.SigCache, indexManager: config.IndexManager,
Notifications is referenced in 2 repositoriesgithub.com/btcsuite/btcd
- 1 reference in blockchain/chain.go