root@WowmaxNodeZeta ~ # clear
root@WowmaxNodeZeta ~ # ls -al
total 48
drwx------ 7 root root 4096 May 28 20:19 .
drwxr-xr-x 20 root root 4096 May 10 18:00 ..
drwx------ 3 root root 4096 May 7 10:47 .ansible
-rw------- 1 root root 137 May 28 20:19 .bash_history
-rw-r--r-- 1 root root 3674 Apr 21 06:17 .bashrc
drwx------ 3 root root 4096 May 23 20:35 .cache
-rw-r--r-- 1 root root 0 Apr 21 06:17 .cloud-locale-test.skip
drwxr-xr-x 2 root root 4096 May 16 11:08 .docker
-rw------- 1 root root 20 May 28 20:18 .lesshst
drwxr-xr-x 3 root root 4096 May 10 18:00 .local
-rw-r--r-- 1 root root 161 Jul 9 2019 .profile
drwx------ 2 root root 4096 May 27 21:11 .ssh
-rw-r--r-- 1 root root 215 May 28 20:10 .wget-hsts
root@WowmaxNodeZeta ~ # zetacored version
14.0.1
root@WowmaxNodeZeta ~ # zetacored init wowmax --chain-id zetachain_7000-1
{"app_message":{"auth":{"accounts":[],"params":{"max_memo_characters":"256","sig_verify_cost_ed25519":"590","sig_verify_cost_secp256k1":"1000","tx_sig_limit":"7","tx_size_cost_per_byte":"10"}},"authz":{"authorization":[]},"bank":{"balances":[],"denom_metadata":[],"params":{"default_send_enabled":true,"send_enabled":[]}
,"supply":[]},"crisis":{"constant_fee":{"amount":"1000","denom":"stake"}},"crosschain":{"CrossChainTxs":[],"FinalizedInbounds":[],"gasPriceList":[],"inTxHashToCctxList":[],"in_tx_tracker_list":[],"lastBlockHeightList":[],"outTxTrackerList":[],"params":{"enabled":false},"zeta_accounting":{"aborted_zeta_amount":"0"}},"di
stribution":{"delegator_starting_infos":[],"delegator_withdraw_infos":[],"fee_pool":{"community_pool":[]},"outstanding_rewards":[],"params":{"base_proposer_reward":"0.010000000000000000","bonus_proposer_reward":"0.040000000000000000","community_tax":"0.020000000000000000","withdraw_addr_enabled":true},"previous_propose
r":"","validator_accumulated_commissions":[],"validator_current_rewards":[],"validator_historical_rewards":[],"validator_slash_events":[]},"emissions":{"params":{"avg_block_time":"6.00","duration_factor_constant":"0.001877876953694702","max_bond_factor":"1.25","min_bond_factor":"0.75","observer_emission_percentage":"00
.25","observer_slash_amount":"100000000000000000","target_bond_ratio":"00.67","tss_signer_emission_percentage":"00.25","validator_emission_percentage":"00.50"},"withdrawableEmissions":[]},"evidence":{"evidence":[]},"evm":{"accounts":[],"params":{"allow_unprotected_txs":false,"chain_config":{"arrow_glacier_block":"0","b
erlin_block":"0","byzantium_block":"0","cancun_block":"0","constantinople_block":"0","dao_fork_block":"0","dao_fork_support":true,"eip150_block":"0","eip150_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","eip155_block":"0","eip158_block":"0","gray_glacier_block":"0","homestead_block":"0","is
tanbul_block":"0","london_block":"0","merge_netsplit_block":"0","muir_glacier_block":"0","petersburg_block":"0","shanghai_block":"0"},"enable_call":true,"enable_create":true,"evm_denom":"aphoton","extra_eips":[]}},"feemarket":{"block_gas":"0","params":{"base_fee":"1000000000","base_fee_change_denominator":8,"elasticity
_multiplier":2,"enable_height":"0","min_gas_multiplier":"0.500000000000000000","min_gas_price":"0.000000000000000000","no_base_fee":false}},"fungible":{"foreignCoinsList":[],"params":{},"systemContract":null},"genutil":{"gen_txs":[]},"gov":{"deposit_params":{"max_deposit_period":"172800s","min_deposit":[{"amount":"1000
0000","denom":"stake"}]},"deposits":[],"proposals":[],"starting_proposal_id":"1","tally_params":{"quorum":"0.334000000000000000","threshold":"0.500000000000000000","veto_threshold":"0.334000000000000000"},"votes":[],"voting_params":{"voting_period":"172800s"}},"group":{"group_members":[],"group_policies":[],"group_poli
cy_seq":"0","group_seq":"0","groups":[],"proposal_seq":"0","proposals":[],"votes":[]},"observer":{"ballots":[],"blame_list":[],"chain_nonces":[],"chain_params_list":{"chain_params":[]},"crosschain_flags":{"blockHeaderVerificationFlags":null,"gasPriceIncreaseFlags":null,"isInboundEnabled":true,"isOutboundEnabled":true},
"keygen":null,"last_observer_count":null,"nodeAccountList":[],"nonce_to_cctx":[],"observers":{"observer_list":[]},"params":{"admin_policy":[{"address":"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73","policy_type":"group1"},{"address":"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73","p
olicy_type":"group2"}],"ballot_maturity_blocks":"100","observer_params":[{"ballot_threshold":"0.660000000000000000","chain":{"chain_id":"101","chain_name":"zeta_mainnet"},"is_supported":true,"min_observer_delegation":"1000000000000000000000.000000000000000000"},{"ballot_threshold":"0.660000000000000000","chain":{"chain
_id":"18444","chain_name":"btc_regtest"},"is_supported":true,"min_observer_delegation":"1000000000000000000000.000000000000000000"},{"ballot_threshold":"0.660000000000000000","chain":{"chain_id":"1337","chain_name":"goerli_localnet"},"is_supported":true,"min_observer_delegation":"1000000000000000000000.0000000000000000
00"}]},"pending_nonces":[],"tss":null,"tss_fund_migrators":[],"tss_history":[]},"params":null,"slashing":{"missed_blocks":[],"params":{"downtime_jail_duration":"600s","min_signed_per_window":"0.500000000000000000","signed_blocks_window":"100","slash_fraction_double_sign":"0.050000000000000000","slash_fraction_downtime"
:"0.010000000000000000"},"signing_infos":[]},"staking":{"delegations":[],"exported":false,"last_total_power":"0","last_validator_powers":[],"params":{"bond_denom":"stake","historical_entries":10000,"max_entries":7,"max_validators":100,"min_commission_rate":"0.000000000000000000","unbonding_time":"1814400s"},"redelegati
ons":[],"unbonding_delegations":[],"validators":[]},"upgrade":{},"vesting":{}},"chain_id":"zetachain_7000-1","gentxs_dir":"","moniker":"wowmax","node_id":"2148d19af4ac622220a8849d0a33d04abcb14b4d"}
root@WowmaxNodeZeta ~ # ls -al .zetacored/config/
total 64
drwxr-xr-x 2 root root 4096 May 28 20:23 .
drwxr-xr-x 4 root root 4096 May 28 20:23 ..
-rw-r--r-- 1 root root 12683 May 28 20:23 app.toml
-rw------- 1 root root 695 May 28 20:23 client.toml
-rw-r--r-- 1 root root 18607 May 28 20:23 config.toml
-rw-r--r-- 1 root root 7773 May 28 20:23 genesis.json
-rw------- 1 root root 148 May 28 20:23 node_key.json
-rw------- 1 root root 345 May 28 20:23 priv_validator_key.json
root@WowmaxNodeZeta ~ # wget https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/genesis.json -O ~/.zetacored/config/genesis.json
wget https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/client.toml -O ~/.zetacored/config/client.toml
wget https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/config.toml -O ~/.zetacored/config/config.toml
wget https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/app.toml -O ~/.zetacored/config/app.toml
--2024-05-28 20:24:17-- https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/genesis.json
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19242 (19K) [text/plain]
Saving to: ‘/root/.zetacored/config/genesis.json’
/root/.zetacored/config/genesis.json 100%[=======================================================================================================================================================================================================>] 18.79K --.-KB/s in 0s
2024-05-28 20:24:17 (144 MB/s) - ‘/root/.zetacored/config/genesis.json’ saved [19242/19242]
--2024-05-28 20:24:17-- https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/client.toml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8002::154, 2606:50c0:8003::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 125 [text/plain]
Saving to: ‘/root/.zetacored/config/client.toml’
/root/.zetacored/config/client.toml 100%[=======================================================================================================================================================================================================>] 125 --.-KB/s in 0s
2024-05-28 20:24:17 (7.99 MB/s) - ‘/root/.zetacored/config/client.toml’ saved [125/125]
--2024-05-28 20:24:17-- https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/config.toml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8002::154, 2606:50c0:8003::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3199 (3.1K) [text/plain]
Saving to: ‘/root/.zetacored/config/config.toml’
/root/.zetacored/config/config.toml 100%[=======================================================================================================================================================================================================>] 3.12K --.-KB/s in 0s
2024-05-28 20:24:18 (37.5 MB/s) - ‘/root/.zetacored/config/config.toml’ saved [3199/3199]
--2024-05-28 20:24:18-- https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/app.toml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1407 (1.4K) [text/plain]
Saving to: ‘/root/.zetacored/config/app.toml’
/root/.zetacored/config/app.toml 100%[=======================================================================================================================================================================================================>] 1.37K --.-KB/s in 0s
2024-05-28 20:24:18 (24.1 MB/s) - ‘/root/.zetacored/config/app.toml’ saved [1407/1407]
root@WowmaxNodeZeta ~ # curl -s http://35.224.53.42:26657/block | jq -r '.result.block.header.height'
3259277
root@WowmaxNodeZeta ~ # curl -s "http://35.224.53.42:26657/block?height=3219277" | jq -r '.result.block_id.hash'
6CEE185BA93FFEB65CF5A0C3DE08924502ECEB297BA33F148534EA71C7884296
root@WowmaxNodeZeta ~ # nvim ~/.zetacored/config/config.toml
root@WowmaxNodeZeta ~ # cat ~/.zetacored/config/config.toml
proxy_app = "tcp://127.0.0.1:26658"
# IMPORTANT! Replace the placeholder below with your actual moniker
moniker = "wowmax"
fast_sync = true
db_backend = "pebbledb"
db_dir = "data"
log_level = "info"
log_format = "plain"
genesis_file = "config/genesis.json"
priv_validator_key_file = "config/priv_validator_key.json"
priv_validator_state_file = "data/priv_validator_state.json"
priv_validator_laddr = ""
node_key_file = "config/node_key.json"
abci = "socket"
filter_peers = false
[rpc]
laddr = "tcp://0.0.0.0:26657"
cors_allowed_origins = []
cors_allowed_methods = ["HEAD", "GET", "POST", ]
cors_allowed_headers = ["Origin", "Accept", "Content-Type", "X-Requested-With", "X-Server-Time", ]
grpc_laddr = ""
grpc_max_open_connections = 900
unsafe = false
max_open_connections = 900
max_subscription_clients = 100
max_subscriptions_per_client = 5
experimental_subscription_buffer_size = 200
experimental_websocket_write_buffer_size = 200
experimental_close_on_slow_client = false
timeout_broadcast_tx_commit = "10s"
max_body_bytes = 1000000
max_header_bytes = 1048576
tls_cert_file = ""
tls_key_file = ""
pprof_laddr = "localhost:6060"
[p2p]
laddr = "tcp://0.0.0.0:26656"
# IMPORTANT! Replace the placeholder below with your actual external IP address
external_address = "65.109.96.42:26656"
seeds = "912d07ae1c869e7a573c09cb7397304874388b5b@104.154.216.162:26656,4e668be2d80d3475d2350e313bc75b8f0646884f@zetachain-mainnet-seed.itrocket.net:39656,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:22556,20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:22556"
persistent_peers = ""
upnp = false
addr_book_file = "config/addrbook.json"
addr_book_strict = true
max_num_inbound_peers = 120
max_num_outbound_peers = 60
unconditional_peer_ids = ""
persistent_peers_max_dial_period = "0s"
flush_throttle_timeout = "100ms"
max_packet_msg_payload_size = 1024
send_rate = 5120000
recv_rate = 5120000
pex = true
seed_mode = false
private_peer_ids = ""
allow_duplicate_ip = true
handshake_timeout = "20s"
dial_timeout = "3s"
[mempool]
version = "v0"
recheck = true
broadcast = true
wal_dir = ""
size = 5000
max_txs_bytes = 1073741824
cache_size = 10000
keep-invalid-txs-in-cache = false
max_tx_bytes = 1048576
max_batch_bytes = 0
ttl-duration = "0s"
ttl-num-blocks = 0
[statesync]
enable = "true"
rpc_servers = "35.224.53.42:26657,35.224.53.42:26657"
trust_height = 3219277
trust_hash = "6CEE185BA93FFEB65CF5A0C3DE08924502ECEB297BA33F148534EA71C7884296"
trust_period = "168h0m0s"
discovery_time = "15s"
temp_dir = ""
chunk_request_timeout = "10s"
chunk_fetchers = "4"
[fastsync]
version = "v0"
[consensus]
wal_file = "data/cs.wal/wal"
timeout_propose = "3s"
timeout_propose_delta = "500ms"
timeout_prevote = "1s"
timeout_prevote_delta = "500ms"
timeout_precommit = "1s"
timeout_precommit_delta = "500ms"
timeout_commit = "5s"
double_sign_check_height = 0
skip_timeout_commit = false
create_empty_blocks = true
create_empty_blocks_interval = "0s"
peer_gossip_sleep_duration = "100ms"
peer_query_maj23_sleep_duration = "2s"
[storage]
discard_abci_responses = false
[tx_index]
indexer = "kv"
psql-conn = ""
[instrumentation]
prometheus = true
prometheus_listen_addr = ":26660"
max_open_connections = 3
namespace = "tendermint"
@julianrubino Yeah, i tried on a new bare-metal and virtual servers.
Node works on a virtual server (CCX33). Not working on a bare-metal server (AX42), errors of closed ports and pebble.
For now we will run it on a virtual server, but it’s strange that node doesn’t work on a bare-metal.
Thanks everyone for the help!
@julianrubino I have found the source of original error: port conflict
We had prometheus server running on port 9090, which was conflicting with --grpc.address defaults (but no error said about that). Adding
--grpc.address 127.0.0.1:9092 --grpc-web.address 127.0.0.1:9093resolved errors on original server@EmperDeon I have successfully synced a node using a snapshot on a VM with the following specifications:
I have created a shell script detailing each step I took to accomplish this. Note that this script was made just for running a Fullnode (non-archive) in Mainnet.
My node has been running for a while without any error.
Please let me know if you encounter any issues after using the script.
@CryptoFewka Seed nodes from https://raw.githubusercontent.com/zeta-chain/network-config/main/mainnet/config.toml:
912d07ae1c869e7a573c09cb7397304874388b5b@104.154.216.162:26656,4e668be2d80d3475d2350e313bc75b8f0646884f@zetachain-mainnet-seed.itrocket.net:39656,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:22556,20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:22556@julianrubino We are running servers in Hetzner, Helsinki region, on a Debian 12.
Maybe you could make a snapshot with configs, and i will try to use it ?
Downloaded a binary 17.0.1 from releases in this repo.