Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "near.dnp.dappnode.eth",
"version": "0.1.9",
"upstreamVersion": "2.10.0",
"upstreamVersion": "2.10.1",
"upstreamRepo": "near/nearcore",
"upstreamArg": "UPSTREAM_VERSION",
"shortDescription": "Reimagine your world.",
Expand Down Expand Up @@ -45,4 +45,4 @@
}
],
"license": "GPL-3.0"
}
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
context: neard_image
args:
UPSTREAM_VERSION: 2.10.0
UPSTREAM_VERSION: 2.10.1
volumes:
- near:/srv/near
restart: unless-stopped
Expand Down
8 changes: 4 additions & 4 deletions neard_image/start_near.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ else
fi
fi


if [ "$FETCH_BOOT_NODES" = "true" ]; then
BOOT_NODES=$(curl -X POST https://rpc.${CHAIN_ID}.near.org \ -H "Content-Type: application/json" \
BOOT_NODES=$(curl -X POST https://rpc.${CHAIN_ID}.near.org \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "network_info",
Expand All @@ -52,6 +52,6 @@ ulimit -c unlimited
echo "Telemetry: ${TELEMETRY_URL}"
echo "Bootnodes: ${BOOT_NODES}"

exec timeout -s SIGINT 900 neard ping --chain-id ${CHAIN_ID} --peer ed25519:E53qRwScBwN3WH9Pc5rVyZxDVHt3KcF9fMD1q6YjMtNQ@144.76.111.43:24567 --protocol-version 76 --latencies-csv-file $NEAR_HOME/latencieslogs.csv &
timeout -s SIGINT 900 neard ping --chain-id ${CHAIN_ID} --peer ed25519:E53qRwScBwN3WH9Pc5rVyZxDVHt3KcF9fMD1q6YjMtNQ@144.76.111.43:24567 --protocol-version 82 --latencies-csv-file $NEAR_HOME/latencieslogs.csv &

exec neard "$NEARD_FLAGS" run ${TELEMETRY_URL:+--telemetry-url="$TELEMETRY_URL"} ${BOOT_NODES:+--boot-nodes="$BOOT_NODES"} "$@"
exec neard "$NEARD_FLAGS" run ${TELEMETRY_URL:+--telemetry-url="$TELEMETRY_URL"} ${BOOT_NODES:+--boot-nodes="$BOOT_NODES"} "$@"