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

     1  REM Configuration file for the ken
     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=10
    11  
    12  REM txpool options setting
    13  set TXPOOL_EXEC_SLOTS_ALL=4096
    14  set TXPOOL_NONEXEC_SLOTS_ALL=4096
    15  set TXPOOL_EXEC_SLOTS_ACCOUNT=4096
    16  set TXPOOL_NONEXEC_SLOTS_ACCOUNT=4096
    17  set TXPOOL_LIFE_TIME="30m"
    18  
    19  REM rpc options setting
    20  set RPC_ENABLE=1 &:: if this is set, the following options will be used
    21  set RPC_API="klay" &:: available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    22  set RPC_PORT=8551
    23  set RPC_ADDR="0.0.0.0"
    24  set RPC_CORSDOMAIN="*"
    25  set RPC_VHOSTS="*"
    26  REM below options are related with http server
    27  set RPC_CONCURRENCYLIMIT=3000
    28  set RPC_READ_TIMEOUT=30
    29  set RPC_WRITE_TIMEOUT=30
    30  set RPC_IDLE_TIMEOUT=120
    31  set RPC_EXECUTION_TIMEOUT=30
    32  
    33  REM ws options setting
    34  set WS_ENABLE=1 &:: if this is set, the following options will be used
    35  set WS_API="klay" &:: available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    36  set WS_ADDR="0.0.0.0"
    37  set WS_PORT=8552
    38  set WS_ORIGINS="*"
    39  
    40  REM service chain options setting
    41  set SC_BRIDGE=0 &:: if this is set, the following options will be used.
    42  set SC_BRIDGE_PORT=50505
    43  set SC_INDEXING=1
    44  
    45  REM Setting 1 is to enable options, otherwise disabled.
    46  set METRICS=1
    47  set PROMETHEUS=1
    48  set NO_DISCOVER=1
    49  set DB_NO_PARALLEL_WRITE=0
    50  set MULTICHANNEL=1
    51  
    52  REM Raw options e.g) "--txpool.nolocals"
    53  set ADDITIONAL=""
    54  
    55  set KLAY_HOME=%homepath%\.ken
    56  
    57  set DATA_DIR=%KLAY_HOME%\data