Omniflix
Public API
We provides a comprehensive API to interact with the blockchain.
RPC Endpoint
Secure Tendermint RPC server.
LCD (Rest) API Endpoint
Secure Tendermint LCD server.
GRPC Endpoint
Secure GRPC server.
State-sync
State-sync servers on Tendermint-based chains. Node operators can quickly sync up a node with minimum storage requirement
sudo systemctl stop omniflixhubd
cp $HOME/.omniflixhub/data/priv_validator_state.json $HOME/.omniflixhub/priv_validator_state.json.backup
omniflixhubd tendermint unsafe-reset-all --home $HOME/.omniflixhub --keep-addr-book
SNAP_RPC="http://omniflix.web3validator.info:26657/"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
peers="b7ac7a52dbb4041133e31e0552f4e01e926d3bb4@omniflix.nodejumper.io:33656"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$peers'"|' $HOME/.omniflixhub/config/config.toml
sed -i -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.omniflixhub/config/config.toml
mv $HOME/.omniflixhub/priv_validator_state.json.backup $HOME/.omniflixhub/data/priv_validator_state.json
sudo systemctl restart omniflixhubd
sudo journalctl -u omniflixhubd -f --no-hostname -o cat
Telegram Uptime Checker bot
@OmniflixUpTime_bot
Monitoring bot with alerting that pings you when your validator starts skiping blocks to keep you out of jail !!! Сan tell you about the time left before being sent to jail and much more...