Skip to content

Commit

Permalink
Feat: Use main loop delay in start script and set node201 to 14000
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw committed Dec 12, 2023
1 parent 93e447b commit d430e16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ do
# prepare run-time variables
UTXOS_LIMIT=500
ELECTRUM_TXS_LIMIT=500
MAIN_LOOP_DELAY=500
DAEMON_CONF="${HOME}/${DAEMON}.conf"
HTTP_SOCKET_FILE="${HOME}/socket/esplora-${DAEMON}-${NETWORK}"
RPC_SOCKET_FILE="${HOME}/socket/electrum-${DAEMON}-${NETWORK}"
Expand All @@ -90,6 +91,7 @@ do
if [ "${NODENAME}" = "node201" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
MAIN_LOOP_DELAY=14000
fi

# Run the popular address txt file generator before each run
Expand Down Expand Up @@ -127,6 +129,7 @@ do
--network "${NETWORK}" \
--daemon-dir "${HOME}" \
--db-dir "${DB_FOLDER}" \
--main-loop-delay "${MAIN_LOOP_DELAY}" \
--rpc-socket-file "${RPC_SOCKET_FILE}" \
--http-socket-file "${HTTP_SOCKET_FILE}" \
--precache-scripts "${POPULAR_SCRIPTS_FILE}" \
Expand Down

0 comments on commit d430e16

Please sign in to comment.