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
1 change: 1 addition & 0 deletions docs/story-protocol/sync/addrbook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +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',
];

export let home = 'story/story';
Expand Down
7 changes: 6 additions & 1 deletion docs/story-protocol/sync/peers-seeds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
}
];

<SelectPaste2 items={seedItems} tip="Choose a seed node from the list to view its connection information." />
<SelectPaste2 items={seedItems} tip="Choose a seed node from the list to view its connection information." />
50 changes: 50 additions & 0 deletions docs/story-protocol/sync/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,56 @@ 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\n
# Disable State Sync
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
# 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\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\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\n
# 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\n
# Disable State Sync
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
# 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\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\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\n
# Restart Services and Check Logs
sudo systemctl restart story-geth
sudo systemctl restart story
sudo journalctl -u story-geth -u story -f -o cat`
},
];

<SelectPaste2 items={items} tip="Select a snapshot from the list to view the relevant configuration commands." />
Loading