Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainNotifier ¶
type ChainNotifier interface { RegisterConfirmationsNotification(txid *wire.ShaHash, numConfs uint32, trigger *NotificationTrigger) error RegisterSpendNotification(outpoint *wire.OutPoint, trigger *NotificationTrigger) error Start() error Stop() error }
TODO(roasbeef): finish
- multiple backends for interface
- btcd - websockets
- core - rpc polling or ZeroMQ
- direct p2p
- random bitcoin API?
- electrum?
- SPV bloomfilter
- other stuff maybe...
type NotificationTrigger ¶
type NotificationTrigger struct { TriggerChan chan struct{} Callback func() }
Click to show internal directories.
Click to hide internal directories.