client

package
v0.5.9-0...-ba7202b Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bzz

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

func NewBzz

func NewBzz(client *rpc.Client) *Bzz

NewBzz is a constructor for a Bzz API

func (*Bzz) GetBzzAddr

func (b *Bzz) GetBzzAddr() (string, error)

GetBzzAddr returns the bzzAddr of the node

func (*Bzz) GetChunksBitVector

func (b *Bzz) GetChunksBitVector(addrs []storage.Address) (string, error)

GetChunksBitVector returns a bit vector of presence for a given slice of chunks

func (*Bzz) IsPullSyncing

func (b *Bzz) IsPullSyncing() (bool, error)

IsPullSyncing is checking if the node is still receiving chunk deliveries due to pull syncing

func (*Bzz) IsPushSynced

func (b *Bzz) IsPushSynced(tagname string) (bool, error)

IsPushSynced checks if the given `tag` is done syncing, i.e. we've received receipts for all chunks

Jump to

Keyboard shortcuts

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