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

     1  REM Configuration file for the kcn
     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=100
    11  :: set LDBCACHESIZE=10240
    12  set REWARDBASE="0x0"
    13  
    14  REM txpool options setting
    15  set TXPOOL_EXEC_SLOTS_ALL=16384
    16  set TXPOOL_NONEXEC_SLOTS_ALL=16384
    17  set TXPOOL_EXEC_SLOTS_ACCOUNT=16384
    18  set TXPOOL_NONEXEC_SLOTS_ACCOUNT=16384
    19  set TXPOOL_LIFE_TIME="5m"
    20  
    21  REM rpc options setting
    22  set RPC_ENABLE=0 &:: if this is set, the following options will be used
    23  set RPC_API="klay" &:: available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    24  set RPC_PORT=8551
    25  set RPC_ADDR="0.0.0.0"
    26  set RPC_CORSDOMAIN="*"
    27  set RPC_VHOSTS="*"
    28  
    29  REM ws options setting
    30  set WS_ENABLE=0 &:: if this is set, the following options will be used
    31  set WS_API="klay" &:: available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    32  set WS_ADDR="0.0.0.0"
    33  set WS_PORT=8552
    34  set WS_ORIGINS="*"
    35  
    36  REM Setting 1 is to enable options, otherwise disabled.
    37  set METRICS=1
    38  set PROMETHEUS=1
    39  set DB_NO_PARALLEL_WRITE=0
    40  set MULTICHANNEL=1
    41  
    42  REM Raw options e.g) "--txpool.nolocals"
    43  set ADDITIONAL=""
    44  
    45  set KLAY_HOME=%homepath%\.kcn
    46  
    47  set DATA_DIR=%KLAY_HOME%\data