github.com/klaytn/klaytn@v1.12.1/build/rpm/etc/kscnd/conf/kscnd.conf (about) 1 # Configuration file for the kscnd 2 3 SCSIGNER= 4 SCSIGNER_PASSWD_FILE="/etc/kscnd/conf/kscnd.password" # Need to right password file for the keystore file of the service chain signer address 5 6 NETWORK_ID=3000 7 8 PORT=22323 # if EN(main-bridge) and SCN(sub-bridge) on same instance, use different port with EN.(EN: 32323, SCN:22323) 9 10 SERVER_TYPE="http" 11 SYNCMODE="full" 12 VERBOSITY=3 13 14 # txpool options setting 15 TXPOOL_EXEC_SLOTS_ALL=16384 16 TXPOOL_NONEXEC_SLOTS_ALL=16384 17 TXPOOL_EXEC_SLOTS_ACCOUNT=16384 18 TXPOOL_NONEXEC_SLOTS_ACCOUNT=16384 19 TXPOOL_LIFE_TIME="5m" 20 21 # rpc options setting 22 RPC_ENABLE=1 # if this is set, the following options will be used 23 RPC_API="klay,eth,net,web3,subbridge" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3,governance,mainbridge,subbridge 24 RPC_PORT=7551 # if main-bridge and sub-bridge on same instance, use different port with main-bridge.(main: 8551, sub:7551) 25 RPC_ADDR="0.0.0.0" 26 RPC_CORSDOMAIN="*" 27 RPC_VHOSTS="*" 28 29 # ws options setting 30 WS_ENABLE=1 # 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,governance 32 WS_ADDR="0.0.0.0" 33 WS_PORT=7552 # if main-bridge and sub-bridge on same instance, use different port with main-bridge.(main: 8552, sub:7552) 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 SC_PARENT_OPERATOR_GASLIMIT=10000000 49 SC_CHILD_OPERATOR_GASLIMIT=10000000 50 51 SC_VTRECOVERY=1 # value trasnfer recovery activation 52 SC_VTRECOVERY_INTERVAL=5 # recovery interval 53 54 SC_KAS_ANCHOR=0 55 SC_KAS_ANCHOR_PERIOD=1 56 SC_KAS_ANCHOR_URL="" 57 SC_KAS_ANCHOR_OPERATOR="" 58 SC_KAS_ANCHOR_ACCESS_KEY="" 59 SC_KAS_ANCHOR_SECRET_KEY="" 60 SC_KAS_ANCHOR_X_CHAIN_ID=8217 61 SC_KAS_ANCHOR_REQUEST_TIMEOUT="500ms" 62 63 # Setting 1 is to enable options, otherwise disabled. 64 AUTO_RESTART=1 65 METRICS=1 66 PROMETHEUS=1 67 NO_DISCOVER=1 68 DB_NO_PARALLEL_WRITE=0 69 MULTICHANNEL=1 70 SUBPORT=$((PORT + 1)) # used for multi channel option 71 72 # log rotation related options 73 LOG_ROTATE=0 # setting 1 to enable the log rotation related options 74 LOG_MAXSIZE=100 # the unit is MB 75 LOG_MAXBACKUPS=10 76 LOG_MAXAGE=30 # maximum number of days to retain a log file 77 LOG_COMPRESS=1 # setting 1 to compress the backup logs in gz format 78 79 # Raw options e.g) "--txpool.nolocals" 80 ADDITIONAL="" 81 82 # auto restart options 83 AUTO_RESTART_NODE=0 84 AUTO_RESTART_INTERVAL=0.1 85 86 DATA_DIR= 87 LOG_DIR=$DATA_DIR/logs