fabric: github.com/hyperledger/fabric/common/genesis Index | Files

package genesis

import "github.com/hyperledger/fabric/common/genesis"


Package Files


type Factory Uses

type Factory interface {
    // Block returns a genesis block for a given channel ID.
    Block(channelID string) *cb.Block

Factory facilitates the creation of genesis blocks.

func NewFactoryImpl Uses

func NewFactoryImpl(channelGroup *cb.ConfigGroup) Factory

NewFactoryImpl creates a new Factory.

Package genesis imports 2 packages (graph) and is imported by 16 packages. Updated 2020-07-10. Refresh now. Tools for package owners.