chainntnfs

package
v0.0.0-...-2cbe605 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2016 License: MIT Imports: 1 Imported by: 0

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()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL