zone117x / node-open-mining-portal

A scalable all-in-one easy to setup cryptocurrency mining pool and portal written entirely in Node.js.
GNU General Public License v2.0
1.02k stars 1.03k forks source link

Hybrid coin, No shares #515

Open itamarcps opened 6 years ago

itamarcps commented 6 years ago

Im actually trying to setup a NOMP pool with Hybrid PoW/PoS coin, but the pool only wants PoS shares The coin.conf is arealdy with staking=0 but still doesnt work also i arealdy added reward = POW in coin.json

ghost commented 6 years ago

@itamarcps Need logs. May be set lower diff?

jiyocoin commented 6 years ago

Having same issue here 2017-10-10 19:29:54 [Pool] [jiyo] (Thread 1) Share accepted at diff 256/314.02225040 by JgRnJGA9L5qtus5Msvp72hSAb9tteZTd3V [188.166.37.58] 2017-10-10 19:29:54 [Pool] [jiyo] (Thread 1) Share accepted at diff 256/273.08657688 by JgRnJGA9L5qtus5Msvp72hSAb9tteZTd3V [188.166.37.58] 2017-10-10 19:29:57 [Pool] [jiyo] (Thread 1) Daemon instance 0 rejected a supposedly valid block 2017-10-10 19:29:59 [Pool] [jiyo] (Thread 1) Daemon instance 0 rejected a supposedly valid block 2017-10-10 19:30:05 [Pool] [jiyo] (Thread 1) Daemon instance 0 rejected a supposedly valid block 2017-10-10 19:30:20 [Pool] [jiyo] (Thread 1) Daemon instance 0 rejected a supposedly valid block 2017-10-10 19:30:26 [Pool] [jiyo] (Thread 1) Daemon instance 0 rejected a supposedly valid block

itamarcps commented 6 years ago

Fixed by using UNOMP instead of NOMP, shares are now submitted and reward is distributed among workers

ghost commented 6 years ago

@itamarcps Which algo it was?

jiyocoin commented 6 years ago

@itamarcps how did you get it working in unomp ?

itamarcps commented 6 years ago

@foxer666 Scrypt algo

@jiyocoin I just followed this tutorial, i made some changes on ports and payout times https://blockgen.net/setup-your-own-mining-pool/

itamarcps commented 6 years ago

@foxer666 Scrypt algo

@jiyocoin I just followed this tutorial, i made some changes on ports and payout times https://blockgen.net/setup-your-own-mining-pool/

It will shows as POS only coin, but when you start mining, it works!

ghost commented 6 years ago

Scrypt works fine with NOMP and UNOMP.

GenTarkin commented 6 years ago

Ive solved this particular w/ hybrid POW/POS coins that require a payee and payee_reward tx in the coinbasetx (such as boostcoin). Steps to take:

  1. Make the changes to coin daemon source code as @CryptoCanary outlined here: https://github.com/EverGreenCoinDev/EverGreenCoin/commit/1f53769feca6797b9090aba3a821288cb66ceec0#diff-c2c990fee1c3381462640e80ae7db0d0

  2. In NOMP source, change https://github.com/zone117x/node-stratum-pool/blob/master/lib/transactions.js#L136 to: var payeeReward = rpcData.payee_amount;

  3. In NOMP coins/coin.json ensure theres entry: "Reward": "POS"