continue on light client

This commit is contained in:
Marko Baricevic
2021-02-03 12:47:50 +01:00
parent 7e7e962d93
commit e77796550a
21 changed files with 190 additions and 190 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ var (
sequential bool
trustingPeriod time.Duration
trustedHeight int64
trustedHeight uint64
trustedHash []byte
trustLevelStr string
@@ -92,7 +92,7 @@ func init() {
"maximum number of simultaneous connections (including WebSocket).")
LightCmd.Flags().DurationVar(&trustingPeriod, "trusting-period", 168*time.Hour,
"trusting period that headers can be verified within. Should be significantly less than the unbonding period")
LightCmd.Flags().Int64Var(&trustedHeight, "height", 1, "Trusted header's height")
LightCmd.Flags().Uint64Var(&trustedHeight, "height", 1, "Trusted header's height")
LightCmd.Flags().BytesHexVar(&trustedHash, "hash", []byte{}, "Trusted header's hash")
LightCmd.Flags().BoolVar(&verbose, "verbose", false, "Verbose output")
LightCmd.Flags().StringVar(&trustLevelStr, "trust-level", "1/3",
+2 -2
View File
@@ -22,7 +22,7 @@ import (
var (
nValidators int
nNonValidators int
initialHeight int64
initialHeight uint64
configFile string
outputDir string
nodeDirPrefix string
@@ -51,7 +51,7 @@ func init() {
"directory to store initialization data for the testnet")
TestnetFilesCmd.Flags().StringVar(&nodeDirPrefix, "node-dir-prefix", "node",
"prefix the directory name for each node with (node results in node0, node1, ...)")
TestnetFilesCmd.Flags().Int64Var(&initialHeight, "initial-height", 0,
TestnetFilesCmd.Flags().Uint64Var(&initialHeight, "initial-height", 0,
"initial height of the first block")
TestnetFilesCmd.Flags().BoolVar(&populatePersistentPeers, "populate-persistent-peers", true,