func BlockDataHashingStructureValue() *StandardConfigValue {
	return &StandardConfigValue{
		key: BlockDataHashingStructureKey,
		value: &cb.BlockDataHashingStructure{
			Width: defaultBlockDataHashingStructureWidth,
		},
	}
}
BlockDataHashingStructureValue returns the only currently valid block data hashing structure.
It is a value for the /Channel group.
package channelconfig
import (
	"fmt"
	"io/ioutil"
	"math"
	"github.com/golang/protobuf/proto"
	cb "github.com/hyperledger/fabric-protos-go/common"
	mspprotos "github.com/hyperledger/fabric-protos-go/msp"
	ab "github.com/hyperledger/fabric-protos-go/orderer"
	"github.com/hyperledger/fabric-protos-go/orderer/etcdraft"
	pb "github.com/hyperledger/fabric-protos-go/peer"
	"github.com/kfsoftware/hlf-operator/internal/github.com/hyperledger/fabric/bccsp"
)
const (
	ReadersPolicyKey = "Readers"
	WritersPolicyKey = "Writers"
	AdminsPolicyKey = "Admins"
	defaultHashingAlgorithm = bccsp.SHA256
	defaultBlockDataHashingStructureWidth = math.MaxUint32
)
type ConfigValue interface {
	Key() string
	Value() proto.Message
}
type StandardConfigValue struct {
	key   string
	value proto.Message
}
func (scv *StandardConfigValue) Key() string {
	return scv.key
}
func (scv *StandardConfigValue) Value() proto.Message {
	return scv.value
}
func ConsortiumValue(name string) *StandardConfigValue {
	return &StandardConfigValue{
		key: ConsortiumKey,
		value: &cb.Consortium{
			Name: name,
		},
	}
}
func HashingAlgorithmValue() *StandardConfigValue {
	return &StandardConfigValue{
		key: HashingAlgorithmKey,
		value: &cb.HashingAlgorithm{
			Name: defaultHashingAlgorithm,
		},
	}
}