Replies: 2 comments 4 replies
-
@jjjbrogan I'm not 100% sure what you are asking..... Are you asking if you can have different RPC user/pass on different instances of the coin daemon? |
Beta Was this translation helpful? Give feedback.
-
@jjjbrogan No, just make sure you have payments Disabled on all other instances -- This is typically how people setup Miningcore clusters. For your stratum instance, which has it's own Core running, the MC config should be pointed to that core instance, presumably with Payments and API disabled. Therefore, that instance will be used for block submissions only, but not payments. The MC instance running on stratum VM will probe the daemon running on mining-stratum VM, and that password needs to match the password you put in that MC config. The only way this could fail, is if you did something like instead of using localhost daemon on mining-stratum, you put the IP address of mining-master or mining-core as the TL;DR - yes, you can set different RPC passwords on different instances of Miningcore and daemons, but the daemon RPC password attached to MC instance "X" will need to have the same password input into MC instance "X" config. Hope that makes sense. PS - RPC passwords are set locally, and VM / instance "A" has no idea what password for instance "B" is. Just make sure that instance "A" RPC password is input into instance "A" MC config, and so on.... |
Beta Was this translation helpful? Give feedback.
-
On my miningcore setup, I have 4 VM's. mining-stratum, mining-web, mining-master, and the mining-core which has all the core daemons running. What are the implications if the rpc user/pass on mining-stratum (in the config.json file) does not match the user/pass on mining-core?, as in this section for bitcoin-cash section of config.json:
"daemons": [
{
"host": "daemon",
"port": 8432,
"user": "rpc",
"password": "xxxxxxxx",
"zmqBlockNotifySocket": "tcp://daemon:38432"
}
(the daemon reference in /etc/hosts points to the core server)
What would happen if the user/pass did not match what is in the core server? (for example, i can't stop the daemon without it, I've tried) but was wondering what else could happen if that doesn't match? Before I try to reset the password I wanted to check. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions