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

     1  # Configuration file for the kend
     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=10
    14  
    15  # txpool options setting
    16  TXPOOL_EXEC_SLOTS_ALL=4096
    17  TXPOOL_NONEXEC_SLOTS_ALL=4096
    18  TXPOOL_EXEC_SLOTS_ACCOUNT=4096
    19  TXPOOL_NONEXEC_SLOTS_ACCOUNT=4096
    20  TXPOOL_LIFE_TIME="30m"
    21  
    22  # rpc options setting
    23  RPC_ENABLE=1 # if this is set, the following options will be used
    24  RPC_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    25  RPC_PORT=8551
    26  RPC_ADDR="0.0.0.0"
    27  RPC_CORSDOMAIN="*"
    28  RPC_VHOSTS="*"
    29  # below options are related with http server
    30  RPC_CONCURRENCYLIMIT=3000
    31  RPC_READ_TIMEOUT=30
    32  RPC_WRITE_TIMEOUT=30
    33  RPC_IDLE_TIMEOUT=120
    34  RPC_EXECUTION_TIMEOUT=30
    35  
    36  # ws options setting
    37  WS_ENABLE=1 # if this is set, the following options will be used
    38  WS_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    39  WS_ADDR="0.0.0.0"
    40  WS_PORT=8552
    41  WS_ORIGINS="*"
    42  
    43  # service chain options setting
    44  SC_MAIN_BRIDGE=0 # if this is set, the following options will be used.
    45  SC_MAIN_BRIDGE_PORT=50505
    46  SC_MAIN_BRIDGE_INDEXING=0  # this option will be deprecated.
    47  
    48  # Setting 1 is to enable options, otherwise disabled.
    49  AUTO_RESTART=0
    50  METRICS=1
    51  PROMETHEUS=1
    52  DB_NO_PARALLEL_WRITE=0
    53  MULTICHANNEL=1
    54  SUBPORT=$((PORT + 1)) # used for multi channel option
    55  
    56  # discover options
    57  NO_DISCOVER=0 # setting 1 to disable discovery
    58  BOOTNODES=""
    59  
    60  # log rotation related options
    61  LOG_ROTATE=0 # setting 1 to enable the log rotation related options
    62  LOG_MAXSIZE=100 # the unit is MB
    63  LOG_MAXBACKUPS=10
    64  LOG_MAXAGE=30 # maximum number of days to retain a log file
    65  LOG_COMPRESS=1 # setting 1 to compress the backup logs in gz format
    66  
    67  # Raw options e.g) "--txpool.nolocals"
    68  ADDITIONAL=""
    69  
    70  # auto restart options
    71  AUTO_RESTART_NODE=0
    72  AUTO_RESTART_INTERVAL=0.1
    73  
    74  DATA_DIR=
    75  LOG_DIR=$DATA_DIR/logs