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

Haven (XHV) payment issue with offshore xASSETS #667

Open SixLitr opened 3 years ago

SixLitr commented 3 years ago

Been limping along with our Haven pool for some time now but with the addition of the xUSD and shortly many more xASSETS, the redis database is tracking all transfers as XHV when in truth they are not, causing inflated XHV balances to be owed to miners. Any chance someone can take a look at this and sort our a filtering function for each of the various assets, and possibly add to payments? Most xASSET payments are less than a penny and aren't worth the tx fee, but eventually they may add up.

New RPC method explanation here: https://docs.havenprotocol.org/rpc/1.2.9q/RPC_API.html

Guthub for latest rc here: https://github.com/haven-protocol-org/haven-offshore/tree/v1.2.9q