genesis

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	//块返回给定通道ID的Genesis块。
	Block(channelID string) (*cb.Block, error)
}

工厂有助于创建Genesis块。

func NewFactoryImpl

func NewFactoryImpl(channelGroup *cb.ConfigGroup) Factory

NewFactoryImpl创建新工厂。

Jump to

Keyboard shortcuts

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