ricaun / DuinoCoinI2C

This project design to mine Duino-Coin using an Esp8266 as a master and Arduino as a slave.
MIT License
168 stars 72 forks source link

Should multiple Nano devices establish multiple websocket connections? #35

Open ericddm opened 3 years ago

ericddm commented 3 years ago

1 2 I tested the official AVRMiner and connected multiple devices. The mining speed is almost the same as the official announcement, that is, 2 Nano is about 16-20 coins per day. And I use I2C, about 8-10 coins per day. I checked the code of REVOX, and I don't quite understand it. Is it because his code is to establish a connection for each device? I feel that the server distributes rewards according to the number of connections. It hasn’t been long since I learned programming. This is one of my thoughts. If it is wrong, please ignore it.

ricaun commented 3 years ago

The master code uses the same thing as the oficial ARV python code. The Esp creates one connection for each slave.

Probably the hash speed does no matter to much, a good test should be how many jobs a i2c slave do in a minute and how many jobs the oficial AVR do in a minute.

I supposed the I2C is slower, in a long term.