You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…5291)
Description
---
This PR does two jobs (sorry). Mostly because they're dependent tasks.
- Add `--network` to the miners for simple setting switches
- Add the network into the data directory path
Motivation and Context
---
This can be used to help select the default ports of communication for
the base node and wallet, and also easily keeping network id's and
folders separate.
How Has This Been Tested?
---
Manually
What process can a PR reviewer use to test or verify this change?
---
Run a base node, wallet, and miner. Set a base directory path as
something like `-b ./data/mytest` and the network to igor `--network
igor` and watch in amazement as the data directory `./data/mytest/igor/`
is created to store information.
Closes#5272Closes#5273
Breaking Changes
---
- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify
<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
---------
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
Change the data directory behavior to include the network name.
Currently, the folder structure looks as follows:
This should be changed to be:
The text was updated successfully, but these errors were encountered: