github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/ledger/kvledger/benchmark/chainmgmt/conf.go (about)

     1  /*
     2  Copyright hechain. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package chainmgmt
     8  
     9  // ChainMgrConf captures the configurations for chainMgr
    10  type ChainMgrConf struct {
    11  	// DataDir field specifies the filesystem location where the chains data is maintained
    12  	DataDir string
    13  	// NumChains field specifies the number of chains to instantiate
    14  	NumChains int
    15  }
    16  
    17  // BatchConf captures the batch related configurations
    18  type BatchConf struct {
    19  	// BatchSize specifies the number of transactions in one block
    20  	BatchSize int
    21  }