pool

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPool

func GetPool(ctx context.Context, key ecdsa.PrivateKey, peers map[string]config.Peer) (*pool.Pool, error)

questions: 1. do i need to provide the URLs for connections in the pool 2. Whats the difference between a pool and a client and which should I use? 3. Can a pool be created without knowing the private key (wallet connect)?

  • if not, do I think use a client? I cant work out how to make the requests (put/get/delte) on a client

func TokenExpiryValue

func TokenExpiryValue(ctx context.Context, pl *pool.Pool, roughEpochs uint64) (uint64, uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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