github.com/klaytn/klaytn@v1.12.1/build/packaging/linux/conf/kscnd.conf (about) 1 # Configuration file for the kscnd 2 3 SCSIGNER= 4 SCSIGNER_PASSWD_FILE= # Need to right password file for the keystore file of the scsigner 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 REWARDBASE="" 14 15 # txpool options setting 16 TXPOOL_EXEC_SLOTS_ALL=16384 17 TXPOOL_NONEXEC_SLOTS_ALL=16384 18 TXPOOL_EXEC_SLOTS_ACCOUNT=16384 19 TXPOOL_NONEXEC_SLOTS_ACCOUNT=16384 20 TXPOOL_LIFE_TIME="5m" 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,subbridge" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3,governance,mainbridge,subbridge 25 RPC_PORT=8551 # if main-bridge and sub-bridge on same instance, use different port with main-bridge.(main: 8551, sub:7551) 26 RPC_ADDR="0.0.0.0" 27 RPC_CORSDOMAIN="*" 28 RPC_VHOSTS="*" 29 30 # ws options setting 31 WS_ENABLE=1 # if this is set, the following options will be used 32 WS_API="klay,eth,net,web3" # available apis: admin,debug,klay,eth,miner,net,personal,rpc,txpool,web3,governance 33 WS_ADDR="0.0.0.0" 34 WS_PORT=8552 # if main-bridge and sub-bridge on same instance, use different port with main-bridge.(main: 8552, sub:7552) 35 WS_ORIGINS="*" 36 37 # service chain options setting 38 SC_MAIN_BRIDGE=0 # if this is set, the following options will be used. 39 SC_MAIN_BRIDGE_PORT=50505 40 SC_MAIN_BRIDGE_INDEXING=0 41 42 SC_SUB_BRIDGE=0 43 SC_SUB_BRIDGE_PORT=50506 # if main-bridge and sub-bridge on same instance, use different port with main-bridge.(main: 50505, sub:50506) 44 SC_PARENT_CHAIN_ID=8217 45 46 SC_ANCHORING=0 47 SC_ANCHORING_PERIOD=1 48 SC_TX_LIMIT=1000 49 SC_PARENT_OPERATOR_GASLIMIT=10000000 50 SC_CHILD_OPERATOR_GASLIMIT=10000000 51 52 SC_VTRECOVERY=1 # value transfer recovery activation 53 SC_VTRECOVERY_INTERVAL=5 # recovery interval 54 55 SC_KAS_ANCHOR=0 56 SC_KAS_ANCHOR_PERIOD=1 57 SC_KAS_ANCHOR_URL="" 58 SC_KAS_ANCHOR_OPERATOR="" 59 SC_KAS_ANCHOR_ACCESS_KEY="" 60 SC_KAS_ANCHOR_SECRET_KEY="" 61 SC_KAS_ANCHOR_X_CHAIN_ID=8217 62 SC_KAS_ANCHOR_REQUEST_TIMEOUT="500ms" 63 64 # Setting 1 is to enable options, otherwise disabled. 65 AUTO_RESTART=1 66 METRICS=1 67 PROMETHEUS=1 68 NO_DISCOVER=1 69 DB_NO_PARALLEL_WRITE=0 70 MULTICHANNEL=1 71 SUBPORT=$((PORT + 1)) # used for multi channel option 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="" 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