Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
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 ¶
func NewFactoryImpl(channelGroup *cb.ConfigGroup) Factory
NewFactoryImpl creates a new Factory.
Source Files
¶
- genesis.go
Click to show internal directories.
Click to hide internal directories.