cosmos

package
v0.0.0-...-de21b2d Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockStream

func BlockStream(ctx context.Context, c *http.HTTP) <-chan block.WithTxs

BlockStream returns read-only channel of completed blocks

func Subscribe

func Subscribe(ctx context.Context, client *http.HTTP) (<-chan block.TmBlock, <-chan block.TxStatus, error)

Subscribe dials tendermint rpc and returns two streams, one for committed blocks, one for transactions that occurred

Types

This section is empty.

Jump to

Keyboard shortcuts

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