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

After installing NOMP, how do I mine? #637

Open educob opened 5 years ago

educob commented 5 years ago

Hello.

I am running bitcoin in a private network of two nodes and I want to mine blocks to test transactions.

I just installed nomp follwing this guide: https://github.com/zone117x/node-open-mining-portal#donations

When I run "node init.js" I get: 2018-10-23 21:51:47 [Pool] [bitcoin] (Thread 1) Downloaded NaN% of blockchain from 2 peers 2018-10-23 21:51:52 [Pool] [bitcoin] (Thread 1) Downloaded NaN% of blockchain from 2 peers 2018-10-23 21:51:56 [Payments] [bitcoin] Finished interval - time spent: 4ms total, 2ms redis, 3ms daemon RPC 2018-10-23 21:51:57 [Pool] [bitcoin] (Thread 1) Downloaded NaN% of blockchain from 2 peers 2018-10-23 21:52:02 [Pool] [bitcoin] (Thread 1) Downloaded NaN% of blockchain from 2 peers 2018-10-23 21:52:07 [Pool] [bitcoin] (Thread 1) Downloaded NaN% of blockchain from 2 peers

But no block is mined.

What else do I have to do to mine?

Thanks.

stevenshen777 commented 5 years ago

./minerd -a scrypt -u FHimNa6VjpdnRAiKgsTCNHpVA8EaerNT2Y -p xyz -o stratum+tcp://192.168.2.182:3333 -a: algo -u : your address of the coin -p: password anything will be ok -o: your link

Thanoos commented 5 years ago

p2p connection failed - likely incorrect p2p magic value please help me out

stevenshen777 commented 5 years ago

did u set a magic value?

---Original--- From: "Thanoos"notifications@github.com Date: Mon, Apr 22, 2019 18:09 PM To: "zone117x/node-open-mining-portal"node-open-mining-portal@noreply.github.com; Cc: "Comment"comment@noreply.github.com;"stevenshen777"3058138288@qq.com; Subject: Re: [zone117x/node-open-mining-portal] After installing NOMP, how do I mine? (#637)

p2p connection failed - likely incorrect p2p magic value please help me out

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Thanoos commented 5 years ago

yes i did

nicebbs commented 4 years ago

Have you solved the problem yet?

educob commented 4 years ago

No. I installed bitcoin version 0.18 and start it with: bitcoind --datadir=xxxxx/regtest -deprecatedrpc=generate (v0.19 doesn't allow generate)

So then I can run: bitcoin-cli -datadir=xxxxregtest generate 1 to mine a block.

wit07 commented 3 years ago

@stevenshen777 Thenk you for you answer. Can you please help with connection parameters if I want to connect with coin public key (to have abbility to be switched between different coins withing one algorythm)?