Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SharedConfig ¶
type SharedConfig struct { byte) []byte BlockDataHashingStructureWidthVal uint32 OrdererAddressesVal []string }HashingAlgorithmVal func([]
SharedConfig is a mock implementation of sharedconfig.SharedConfig
func (*SharedConfig) BlockDataHashingStructureWidth ¶
func (scm *SharedConfig) BlockDataHashingStructureWidth() uint32
BlockDataHashingStructureWidth returns the BlockDataHashingStructureWidthVal
func (*SharedConfig) HashingAlgorithm ¶
func (scm *SharedConfig) HashingAlgorithm() func([]byte) []byte
HashingAlgorithm returns the HashingAlgorithmVal if set, otherwise a fake simple hash function
func (*SharedConfig) OrdererAddresses ¶
func (scm *SharedConfig) OrdererAddresses() []string
OrdererAddresses returns the OrdererAddressesVal
Click to show internal directories.
Click to hide internal directories.