Skip to content
Permalink
Browse files

Merge pull request #161 from thanhnguyennguyen/private-net-customize-…

…epoch

Setup private chain: customize epoch number
  • Loading branch information...
thanhson1085 committed Jul 11, 2019
2 parents 18e1f2c + 6948f9b commit 20c418e582e0600c306fc9f82d0f2c2c958e8470
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 20c418e

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