tx

package
v0.0.0-...-c270618 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Bytes  []byte                  // readonly
	Result *abci.ResponseDeliverTx // readonly
	Block  int64
	Index  uint32
}

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func DialWatcher

func DialWatcher(ctx context.Context, sub tmrpc.EventsClient) (*Watcher, error)

func (*Watcher) Stop

func (w *Watcher) Stop()

func (*Watcher) Watch

func (w *Watcher) Watch(ctx context.Context, hash string) (<-chan *Response, error)

Watch returns a channel that sends a Response, once its found. Contract: *Response is readonly.

Jump to

Keyboard shortcuts

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