Skip to content
Permalink
Browse files

Setup private chain: customize epoch number

  • Loading branch information...
thanhnguyennguyen committed Jul 11, 2019
1 parent 18e1f2c commit 6948f9bbbf31dcc0f20372235847bd321ec724db
Showing with 7 additions and 2 deletions.
  1. +7 −2 docs/developers/tutoprivatenet.md
@@ -111,8 +111,13 @@ The following will walk you step-by-step to setup a TomoChain private net with t
- Set blocktime (default 2 seconds)
- Set reward of each epoch
- Set addresses to be initial masternodes
- Set number of blocks of each epoch (default 900)
- Set gap (How many blocks before checkoint need prepare new masternodes set ?)
- Set number of blocks of each epoch (default 900). If you would like to customize epoch number, please update code here
`common/constants.go:14`
```
EpocBlockRandomize = 900
```

- Set gap (How many blocks before checkpoint need prepare new masternodes set ?)
`suggestedGap = 5`
- Enter foundation address which you hold private key

0 comments on commit 6948f9b

Please sign in to comment.
You can’t perform that action at this time.