bcinfo

package
v0.4.33 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider implements a caching Blockchain Info Provider

func NewProvider

func NewProvider() *Provider

NewProvider returns a Blockchain Info Provider

func (*Provider) GetBlockchainInfo

func (l *Provider) GetBlockchainInfo(channelID string) (*cb.BlockchainInfo, error)

GetBlockchainInfo delegates to the peer to return basic info about the blockchain

Jump to

Keyboard shortcuts

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