Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update agent name #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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 nodeos/config/config.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
agent-name = "WAX Mainnet Public Node"

# Override default WASM runtime (eosio::chain_plugin)
wasm-runtime = eos-vm-jit

Expand Down Expand Up @@ -55,8 +57,6 @@ p2p-peer-address = p2p.waxeastern.cn:9876
p2p-peer-address = wax-seed.eosiomadrid.io:9876
p2p-peer-address = p2p.waxsweden.org:35777

agent-name = "WAX Public Node"

# enable p2p port
p2p-listen-endpoint = 0.0.0.0:9876

Expand Down
3 changes: 1 addition & 2 deletions shipnodeos/config/config.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
agent-name = "WAX Mainnet Public Node"
# Override default WASM runtime (eosio::chain_plugin)
wasm-runtime = eos-vm-jit

Expand Down Expand Up @@ -58,8 +59,6 @@ p2p-peer-address = p2p.waxeastern.cn:9876
p2p-peer-address = wax-seed.eosiomadrid.io:9876
p2p-peer-address = p2p.waxsweden.org:35777

agent-name = "WAX Public Node"

# enable p2p port
p2p-listen-endpoint = 0.0.0.0:9876

Expand Down
4 changes: 2 additions & 2 deletions snapshotnodeos/config/config-snapshot.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
agent-name = "WAX Mainnet Public Node from Snapshot"

# Override default WASM runtime (eosio::chain_plugin)
wasm-runtime = eos-vm-jit

Expand All @@ -22,8 +24,6 @@ access-control-allow-origin = *
# Specify the Access-Control-Allow-Headers to be returned on each request. (eosio::http_plugin)
access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept

agent-name = "WAX Snapshot Node"

# enable p2p port
p2p-listen-endpoint = 0.0.0.0:9876

Expand Down
4 changes: 2 additions & 2 deletions snapshotnodeos/config/config.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
agent-name = "WAX Mainnet Public Node"

# Override default WASM runtime (eosio::chain_plugin)
wasm-runtime = eos-vm-jit

Expand Down Expand Up @@ -55,8 +57,6 @@ p2p-peer-address = p2p.waxeastern.cn:9876
p2p-peer-address = wax-seed.eosiomadrid.io:9876
p2p-peer-address = p2p.waxsweden.org:35777

agent-name = "WAX Public Node"

# enable p2p port
p2p-listen-endpoint = 0.0.0.0:9876

Expand Down
6 changes: 3 additions & 3 deletions start-snapshot.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

WAX_VERSION=v3.1.5wax01
WAX_VERSION=v5.0.3wax02

SYNC_TO_BLOCK_HEIGHT=291445188
SNAPSHOT_URL=""
Expand All @@ -16,8 +16,8 @@ function start_api_nodeos_from_snapshot {
rm *.bin
rm *.zst
wget $SNAPSHOT_URL
unzstd *.zst
rm *.zst
tar -xvzf latest
rm latest
TGZ_FILES=( *.bin )
SNAPSHOT="${TGZ_FILES[0]}"

Expand Down
10 changes: 5 additions & 5 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

WAX_VERSION=v3.1.5wax01
WAX_VERSION=v5.0.3wax02

START_FROM_SNAPSHOT=true
ENABLE_SHIP_NODE=false
Expand All @@ -10,16 +10,16 @@ NODEOS_HOME=/root/.local/share/eosio/nodeos
# WAX data folder root on the host running this docker image
HOST_WAX_HOME=${HOST_WAX_HOME:-`pwd`}

MAINNET_SNAPHOT=https://eph-snapshots.waxpub.net/wax/
FILE_NAME=latest.bin.zst
MAINNET_SNAPHOT=https://snapshots-cdn.eossweden.org/wax/5.x/
FILE_NAME=latest

function start_api_nodeos_from_snapshot {
mkdir -p $HOST_WAX_HOME/nodeos/data/
cd $HOST_WAX_HOME/nodeos/data/
rm *.bin
rm $FILE_NAME
wget $MAINNET_SNAPHOT$FILE_NAME
unzstd $FILE_NAME
tar -xvzf $FILE_NAME
rm $FILE_NAME
TGZ_FILES=( *.bin )
SNAPSHOT="${TGZ_FILES[0]}"
Expand Down Expand Up @@ -49,7 +49,7 @@ function start_ship_nodeos_from_snapshot {
rm *.bin
rm $FILE_NAME
wget $MAINNET_SNAPHOT$FILE_NAME
unzstd $FILE_NAME
tar -xvzf $FILE_NAME
rm $FILE_NAME
TGZ_FILES=( *.bin )
SNAPSHOT="${TGZ_FILES[0]}"
Expand Down