boost the consensus gap from 162.5 seconds to 3-6 seconds
- install kubectl
- install kustomize
following nodes are pre-configured:
- boot node named eosio
- 26 bp nodes, named as bpa, bpb, bpc ... bpz
- 9 full nodes, named as node-0, node-1, node-2 ... node-8
in pre-configured network topology:
- full nodes are fully meshed
- each full node connects to 3 bp and eosio
- each bp connects to 3 node
the topology can be easily adjusted in k8s/n-nodes/configmap.yaml
cd k8s/src/localhost
./apply.sh
cd k8s/src/localhost
./delete.sh
for fast deletion of statefulset, use ./mannual_delete_pod.sh
to fast delete all bp and node
- if deployed locally, use http://localhost to monitor
- if deployed in cloud, you need to config monitor.yaml to enable monitor
- for sample monitor page, view http://dpos-pbft.eosio.sg
- use
. ./env
to setup your env - use
./start
to deploy contracts and create accounts - use
./cron-vote.sh
to trigger producer shuffle