github.com/klaytn/klaytn@v1.12.1/build/packaging/linux/conf/kcnd.conf (about)

     1  # Configuration file for the kcnd
     2  
     3  # cypress, baobab is only available if you don't specify NETWORK_ID.
     4  NETWORK="cypress"
     5  # if you specify NETWORK_ID, a private network is created.
     6  NETWORK_ID=
     7  
     8  PORT=32323
     9  
    10  SERVER_TYPE="http"
    11  SYNCMODE="full"
    12  VERBOSITY=3
    13  MAXCONNECTIONS=100
    14  # LDBCACHESIZE=10240
    15  REWARDBASE="0x0"
    16  
    17  # txpool options setting
    18  TXPOOL_EXEC_SLOTS_ALL=16384
    19  TXPOOL_NONEXEC_SLOTS_ALL=16384
    20  TXPOOL_EXEC_SLOTS_ACCOUNT=16384
    21  TXPOOL_NONEXEC_SLOTS_ACCOUNT=16384
    22  TXPOOL_LIFE_TIME="5m"
    23  
    24  # rpc options setting
    25  RPC_ENABLE=0 # if this is set, the following options will be used
    26  RPC_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3,governance
    27  RPC_PORT=8551
    28  RPC_ADDR="0.0.0.0"
    29  RPC_CORSDOMAIN="*"
    30  RPC_VHOSTS="*"
    31  
    32  # ws options setting
    33  WS_ENABLE=0 # if this is set, the following options will be used
    34  WS_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3,governance
    35  WS_ADDR="0.0.0.0"
    36  WS_PORT=8552
    37  WS_ORIGINS="*"
    38  
    39  # Setting 1 is to enable options, otherwise disabled.
    40  AUTO_RESTART=1
    41  METRICS=1
    42  PROMETHEUS=1
    43  DB_NO_PARALLEL_WRITE=0
    44  MULTICHANNEL=1
    45  SUBPORT=$((PORT + 1)) # used for multi channel option
    46  
    47  # discover options
    48  NO_DISCOVER=0 # setting 1 to disable discovery
    49  BOOTNODES=""
    50  
    51  # log rotation related options
    52  LOG_ROTATE=0 # setting 1 to enable the log rotation related options
    53  LOG_MAXSIZE=100 # the unit is MB
    54  LOG_MAXBACKUPS=10
    55  LOG_MAXAGE=30 # maximum number of days to retain a log file
    56  LOG_COMPRESS=1 # setting 1 to compress the backup logs in gz format
    57  
    58  # Raw options e.g) "--txpool.nolocals"
    59  ADDITIONAL=""
    60  
    61  # auto restart options
    62  AUTO_RESTART_NODE=0
    63  AUTO_RESTART_INTERVAL=0.1
    64  
    65  DATA_DIR=
    66  LOG_DIR=$DATA_DIR/logs