Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Commit

Permalink
Setup private chain: customize epoch number
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhnguyennguyen committed Jul 11, 2019
1 parent 18e1f2c commit 6948f9b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/developers/tutoprivatenet.md
Expand Up @@ -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

Expand Down

0 comments on commit 6948f9b

Please sign in to comment.