Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupNode ¶
func SetupNode(ctx context.Context, args SetupNodeArgs)
SetupNode set up and start a glitter validator 1. download tm,glitter 2. install & resgister systemd 3. set seeds 4. download genesis.json 5. copy glitter config 6. generate tm config and validator files 7. update validator to old cluster 8. switch to full node 9. check if become a validator 10. switch to validator node
Types ¶
type CopyFileDesc ¶
type SetupNodeArgs ¶
type TendermintClient ¶
type UpdateValidatorBody ¶
Click to show internal directories.
Click to hide internal directories.