exchange

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoProviders = errors.New("blockstream: no providers")
)

Functions

func GetProviders

func GetProviders(ctx context.Context) ([]peer.ID, error)

func New

func New(bs *blockstream.BlockStream) iexchange.SessionExchange

func WithProviders

func WithProviders(ctx context.Context, ids ...peer.ID) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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