Skip to content

Simple status website to observe protocol upgrade under different clients

Notifications You must be signed in to change notification settings

ETCDEVTeam/fork-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork Watcher

Runs different clients, such as Classic Geth and Parity, using multiple different versions and provides current status of synchronization:

  • current blockchain height

  • block hash at specified height

  • for each used client instance

Currently configured for ECIP-1041 fork at block 5,900,000 with:

  • Geth 4.2.2 - should fail to wrong fork, doesn’t support HF

  • Geth 5.0.0 - first with HF support

  • Geth 5.3.0 - latest stable

  • Parity 1.9.2 - should fail to wrong fork, doesn’t support HF

  • Parity 1.9.3 - first with HF support

  • Parity 1.9.7 - latest stable in 1.9.x

  • Parity 1.10.4 - latest stable

Prepare

export PROJECT_ID=etcdevteam
gcloud config set project $PROJECT_ID

gcloud container clusters create fork --machine-type n1-standard-1 --num-nodes 7

gcloud container clusters get-credentials fork

gcloud compute disks create geth-422 geth-500 geth-530 --type pd-ssd --size 300GB
./bin/build.sh geth
kubectl create -f k8s/geth.rc.yaml

gcloud compute disks create parity-192 parity-193 parity-197 parity-1104 --type pd-ssd --size 300GB
./bin/build.sh parity
kubectl create -f k8s/parity.rc.yaml

kubectl create -f k8s/status.rc.yaml
kubectl create -f k8s/status.svc.yaml

Watch

From local machine

Requires Python 3

pip install kubernetes
python3 bin/status.py

From web

By default configured to https://fork.etcdevteam.com

Shutdown

gcloud container clusters delete fork
gcloud compute disks delete geth-422 geth-500 geth-530 parity-192 parity-193 parity-197 parity-1104

About

Simple status website to observe protocol upgrade under different clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published