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

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