fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/common/genesis Index | Files

package genesis

import "github.com/hyperledger/fabric-sdk-go/internal/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 1 packages. Updated 2020-01-01. Refresh now. Tools for package owners.