From 76d9f1085c0157f46504ebc8c9110b78029a0876 Mon Sep 17 00:00:00 2001 From: doodleoo <106701127+doodleoo3@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:00:22 +0300 Subject: [PATCH 1/7] Update addrbook.mdx --- docs/story-protocol/sync/addrbook.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/story-protocol/sync/addrbook.mdx b/docs/story-protocol/sync/addrbook.mdx index fbbe17e..793a36a 100644 --- a/docs/story-protocol/sync/addrbook.mdx +++ b/docs/story-protocol/sync/addrbook.mdx @@ -23,6 +23,8 @@ export let endpoints = [ 'https://support.synergynodes.com/addrbook/story_testnet/addrbook.json', 'https://story-testnet-snapshot.openbitlab.com/addrbook.json', 'https://orang3club.tech/addrbook.json', + 'https://download.dteam.tech/story/testnet/addrbook' + ]; export let home = 'story/story'; From d7890f496436bd9fcd541c6effb6ddbaba42ca10 Mon Sep 17 00:00:00 2001 From: doodleoo <106701127+doodleoo3@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:01:50 +0300 Subject: [PATCH 2/7] Update peers-seeds.mdx --- docs/story-protocol/sync/peers-seeds.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/story-protocol/sync/peers-seeds.mdx b/docs/story-protocol/sync/peers-seeds.mdx index f220481..4e7da45 100644 --- a/docs/story-protocol/sync/peers-seeds.mdx +++ b/docs/story-protocol/sync/peers-seeds.mdx @@ -45,6 +45,11 @@ export let seedItems = [ `75ac7b193e93e928d6c83c273397517cb60603c0@b1.odyssey-testnet.storyrpc.io:26656 6abdb1e974d6bb1c353aabbc7abef72c81e536f5@b2.odyssey-testnet.storyrpc.io:26656` }, + { + name: "DTEAM", + text: +`6fc1491d5b8b859c1fafbe129fe4c0f842836a79@seed.story.testnet.dteam.tech:32656` + } ]; - \ No newline at end of file + From f1d8c21404e16174be89a87929ac6e1905e66f54 Mon Sep 17 00:00:00 2001 From: doodleoo <106701127+doodleoo3@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:10:33 +0300 Subject: [PATCH 3/7] Update snapshot.md --- docs/story-protocol/sync/snapshot.md | 62 ++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/docs/story-protocol/sync/snapshot.md b/docs/story-protocol/sync/snapshot.md index 715dea2..0434139 100644 --- a/docs/story-protocol/sync/snapshot.md +++ b/docs/story-protocol/sync/snapshot.md @@ -481,6 +481,68 @@ sudo cp $HOME/.story/priv_validator_state.json.backup $HOME/.story/story/data/pr sudo systemctl start story sudo systemctl start story-geth` }, + { + name: "DTEAM: pruned snapshots, updated every 4 hours", + text: +`# Install Dependencies +sudo apt update +sudo apt-get install snapd lz4 -y + +# Disable State Sync +sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml + +# Stop Geth Node and Reset Data +sudo systemctl stop story-geth +rm -rf $HOME/.story/geth/odyssey/geth/chaindata + +# Stop Consensus Node and Reset Data +sudo systemctl stop story +cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup +rm -rf $HOME/.story/story/data + +# Download Pruned Geth Snapshot +curl -o - -L https://download.dteam.tech/story/testnet/latest-geth-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth + +# Download Pruned Consensus Snapshot +curl -o - -L https://download.dteam.tech/story/testnet/latest-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/story +mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json + +# Restart Services and Check Logs +sudo systemctl restart story-geth +sudo systemctl restart story +sudo journalctl -u story-geth -u story -f -o cat` + }, + { + name: "DTEAM: archive snapshots, updated every 24 hours", + text: +`# Install Dependencies +sudo apt update +sudo apt-get install snapd lz4 -y + +# Disable State Sync +sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml + +# Stop Geth Node and Reset Data +sudo systemctl stop story-geth +rm -rf $HOME/.story/geth/odyssey/geth/chaindata + +# Stop Consensus Node and Reset Data +sudo systemctl stop story +cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup +rm -rf $HOME/.story/story/data + +# Download Archive Geth Snapshot +curl -o - -L https://download.dteam.tech/story/testnet/latest-geth-archive-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth + +# Download Archive Consensus Snapshot +curl -o - -L https://download.dteam.tech/story/testnet/latest-archive-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/story +mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json + +# Restart Services and Check Logs +sudo systemctl restart story-geth +sudo systemctl restart story +sudo journalctl -u story-geth -u story -f -o cat` + }, ]; From 77f0c83f9a7f38e03bdefda9d5d26ea5a2fc92ec Mon Sep 17 00:00:00 2001 From: doodleoo <106701127+doodleoo3@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:16:00 +0300 Subject: [PATCH 4/7] Update addrbook.mdx --- docs/story-protocol/sync/addrbook.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/story-protocol/sync/addrbook.mdx b/docs/story-protocol/sync/addrbook.mdx index 793a36a..9e241dd 100644 --- a/docs/story-protocol/sync/addrbook.mdx +++ b/docs/story-protocol/sync/addrbook.mdx @@ -24,7 +24,6 @@ export let endpoints = [ 'https://story-testnet-snapshot.openbitlab.com/addrbook.json', 'https://orang3club.tech/addrbook.json', 'https://download.dteam.tech/story/testnet/addrbook' - ]; export let home = 'story/story'; From 00a658015f5f7c6e7dc26e0f70624fc98fac9e9b Mon Sep 17 00:00:00 2001 From: RedWest <71982739+redwest88@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:27:58 +0100 Subject: [PATCH 5/7] update addrbook.mdx --- docs/story-protocol/sync/addrbook.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/story-protocol/sync/addrbook.mdx b/docs/story-protocol/sync/addrbook.mdx index 9e241dd..e1770fe 100644 --- a/docs/story-protocol/sync/addrbook.mdx +++ b/docs/story-protocol/sync/addrbook.mdx @@ -23,7 +23,7 @@ export let endpoints = [ 'https://support.synergynodes.com/addrbook/story_testnet/addrbook.json', 'https://story-testnet-snapshot.openbitlab.com/addrbook.json', 'https://orang3club.tech/addrbook.json', - 'https://download.dteam.tech/story/testnet/addrbook' + 'https://download.dteam.tech/story/testnet/addrbook', ]; export let home = 'story/story'; From 8a0e6bef796c7558170f6b424314ad3c9026288a Mon Sep 17 00:00:00 2001 From: RedWest <71982739+redwest88@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:37:44 +0100 Subject: [PATCH 6/7] update snapshot.md --- docs/story-protocol/sync/snapshot.md | 36 ++++++++++------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/docs/story-protocol/sync/snapshot.md b/docs/story-protocol/sync/snapshot.md index 0434139..c8965ee 100644 --- a/docs/story-protocol/sync/snapshot.md +++ b/docs/story-protocol/sync/snapshot.md @@ -486,27 +486,21 @@ sudo systemctl start story-geth` text: `# Install Dependencies sudo apt update -sudo apt-get install snapd lz4 -y - +sudo apt-get install snapd lz4 -y\n # Disable State Sync -sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml - +sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml\n # Stop Geth Node and Reset Data sudo systemctl stop story-geth -rm -rf $HOME/.story/geth/odyssey/geth/chaindata - +rm -rf $HOME/.story/geth/odyssey/geth/chaindata\n # Stop Consensus Node and Reset Data sudo systemctl stop story cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup -rm -rf $HOME/.story/story/data - +rm -rf $HOME/.story/story/data\n # Download Pruned Geth Snapshot -curl -o - -L https://download.dteam.tech/story/testnet/latest-geth-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth - +curl -o - -L https://download.dteam.tech/story/testnet/latest-geth-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth\n # Download Pruned Consensus Snapshot curl -o - -L https://download.dteam.tech/story/testnet/latest-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/story -mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json - +mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json\n # Restart Services and Check Logs sudo systemctl restart story-geth sudo systemctl restart story @@ -517,27 +511,21 @@ sudo journalctl -u story-geth -u story -f -o cat` text: `# Install Dependencies sudo apt update -sudo apt-get install snapd lz4 -y - +sudo apt-get install snapd lz4 -y\n # Disable State Sync -sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml - +sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml\n # Stop Geth Node and Reset Data sudo systemctl stop story-geth -rm -rf $HOME/.story/geth/odyssey/geth/chaindata - +rm -rf $HOME/.story/geth/odyssey/geth/chaindata\n # Stop Consensus Node and Reset Data sudo systemctl stop story cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup -rm -rf $HOME/.story/story/data - +rm -rf $HOME/.story/story/data\n # Download Archive Geth Snapshot -curl -o - -L https://download.dteam.tech/story/testnet/latest-geth-archive-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth - +curl -o - -L https://download.dteam.tech/story/testnet/latest-geth-archive-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/geth/odyssey/geth\n # Download Archive Consensus Snapshot curl -o - -L https://download.dteam.tech/story/testnet/latest-archive-snapshot | lz4 -c -d - | tar -x -C $HOME/.story/story -mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json - +mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json\n # Restart Services and Check Logs sudo systemctl restart story-geth sudo systemctl restart story From f18cb441cb55699bdecaf6e353d13160d778846d Mon Sep 17 00:00:00 2001 From: RedWest <71982739+redwest88@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:26:48 +0100 Subject: [PATCH 7/7] update snapshot.md --- docs/story-protocol/sync/snapshot.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/story-protocol/sync/snapshot.md b/docs/story-protocol/sync/snapshot.md index c8965ee..893eaec 100644 --- a/docs/story-protocol/sync/snapshot.md +++ b/docs/story-protocol/sync/snapshot.md @@ -488,7 +488,7 @@ sudo systemctl start story-geth` sudo apt update sudo apt-get install snapd lz4 -y\n # Disable State Sync -sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml\n +sed -i -e "s|^enable *=.*|enable = false|" $HOME/.story/story/config/config.toml\n # Stop Geth Node and Reset Data sudo systemctl stop story-geth rm -rf $HOME/.story/geth/odyssey/geth/chaindata\n @@ -513,7 +513,7 @@ sudo journalctl -u story-geth -u story -f -o cat` sudo apt update sudo apt-get install snapd lz4 -y\n # Disable State Sync -sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.story/story/config/config.toml\n +sed -i -e "s|^enable *=.*|enable = false|" $HOME/.story/story/config/config.toml\n # Stop Geth Node and Reset Data sudo systemctl stop story-geth rm -rf $HOME/.story/geth/odyssey/geth/chaindata\n