BTCPrivate / BitcoinPrivate-legacy

Bitcoin Private is a Bitcoin and Zclassic fork which uses ZK-SNARK technology for privacy and fungibility.
Other
283 stars 132 forks source link

Connecting to Node to SOLO mine fails #121

Closed VERTlG0 closed 6 years ago

VERTlG0 commented 6 years ago

z170x ~/cryptomining/miners/EQUIHASH-bminer-v5.4.0 # ./start.bminer.btcp.solo.sh
[INFO] [2018-03-03T13:12:58-05:00] Bminer: When Crypto-mining Made Fast (v5.4.0-ae18e12)
[INFO] [2018-03-03T13:12:58-05:00] Watchdog has started.
[INFO] [2018-03-03T13:12:58-05:00] Starting miner on devices [0 1]
[INFO] [2018-03-03T13:12:58-05:00] Connected to 127.0.0.1:7932
, error: invalid character 'H' looking for beginning of value e: HTTP/1.1 400 Bad Request
, error: invalid character 'C' looking for beginning of value e: Content-Type: text/html
, error: invalid character 'C' looking for beginning of value e: Connection: close
, error: invalid character 'D' looking for beginning of value e: Date: Sat, 03 Mar 2018 18:12:58 GMT
, error: invalid character 'C' looking for beginning of value e: Content-Length: 94
, error: unexpected end of JSON input led to parse the response: [ERRO] [2018-03-03T13:12:58-05:00] Failed to parse the response: , error: invalid character '<' looking for beginning of value [ERRO] [2018-03-03T13:12:58-05:00] Failed to parse the response: 400 Bad Request, error: invalid character '<' looking for beginning of value [ERRO] [2018-03-03T13:12:58-05:00] Failed to parse the response: , error: invalid character '<' looking for beginning of value [ERRO] [2018-03-03T13:12:58-05:00] Failed to parse the response:

Bad Request

, error: invalid character '<' looking for beginning of value [ERRO] [2018-03-03T13:12:58-05:00] Failed to parse the response: , error: invalid character '<' looking for beginning of value
[WARN] [2018-03-03T13:12:58-05:00] Get error: End of file, resetting in 5 seconds

Ran the node on x86_64 Linux with 'btpd -server'

btcprivate.conf:

rpcuser=b18uxaXKZwVZBT7ad3bDkfuZoRDTLiAYxLr rpcpassword=x rpcallowip=127.0.0.1 addnode=dnsseed.btcprivate.org gen=1

what am i missing

VERTlG0 commented 6 years ago

heres more output from another miner program.

z170x ~/cryptomining/miners/EQUIHASH-EWBFminer # ./start.btcp.solomine.bash
+-------------------------------------------------+
| EWBF's Zcash CUDA miner. 0.3.4b | +-------------------------------------------------+ INFO: Current pool: 127.0.0.1:7932 INFO: Selected pools: 1 INFO: Solver: Auto. INFO: Devices: All. INFO: Temperature limit: 90 INFO: Api: Disabled

ERROR: Stratum subscribe timeout

heres the script to run it: ./miner --server 127.0.0.1 --port 7932 --user b18uxaXKZwVZBT7ad3bDkfuZoRDTLiAYxLr.EWBFminerLinux --pass x --pec

VERTlG0 commented 6 years ago

here I added "http://" to the -server entry.

z170x ~/cryptomining/miners/EQUIHASH-EWBFminer # ./start.btcp.solomine.bash
+-------------------------------------------------+
| EWBF's Zcash CUDA miner. 0.3.4b | +-------------------------------------------------+ INFO: Current pool: http://127.0.0.1:7932 INFO: Selected pools: 1 INFO: Solver: Auto. INFO: Devices: All. INFO: Temperature limit: 90 INFO: Api: Disabled

ERROR: Cannot resolve hostname