zone117x / node-cryptonote-pool

Mining pool for CryptoNote based coins such as Bytecoin and Monero
GNU General Public License v2.0
827 stars 1.14k forks source link

"Setting up Testnet" and "JSON-RPC Commands from CLI" How to do it? Who can help me!!! #280

Open lxmolo opened 6 years ago

lxmolo commented 6 years ago

In Setting up Testnet,run ./coind --p2p-bind-port 28080 --allow-local-ip but i can not find coind command,./monero have run.Can you tell me where to run?

In JSON-RPC Commands from CLI ,where is run bytecoind --rpc-bind-ip=0.0.0.0 --rpc-bind-port=8081 command and simplewallet --wallet-file=example_wallet.bin --pass=12345 --rpc-bind-port=8082 command ?I can not find bytecoind and simplewallet command. Thanks very much。

pool have run ,but Error ,wallet and daemon have not run, I don't know how to do it. What software do I need to install? now ,node-cryptonote-pool is run and monero(https://github.com/monero-project/monero) is run.

root@XXXXXXXXX/pool# node init 2018-01-30 13:18:10 [master] Pool spawned on 4 thread(s) 2018-01-30 13:18:11 [unlocker] Started 2018-01-30 13:18:11 [payments] Started 2018-01-30 13:18:11 [unlocker] No blocks candidates in redis 2018-01-30 13:18:11 [payments] No workers' balances reached the minimum payment threshold 2018-01-30 13:18:11 [api] API started & listening on port 8117 2018-01-30 13:18:11 [api] Stat collection finished: 24 ms redis, 50 ms daemon 2018-01-30 13:18:11 [api] Broadcasting to 0 visitors and 0 address lookups 2018-01-30 13:18:12 [pool] (Thread 4) Error polling getblocktemplate {"code":-9,"message":"Core is busy"} 2018-01-30 13:18:12 [pool] (Thread 4) Could not start pool 2018-01-30 13:18:12 [pool] (Thread 3) Error polling getblocktemplate {"code":-9,"message":"Core is busy"} 2018-01-30 13:18:12 [pool] (Thread 3) Could not start pool 2018-01-30 13:18:12 [pool] (Thread 2) Error polling getblocktemplate {"code":-9,"message":"Core is busy"} 2018-01-30 13:18:12 [pool] (Thread 2) Could not start pool 2018-01-30 13:18:12 [pool] (Thread 1) Error polling getblocktemplate {"code":-9,"message":"Core is busy"} 。。。。。。

blueavenue commented 6 years ago

You have to build first your coin or download from forknote.net the CLI and do a conf-file.

Admiral-Noisy-Bottom commented 6 years ago

You mentioned ./monero but to run the Monero Daemon you need to execute ./monerod

Here is what I use;

./monerod --allow-local-ip --rpc-bind-ip 127.0.0.1 --rpc-bind-port 18081

For the Wallet I use

./monero-wallet-rpc --wallet-file YOURWALLET --password XXXXXXXX --rpc-bind-ip 127.0.0.1 --rpc-bind-port 80882 --daemon-host 127.0.0.1:18081 --confirm-external-bind --disable-rpc-login

The external bind is apparently important.

Obviously before you can use the wallet you need to create a wallet.