 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SharedConfig ¶
type SharedConfig struct {
	HashingAlgorithmVal func([]byte) []byte
	BlockDataHashingStructureWidthVal uint32
	OrdererAddressesVal []string
}
    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
       Source Files
      ¶
      Source Files
      ¶
    
- sharedconfig.go
 Click to show internal directories. 
   Click to hide internal directories.