Is there any way to combine mining block to same mining sighash with several pc?

Hi to all,
I’m curiosity that is there any way to combine mining block to same mining sighash(incl. private&pub) with serveral PC?

I’m using mining with Linux now.

You mean you want to mine from multiple nodes but into a single sighash, right?

You can reuse the same sighash on multiple nodes to achieve what you want.

rpc 값 등을 동일하게 사용해서 각각의 컴퓨터에서 마이닝해도 되는건가요?

Can I use the same rpc value, etc. and mine on each computer?

Thank you for answering this.
Then can you share commandline how to put same sighash on multiple nodes?

you’d want to update the key values in the validator container… Something like:

docker exec -it sawtooth-validator-default bash
echo "new private key here" > /etc/sawtooth/keys/validator.priv
echo "new public key here" > /etc/sawtooth/keys/validator.pub
exit
docker-compose down
docker-compose up

You could also point the /etc/sawtooth/keys/ path to a local directory. Something like:

  1. Create a directory under Server called keys
  2. Put your desired validator.priv and validator.pub keys there
  3. Update the docker-compose file:

Change:

- type: volume
  source: validator-key-volume
  target: /etc/sawtooth/keys/

to:

volumes:
  - ./keys:/etc/sawtooth/keys/
  1. Restart docker: docker-compose up

courtesy of @will_gluwa

see Is there any way to combine mining block to same mining sighash with several pc?

Thank you so much!:wink: I really appreciate this. I’ll try ASAP.

Thanks. I thinks it should be added to mining guide line!