The test program of using minerd to connect to btcpool simulator Times error: JSON-RPC call failed.

Local ubuntu16.04 compiles btcpool source code, and after completion, there is an error running its test program simulator

1. Run the sserver program first

cd /work/btcpool/build/run_sserver
./sserver -c sserver.cfg -l log_sserver/

2. Run simulator

cd /work/btcpool/build/run_simulator
./simulator -c simulator.cfg -l log_simulator/

3. Simulated mining machine connection, error:

minerd -o stratum+tcp://127.0.0.1:3333 -O aaa:1

[2018-04-04 15:17:06] Binding thread 0 to cpu 0
[2018-04-04 15:17:06] Binding thread 1 to cpu 1
[2018-04-04 15:17:06] Starting Stratum on stratum+tcp://127.0.0.1:3333
[2018-04-04 15:17:06] 4 miner threads started, using "scrypt" algorithm.
[2018-04-04 15:17:06] Binding thread 2 to cpu 2
[2018-04-04 15:17:06] Binding thread 3 to cpu 3
[2018-04-04 15:17:07] JSON-RPC call failed: [
   27,
   "Illegal params",
   null
]
[2018-04-04 15:17:07] ...retry after 30 seconds

is there an error in json-RPC here because there are other dependent services that have not been started? What kind of service is it?

< hr >

the log of sserver is as follows

root@zc-x0:/work/btcpool/build-sharp tail -f run_sserver/log_sserver/sserver.INFO 
I0408 09:35:59.537277  9953 StratumSession.cc:246] client connect, ip: 127.0.0.1
I0408 09:35:59.538455  9953 StratumServer.cc:1136] socket closed
I0408 09:36:29.539168  9953 StratumSession.cc:246] client connect, ip: 127.0.0.1
I0408 09:36:29.540217  9953 StratumServer.cc:1136] socket closed
I0408 09:36:59.540978  9953 StratumSession.cc:246] client connect, ip: 127.0.0.1
I0408 09:36:59.542340  9953 StratumServer.cc:1136] socket closed
I0408 09:37:29.543114  9953 StratumSession.cc:246] client connect, ip: 127.0.0.1
I0408 09:37:29.544587  9953 StratumServer.cc:1136] socket closed

simulator log is as follows

root@zc-x0:/work/btcpool/build-sharp tail -f run_simulator/log_simulator/simulator.INFO 
E0408 09:07:11.401319 25623 StratumClient.cc:144] json result is null, err: 1
E0408 09:07:11.652422 25623 StratumClient.cc:144] json result is null, err: 1
E0408 09:07:11.652513 25623 StratumClient.cc:144] json result is null, err: 1
E0408 09:07:11.652572 25623 StratumClient.cc:144] json result is null, err: 1
E0408 09:07:11.652631 25623 StratumClient.cc:144] json result is null, err: 1
E0408 09:07:11.652688 25623 StratumClient.cc:144] json result is null, err: 1
Mar.02,2021

before running, you need to configure bitcoin.conf, to put it under / .bitcoin /

  • Problems running btcpool's test program

    < H2 > 1. Run the test program run_simulator < H2 > after compiling the btcpool source code, run its test program cd work btcpool build run_simulator . simulator -c simulator.cfg -l log_simulator this program does not live in hang, so it is "finis...

    Mar.01,2021
  • How bitcoind starts the RPC service

    I compiled the source code for bitcoin and btcpool respectively. When running some services in btcpool, I need to set up the RPC service. this RPC service should be provided by bitcoind. now I need to set the address of the RPC service is 127.0.0.1 ...

    Mar.02,2021
  • Bitcoind update node connection failed

    start the bitcoin Synchronize command RPConerpc, 123 bitcoin -server -printtoconsole here are some logs 2018-04-16 01:49:10 addcon thread start 2018-04-16 01:49:10 init message: Done loading 2018-04-16 01:49:10 opencon thread start 2018-04-16 01:49:...

    Mar.03,2021
  • How do other servers call bitcoind's RPC interface?

    there is a host that runs the bitcoind program. How can I get the results of the interface of bitcoin-cli through the rpc interface from another machine? ...

    Mar.18,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e40fb4-448ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e40fb4-448ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?