dvandal / cryptonote-nodejs-pool

Mining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms
GNU General Public License v2.0
367 stars 611 forks source link

blocks info broken #529

Closed datptolemei closed 4 years ago

datptolemei commented 4 years ago

Just tested pool on monero testnet, all working good but information about blocks broken. How can I fix that?

Screenshot_1

muscleman commented 4 years ago

did you fix this?

datptolemei commented 4 years ago

still no

C-Prime90 commented 4 years ago

I cannot reproduce this issue on my pools @ https://funwithcrypto.tk

muscleman commented 4 years ago

it's because the definition of how a block is stored in redis has changed. block definition now contains 2 additional field prepended to the front. [0] rewardType = "prop" or "solo" [1] minerAddress = substring for security reasons of the miner who found the block.

the front end has code that makes this functionality backward compatiable. see link.

https://github.com/dvandal/cryptonote-nodejs-pool/blob/master/website_example/js/common.js#L536