github.com/klaytn/klaytn@v1.12.1/build/packaging/windows/conf/kpn-conf.cmd (about)

     1  REM Configuration file for the kpn
     2  
     3  set NETWORK_ID=8217
     4  
     5  set PORT=32323
     6  
     7  set SERVER_TYPE="http"
     8  set SYNCMODE="full"
     9  set VERBOSITY=3
    10  set MAXCONNECTIONS=200
    11  :: set LDBCACHESIZE=10240
    12  
    13  REM txpool options setting
    14  set TXPOOL_EXEC_SLOTS_ALL=8192
    15  set TXPOOL_NONEXEC_SLOTS_ALL=8192
    16  set TXPOOL_EXEC_SLOTS_ACCOUNT=8192
    17  set TXPOOL_NONEXEC_SLOTS_ACCOUNT=8192
    18  set TXPOOL_LIFE_TIME="5m"
    19  
    20  REM rpc options setting
    21  set RPC_ENABLE=0 &:: if this is set, the following options will be used
    22  set RPC_API="klay" &:: available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    23  set RPC_PORT=8551
    24  set RPC_ADDR="0.0.0.0"
    25  set RPC_CORSDOMAIN="*"
    26  set RPC_VHOSTS="*"
    27  
    28  REM ws options setting
    29  set WS_ENABLE=0 &:: if this is set, the following options will be used
    30  set WS_API="klay" &:: available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    31  set WS_ADDR="0.0.0.0"
    32  set WS_PORT=8552
    33  set WS_ORIGINS="*"
    34  
    35  REM Setting 1 is to enable options, otherwise disabled.
    36  set METRICS=1
    37  set PROMETHEUS=1
    38  set DB_NO_PARALLEL_WRITE=0
    39  set MULTICHANNEL=1
    40  
    41  REM Raw options e.g) "--txpool.nolocals"
    42  set ADDITIONAL="--txpool.nolocals"
    43  
    44  set KLAY_HOME=%homepath%\.kpn
    45  
    46  set DATA_DIR=%KLAY_HOME%\data