bcinfo

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 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