github.com/klaytn/klaytn@v1.12.1/build/rpm/etc/kpnd/conf/kpnd_baobab.conf (about)

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