Skip to content
Merged
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
61 changes: 33 additions & 28 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,8 @@
{
"name": "near.dnp.dappnode.eth",
"version": "0.1.17",
"upstreamVersion": "2.12.0",
"upstreamRepo": "near/nearcore",
"upstreamArg": "UPSTREAM_VERSION",
"shortDescription": "Reimagine your world.",
"description": "Through simple, secure, and scalable technology, NEAR empowers millions to invent and explore new experiences. Business, creativity, and community are being reimagined for a more sustainable and inclusive future.",
"type": "service",
"mainService": "near",
"author": "eduadiez <eduadiez@gmail.com> (https://github.com/eduadiez)",
"contributors": [
"mgarciate <mgarciate@gmail.com> (https://github.com/mgarciate)",
"Voss <voss@visnovalabs.io> (https://github.com/alexpeterson91)"
"architectures": [
"linux/amd64"
],
"categories": ["Blockchain", "Developer tools"],
"architectures": ["linux/amd64"],
"links": {
"homepage": "https://near.org",
"api": "http://near.dappnode:3030",
"Wallet": "http://wallet.near.dappnode"
},
"repository": {
"type": "git",
"url": "https://github.com/dappnode/DAppNodePackage-NEAR.git"
},
"bugs": {
"url": "https://github.com/dappnode/DAppNodePackage-NEAR/issues"
},
"author": "eduadiez <eduadiez@gmail.com> (https://github.com/eduadiez)",
"backup": [
{
"name": "config",
Expand All @@ -44,5 +20,34 @@
"service": "near"
}
],
"license": "GPL-3.0"
"bugs": {
"url": "https://github.com/dappnode/DAppNodePackage-NEAR/issues"
},
"categories": [
"Blockchain",
"Developer tools"
],
"contributors": [
"mgarciate <mgarciate@gmail.com> (https://github.com/mgarciate)",
"Voss <voss@visnovalabs.io> (https://github.com/alexpeterson91)"
],
"description": "Through simple, secure, and scalable technology, NEAR empowers millions to invent and explore new experiences. Business, creativity, and community are being reimagined for a more sustainable and inclusive future.",
"license": "GPL-3.0",
"links": {
"Wallet": "http://wallet.near.dappnode",
"api": "http://near.dappnode:3030",
"homepage": "https://near.org"
},
"mainService": "near",
"name": "near.dnp.dappnode.eth",
"repository": {
"type": "git",
"url": "https://github.com/dappnode/DAppNodePackage-NEAR.git"
},
"shortDescription": "Reimagine your world.",
"type": "service",
"upstreamArg": "UPSTREAM_VERSION",
"upstreamRepo": "near/nearcore",
"upstreamVersion": "2.13.0",
"version": "0.1.18"
}
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.12.0
UPSTREAM_VERSION: 2.13.0
volumes:
- near:/srv/near
restart: unless-stopped
Expand Down
6 changes: 6 additions & 0 deletions neard_image/start_near.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ else
fi


if [ -f "$NEAR_HOME/config.json" ]; then
echo "Removing state_sync.sync block from config.json"
jq 'del(.state_sync.sync)' "$NEAR_HOME/config.json" > "$NEAR_HOME/config.json.tmp" \
&& mv "$NEAR_HOME/config.json.tmp" "$NEAR_HOME/config.json"
fi

if [ "$FETCH_BOOT_NODES" = "true" ]; then
BOOT_NODES=$(curl -X POST https://rpc.${CHAIN_ID}.near.org \ -H "Content-Type: application/json" \
-d '{
Expand Down
Loading