[ESPINS Fork] I will share the multi-thread mining environment

See this commit history.


First of all, thank you for sharing.

i can’t use %Cpu( s )

  1. build.sh
  2. /script/configure_creditcoin.sh
  3. install_apt_packages.sh
  4. Modify the contents of the file in Creditcoin/clientConfig.json to my mining key.
  5. start_creditcoin.sh

CREDITCOIN_HOME is /root/Server
Enter name of Docker compose file (docker-compose.yaml)
just press ENTER
7. done

And I succeeded in creating.
Creating creditcoin-gateway … done
Creating sawtooth-rest-api-default … done

However, when I checked CPU occupancy through the “TOP” command, it was 4 to 8 us.

How can i try it?

  1. Is the hashServer process running?

  2. Connect to hashServer with telnet and check the status.

1) Run the following command.
 telnet 10000

2) Type the letters below, then press Enter

3) Type the letters below, then press Enter
  1. Check the hashServer.log file.

Thank you for your answer.

What actions or instructions should be executed to drive the Hashserver?

in my hashServer.log

/root/Server/hashServer: error while loading shared libraries: libboost_systen.so.1.65.1: cannot open shared object file: No such file or directory


  1. Run the following command.
    telnet 10000

telnet: Unable to connect to remote host: Connection refused


I don’t think the “boost” library is installed.

  1. Are you using Ubuntu OS?

  2. Did you have any problems running the library installation command?

sudo apt-get update
sudo apt-get install build-essential libboost-all-dev libcrypto++-dev -y
  1. Does the compile command work properly?
    (Running in a “Server” directory)
/usr/bin/g++-7 -O2 -Wall ./*.cpp -o ./hashServer -lboost_system -lpthread -lcryptopp


/usr/bin/g++-9 -O2 -Wall ./*.cpp -o ./hashServer -lboost_system -lpthread -lcryptopp

Thanks to you, I was able to solve the problem. Thank you for sharing your knowledge and effort. I hope you have a good day.

:+1: :+1: :+1: :+1: :+1: :+1: :grinning:

Hardware acceleration is available. (#support list)




I applied your patch and it’s working well.
I haven’t checked how much the performance has improved, but I think it’s probably better than before.
Thanks a lot.