In our current implementation various files are required to be modified to change what network is able to be used.
These files are:
helpers/constants.js
helpers/exceptions.js
config.json
genesisBlock.json
The goal of this change is to simplify the use:
node app --mainnetAfter 1.0.0 the list of "network-dependant files" shapes as follows:
Keeping them on one branch would decrease possible confusion and risk connected with working and releasing next versions on different networks:
Each change to "network-dependant file" would have to added to:
1.0.0-beta.9.0).:)
2018-06-15 14:28 GMT+02:00 Maciej Baj notifications@github.com:
After 1.0.0 the list of "network-dependant files" shapes as follows:
- config.json
- genesis_block.json
- helpers/exceptions.js
- helpers/constants.js
- scripts/update_config.js
Keeping them on one branch would decrease possible confusion and risk
connected with working and releasing next versions on different networks:
- Alphanet (Devnet),
- Betanet,
- Testnet,
- Mainnet.
Each change to "network-dependant file" would have to added to:
- feature branch (like 1.0.0-beta.9.0).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LiskHQ/lisk/issues/398#issuecomment-397605462, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APzFsO6gItgBgJSFhsOXqakADcmEZ7-lks5t86iBgaJpZM4LoVsK
.
@MaciejBaj Question, we will keep configuration files for different networks in source. Do you also want to keep those in compile builds? So one build can also be used for different networks? My suggestion would be to do it.
Please guys, don't forget helpers/milestones.js and genesis_delegates.js when applies.
Most helpful comment
@MaciejBaj Question, we will keep configuration files for different networks in source. Do you also want to keep those in compile builds? So one build can also be used for different networks? My suggestion would be to do it.