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

**URL:** https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47
**Category:** Mining
**Created:** [October 7, 2020, 10:52pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47 "2020-10-07T22:52:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![wind](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@wind](https://community.creditcoin.org/u/wind)
#### Post date: [October 7, 2020, 10:52pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/1 "2020-10-07T22:52:58Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![taelimoh](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/taelimoh/32/3_2.png) [@taelimoh](https://community.creditcoin.org/u/taelimoh)
#### Post date: [October 10, 2020, 8:59am UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/2 "2020-10-10T08:59:04Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ctcboom](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@ctcboom](https://community.creditcoin.org/u/ctcboom)
#### Post date: [October 10, 2020, 4:30pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/3 "2020-10-10T16:30:23Z")

</div>

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

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

---

<div class="post-metadata">

### Author: ![wind](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@wind](https://community.creditcoin.org/u/wind)
#### Post date: [October 11, 2020, 1:30pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/4 "2020-10-11T13:30:26Z")

</div>

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

---

<div class="post-metadata">

### Author: ![taelimoh](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/taelimoh/32/3_2.png) [@taelimoh](https://community.creditcoin.org/u/taelimoh)
#### Post date: [October 11, 2020, 8:24pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/5 "2020-10-11T20:24:20Z")

</div>

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

---

<div class="post-metadata">

### Author: ![taelimoh](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/taelimoh/32/3_2.png) [@taelimoh](https://community.creditcoin.org/u/taelimoh)
#### Post date: [October 11, 2020, 8:25pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/6 "2020-10-11T20:25:04Z")

</div>

see [Is there any way to combine mining block to same mining sighash with several pc?](http://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/5)

---

<div class="post-metadata">

### Author: ![wind](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@wind](https://community.creditcoin.org/u/wind)
#### Post date: [October 12, 2020, 12:55am UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/7 "2020-10-12T00:55:36Z")

</div>

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

---

<div class="post-metadata">

### Author: ![kang](https://avatars.discourse-cdn.com/v4/letter/k/d6d6ee/32.png) [@kang](https://community.creditcoin.org/u/kang)
#### Post date: [September 1, 2021, 5:08pm UTC](https://community.creditcoin.org/t/is-there-any-way-to-combine-mining-block-to-same-mining-sighash-with-several-pc/47/8 "2021-09-01T17:08:38Z")

</div>

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