Skip to content

Instantly share code, notes, and snippets.

View rost1989's full-sized avatar

Polar Bear rost1989

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rost1989 on github.
  • I am rost1989 (https://keybase.io/rost1989) on keybase.
  • I have a public key ASDUlGXXWgewevxGIKWf85x3Z8QPDosaAzCR1T34UgB56Ao

To claim this, I am signing this object:

@rost1989
rost1989 / try_to_catch_up_with_the_blocks.sh
Created September 16, 2021 08:41 — forked from atsiarenia/try_to_catch_up_with_the_blocks.sh
[OMNIFLIX] try to catch up with the blocks WITH delay
#!/bin/bash
DELAY=3600 #in secs - how often restart the script
RED_COLOR='\033[0;31m'
WITHOU_COLOR='\033[0m'
LATEST_BLOCK_HEIGHT=$(omniflixhubd query tendermint-validator-set | jq . | grep block_height | grep -o -E '[0-9]+')
YOUR_BLOCK_HEIGHT=$(omniflixhubd status 2>&1 | jq ."SyncInfo"."latest_block_height"| grep -o -E '[0-9]+')
DIFF_BLOCK_HEIGHT=$(expr $LATEST_BLOCK_HEIGHT - $YOUR_BLOCK_HEIGHT)
DIFF_BLOCK_LIMIT=0
for (( ;; )); do
echo -e "LATEST BLOCK HEIGHT: ${LATEST_BLOCK_HEIGHT} \n"

IMPORTANT: CLUSTER HAS RESTARTED

THESE INSTRUCTIONS ARE NOW OBSOLETE

Please use your common service file if network already started.

INSTALL THE LATEST SOLANA RELEASE AND ENSURE YOU HAVE THE UPDATED EXPECTED SHRED VERSION:

--expected-shred-version 24371 \

IMPORTANT: Instruction is valid only during restart.

Testnet 1.11.5 Restart

@rost1989
rost1989 / Proposal.md
Created January 22, 2024 11:41
Proposal for change of several Carbon network parameters

Proposals to adjust "slash_fraction_downtime", "voting_period", "unbonding_time"

Current stage: Discussion

Aproximate planned date for proposal: ~27-28 Jan (in case of positive response from community)

Unstaking period from 30 days – to 21 day;

current: "unbonding_time": "2592000s"

proposed: "unbonding_time": "1814400s"