Creating a local network with multiple miner nodes #8247
-
This is not a bug or feature request. Just a general question: I followed the instructions for setting up a local network here: I am able to start up the lotus daemon and lotus-miner node without any errors, but it is not clear to me how to add a new miner node once the network is up (or how to start up a network with multiple miner nodes) I tried to add a second miner node by creating a new pre-seal-t01001.json file and adding it to the localnet.json file with this command: but when I try to initialize it with the lotus version 1.15.1-dev+2k+git.6291c0c58.dirty |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@mrihn You need to use a separate directory for the new local miner and also make sure that any output generated during the install and configure phase are separate from the first miner you created.
If anything is shared between the 2 miner except the lotus node, you will end up with an error. |
Beta Was this translation helpful? Give feedback.
@mrihn You need to use a separate directory for the new local miner and also make sure that any output generated during the install and configure phase are separate from the first miner you created.
If anything is shared between the 2 miner except the lotus node, you will end up with an error.