github.com/true-sqn/fabric@v2.1.1+incompatible/core/ledger/kvledger/benchmark/chainmgmt/conf.go (about)

     1  /*
     2  Copyright IBM Corp. 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  }