watch

package
v0.0.0-...-a5eb945 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	// TODO: Idiomatic Go requires this method to be called "Match" instead of
	// "GetMatch"
	swap.SwapAdapter
	BuildAtoms(store.State, match.Match) (swap.Atom, swap.Atom, error)
	CheckForMatch(order.ID, bool) (match.Match, error)
}

Wallet is an interface for the Atom Wallet Contract

type Watch

type Watch interface {
	Start() <-chan error
	Add([32]byte) error
	Status([32]byte) string
	Notify()
	Stop()
}

func NewWatch

func NewWatch(adapter Adapter, state store.State) Watch

Jump to

Keyboard shortcuts

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