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

     1  # Configuration file for the kspnd
     2  
     3  # if you specify NETWORK_ID, a private network is created.
     4  NETWORK_ID=3000
     5  
     6  PORT=32323
     7  
     8  SERVER_TYPE=http
     9  SYNCMODE=full
    10  VERBOSITY=3
    11  MAXCONNECTIONS=200
    12  # LDBCACHESIZE=10240
    13  
    14  # txpool options setting
    15  TXPOOL_EXEC_SLOTS_ALL=8192
    16  TXPOOL_NONEXEC_SLOTS_ALL=8192
    17  TXPOOL_EXEC_SLOTS_ACCOUNT=8192
    18  TXPOOL_NONEXEC_SLOTS_ACCOUNT=8192
    19  TXPOOL_LIFE_TIME="5m"
    20  
    21  # rpc options setting
    22  RPC_ENABLE=0 # if this is set, the following options will be used
    23  RPC_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    24  RPC_PORT=8551
    25  RPC_ADDR="0.0.0.0"
    26  RPC_CORSDOMAIN="*"
    27  RPC_VHOSTS="*"
    28  
    29  # ws options setting
    30  WS_ENABLE=0 # if this is set, the following options will be used
    31  WS_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3
    32  WS_ADDR="0.0.0.0"
    33  WS_PORT=8552
    34  WS_ORIGINS="*"
    35  
    36  # service chain options setting
    37  SC_MAIN_BRIDGE=0 # if this is set, the following options will be used.
    38  SC_MAIN_BRIDGE_PORT=50505
    39  SC_MAIN_BRIDGE_INDEXING=0
    40  
    41  SC_SUB_BRIDGE=0
    42  SC_SUB_BRIDGE_PORT=50506  # if main-bridge and sub-bridge on same instance, use different port with main-bridge.(main: 50505, sub:50506)
    43  SC_PARENT_CHAIN_ID=8217
    44  
    45  SC_ANCHORING=0
    46  SC_ANCHORING_PERIOD=1
    47  SC_TX_LIMIT=1000
    48  
    49  SC_VTRECOVERY=1 # value trasnfer recovery activation
    50  SC_VTRECOVERY_INTERVAL=5 # recovery interval
    51  
    52  SC_KAS_ANCHOR=0
    53  SC_KAS_ANCHOR_PERIOD=1
    54  SC_KAS_ANCHOR_URL=""
    55  SC_KAS_ANCHOR_OPERATOR=""
    56  SC_KAS_ANCHOR_ACCESS_KEY=""
    57  SC_KAS_ANCHOR_SECRET_KEY=""
    58  SC_KAS_ANCHOR_X_CHAIN_ID=8217
    59  SC_KAS_ANCHOR_REQUEST_TIMEOUT="500ms"
    60  
    61  # Setting 1 is to enable options, otherwise disabled.
    62  AUTO_RESTART=0
    63  METRICS=1
    64  PROMETHEUS=1
    65  DB_NO_PARALLEL_WRITE=0
    66  MULTICHANNEL=1
    67  SUBPORT=$((PORT + 1)) # used for multi channel option
    68  
    69  # discover options
    70  NO_DISCOVER=0 # setting 1 to disable discovery
    71  BOOTNODES=""
    72  
    73  # log rotation related options
    74  LOG_ROTATE=0 # setting 1 to enable the log rotation related options
    75  LOG_MAXSIZE=100 # the unit is MB
    76  LOG_MAXBACKUPS=10
    77  LOG_MAXAGE=30 # maximum number of days to retain a log file
    78  LOG_COMPRESS=1 # setting 1 to compress the backup logs in gz format
    79  
    80  # Raw options e.g) "--txpool.nolocals"
    81  ADDITIONAL="--txpool.nolocals"
    82  
    83  # auto restart options
    84  AUTO_RESTART_NODE=0
    85  AUTO_RESTART_INTERVAL=0.1
    86  
    87  DATA_DIR=
    88  LOG_DIR=$DATA_DIR/logs