minerja
|
|
January 15, 2021, 08:34:36 AM |
|
I've tried to used cpuminer to mine Scrypt algorithm before but until this day I still can't configure or make it work, after many tutors through reddit it's still not working, can someone drop me the full configuration here ? I will appreciate
PM me i'll see if i can help
|
|
|
|
|
|
|
|
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
Abuliglig
Newbie
Offline
Activity: 24
Merit: 8
|
|
January 16, 2021, 09:14:59 AM |
|
My system is as follows: 400GB free. my RAM is 8GB Intel Core i5-4210U CPU @ 1.70GHz 2.40 GHz Bitcoin Client Software and Version Number: V0.20.1 Operating System: Windows 10 (64)I already have bitcoin core running on this laptop. I appreciate your help in this matter. I would like to run a CPU Bitcoin miner on my laptop for a few hours- I know I will not earn anything, but I'm keen to do some mining. I downloaded Poolers CPU miner from Github and used this instructional video ( https://youtu.be/kFudfJ7fTrI) on how to set it up. Please bear in mind that I'm not a programmer or coder, just a guy with an interest in Bitcoin with some superficial knowledge on computing who is eager to learn. I switched the antivirus off and I was able to run the "minerd.exe" program using the CMD. When I run the program, I get this error message: [2021-01-15 20:25:11] HTTP request failed: Failed to connect to 127.0.0.1 port 13000: Connection refused I'm not sure why this is happening. I am connected to the internet. I switched my VPN off in case it was the cause. I'm running Bitcoin Core and it has multiple connections and is synched up to date. The configuration file "Bitcoin.conf" is located within the "Bitcoin" folder in %AppData% and is as follows: server=1 rpcuser=user rpcpassword=password rpcallowip=127.0.0.1 rpcport=13000 I ran the "minerd.exe" program with the following command: minerd.exe -a sha256d -O user:password -o 127.0.0.1:13000 --coinbase-addr=""xxxxxxx bitcoing address xxxxxxx" -t 2 I also tried this: minerd.exe -a sha256d -O user:password -o http://127.0.0.1:13000/ --coinbase-addr=bc1q5d7lfmu9esswxjayjyynk5tn8jd2w9x5jxn0n5 -t 2 On both occasions I get the error: HTTP request failed: Failed to connect to 127.0.0.1 port 13000: Connection refused Can you please give some guidance as to what I should do to resolve this issue?? Thank you very much. Abu
|
|
|
|
minerja
|
|
January 16, 2021, 03:38:36 PM |
|
My system is as follows: 400GB free. my RAM is 8GB Intel Core i5-4210U CPU @ 1.70GHz 2.40 GHz Bitcoin Client Software and Version Number: V0.20.1 Operating System: Windows 10 (64)I already have bitcoin core running on this laptop. I appreciate your help in this matter. I would like to run a CPU Bitcoin miner on my laptop for a few hours- I know I will not earn anything, but I'm keen to do some mining. I downloaded Poolers CPU miner from Github and used this instructional video ( https://youtu.be/kFudfJ7fTrI) on how to set it up. Please bear in mind that I'm not a programmer or coder, just a guy with an interest in Bitcoin with some superficial knowledge on computing who is eager to learn. I switched the antivirus off and I was able to run the "minerd.exe" program using the CMD. When I run the program, I get this error message: [2021-01-15 20:25:11] HTTP request failed: Failed to connect to 127.0.0.1 port 13000: Connection refused I'm not sure why this is happening. I am connected to the internet. I switched my VPN off in case it was the cause. I'm running Bitcoin Core and it has multiple connections and is synched up to date. The configuration file "Bitcoin.conf" is located within the "Bitcoin" folder in %AppData% and is as follows: server=1 rpcuser=user rpcpassword=password rpcallowip=127.0.0.1 rpcport=13000 I ran the "minerd.exe" program with the following command: minerd.exe -a sha256d -O user:password -o 127.0.0.1:13000 --coinbase-addr=""xxxxxxx bitcoing address xxxxxxx" -t 2 I also tried this: minerd.exe -a sha256d -O user:password -o http://127.0.0.1:13000/ --coinbase-addr=bc1q5d7lfmu9esswxjayjyynk5tn8jd2w9x5jxn0n5 -t 2 On both occasions I get the error: HTTP request failed: Failed to connect to 127.0.0.1 port 13000: Connection refused Can you please give some guidance as to what I should do to resolve this issue?? Thank you very much. Abu -------------------------------------- 2 issues Issue 1 need to change .conf ---------------------- server=1 rpcuser=user rpcpassword=password rpcallowip=127.0.0.1 rpcport=13000 ---------------------- change to ---------------------- server=1 listen=1 daemon=1 rpcuser=user rpcpassword=password rpcallowip=127.0.0.1 rpcport=13000 ---------------------- This will now work for most solo mining (sometimes --coinbase-addr=bc1q5d7lfmu9esswxjayjyynk5tn8jd2w9x5jxn0n5 helps sometimes fails - try both ways) HOWEVER issue 2 You can no longer solo mine to the BTC wallet. I cannot remember the version but they removed the rpc function, i think from version 16 onwards. If you want to solo mine, it will have to be another coin. (Unless a solo pool for BTC exists) Are you just wanting to learn how to solo mine? If so i can probably find an old worthless coin that still syncs and is cpu minable, just so you can see the process.
|
|
|
|
JayDDee
|
|
January 16, 2021, 04:37:19 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients.
|
|
|
|
Abuliglig
Newbie
Offline
Activity: 24
Merit: 8
|
|
January 16, 2021, 04:50:11 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients. Can you kindly tell me how I open the 1300 Port, please? I know it's futile, but still want to try
|
|
|
|
minerja
|
|
January 16, 2021, 04:55:49 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients. Hi Jaydee.... I have tried using you're miner...works with BTC 16 and lower, but not higher
|
|
|
|
JayDDee
|
|
January 16, 2021, 05:01:47 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients. Can you kindly tell me how I open the 1300 Port, please? I know it's futile, but still want to try Configuring your firewall is not a mining issue and it depends on the OS you're using. Do a little research, it shouldn't be too hard to find tutorials and howtos.
|
|
|
|
JayDDee
|
|
January 16, 2021, 05:02:55 PM |
|
Hi Jaydee....
I have tried using you're miner...works with BTC 16 and lower, but not higher
I don't know what you mean, follow up in my thread.
|
|
|
|
Abuliglig
Newbie
Offline
Activity: 24
Merit: 8
|
|
January 16, 2021, 05:13:39 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients. Can you kindly tell me how I open the 1300 Port, please? I know it's futile, but still want to try Configuring your firewall is not a mining issue and it depends on the OS you're using. Do a little research, it shouldn't be too hard to find tutorials and howtos. Thank you for this, I'll look it up.
|
|
|
|
Abuliglig
Newbie
Offline
Activity: 24
Merit: 8
|
|
January 16, 2021, 06:06:15 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients. Can you kindly tell me how I open the 1300 Port, please? I know it's futile, but still want to try Configuring your firewall is not a mining issue and it depends on the OS you're using. Do a little research, it shouldn't be too hard to find tutorials and howtos. I have looked up how to get the firewall to allow the 13000 port, but do I set it for Inbound or Outbound traffic or for both? Thank you Abu.
|
|
|
|
JayDDee
|
|
January 16, 2021, 06:17:47 PM |
|
I have looked up how to get the firewall to allow the 13000 port, but do I set it for Inbound or Outbound traffic or for both?
Thank you Abu.
Short answer, both. Outbound is for clients and is usually allowed by default. Inbound is for servers and should only be allowed under strict conditions.
|
|
|
|
minerja
|
|
January 16, 2021, 06:49:50 PM |
|
You can no longer solo mine to the BTC wallet.
You're thinking of the mining software built in to the wallet, that no longer exists. You can still mine solo using RPC, it's required for any mining to be possible. It's just futile to do so with a CPU. I think the user's problem is the firewall, Port 13000 needs to be opened for local clients. I have just tried this with wallet 20.1 and i can't get it to work either...works perfect with Bitcoin Wallet 16 C:\Users\Miner_NVMe\Crypto\0 Miners\cpuminer-opt-3.15.4-windows>cpuminer-zen -a sha256d -o http://127.0.0.1:8332 -u xxxx -p xxxx -t 1 --coinbase-addr=aQimFGHgkiyRQMtTFEJ9GnCFHipT1AQMcy ********** cpuminer-opt 3.15.4 *********** A CPU miner with multi algo support and optimized for CPUs with AVX512, SHA and VAES extensions by JayDDee. BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT CPU: AMD Ryzen 7 1800X Eight-Core Processor SW built on Dec 15 2020 with GCC 9.3.0 CPU features: AVX2 AES SHA SW features: AVX2 AES SHA Algo features: AVX2 Starting miner with AVX2... [2021-01-16 18:48:07] CPU affinity [!!!!!!!!!!!!!!!!] [2021-01-16 18:48:07] 1 of 16 miner threads started using 'sha256d' algorithm [2021-01-16 18:48:07] Miner thread priority 0 (nice 19) [2021-01-16 18:48:08] Empty data received in json_rpc_call. [2021-01-16 18:48:08] getblocktemplate failed, falling back to getwork [2021-01-16 18:48:08] Empty data received in json_rpc_call. [2021-01-16 18:48:08] json_rpc_call failed, retry after 10 seconds [2021-01-16 18:48:18] Empty data received in json_rpc_call. [2021-01-16 18:48:18] json_rpc_call failed, retry after 10 seconds
|
|
|
|
JayDDee
|
|
January 16, 2021, 07:41:21 PM |
|
Does Pooler work? cpuminer-multi? GPU miners? It looks like a protocol change in the Bitcoin RPC. It's not worth fixing even if I knew how, CPU mining BTC is long obsolete.
|
|
|
|
darkninja13
Newbie
Offline
Activity: 1
Merit: 0
|
|
January 21, 2021, 12:22:02 AM |
|
can you make cpuminer version for mobile iOS, Android or Javascript web client?
|
|
|
|
Luca_Blight
Newbie
Offline
Activity: 8
Merit: 0
|
|
February 16, 2021, 06:40:19 PM |
|
I am trying to mine using this software like in the same way I use to mine other coins via CPU mining. These are the steps I did: 1 - My bitcoin.conf file: server=1 daemon=1 txindex=1 rpcport=8332 rpcuser=user rpcpass=123456 2 - My conf file for minerd: { "url": " http://127.0.0.1:8332", "userpass": "user:123456", "threads": "2", "algo": "sha256d", "debug": true, "no-longpoll": true, "no-stratum": true, "quiet": true } 3 - My Bitcoin core wallet is open, fully synchronized, and unlocked. 4 - I run the minerd with the command: ./minderd --config=./conf.json But I get URL connection ERROR, what should I do different?
|
|
|
|
minerja
|
|
February 17, 2021, 08:02:44 AM Last edit: February 17, 2021, 05:54:56 PM by minerja |
|
I am trying to mine using this software like in the same way I use to mine other coins via CPU mining. These are the steps I did: 1 - My bitcoin.conf file: server=1 daemon=1 txindex=1 rpcport=8332 rpcuser=user rpcpass=123456 2 - My conf file for minerd: { "url": " http://127.0.0.1:8332", "userpass": "user:123456", "threads": "2", "algo": "sha256d", "debug": true, "no-longpoll": true, "no-stratum": true, "quiet": true } 3 - My Bitcoin core wallet is open, fully synchronized, and unlocked. 4 - I run the minerd with the command: ./minderd --config=./conf.json But I get URL connection ERROR, what should I do different? in the bitcoin.conf add rpcallowip=127.0.0.1 and change rpcpass=123456 to rpcpassword=123456
|
|
|
|
Luca_Blight
Newbie
Offline
Activity: 8
Merit: 0
|
|
February 18, 2021, 01:37:15 PM |
|
I am trying to mine using this software like in the same way I use to mine other coins via CPU mining. These are the steps I did: 1 - My bitcoin.conf file: server=1 daemon=1 txindex=1 rpcport=8332 rpcuser=user rpcpass=123456 2 - My conf file for minerd: { "url": " http://127.0.0.1:8332", "userpass": "user:123456", "threads": "2", "algo": "sha256d", "debug": true, "no-longpoll": true, "no-stratum": true, "quiet": true } 3 - My Bitcoin core wallet is open, fully synchronized, and unlocked. 4 - I run the minerd with the command: ./minderd --config=./conf.json But I get URL connection ERROR, what should I do different? in the bitcoin.conf add rpcallowip=127.0.0.1 and change rpcpass=123456 to rpcpassword=123456 Thank you, the problem was with the rpcpass, the correct is rpcpassword. I had to set in my conf file for minerd the coinbase-addr, now it seems the minerd is running, however I only get something like this: DEBUG: got new work in 1069 ms Not sure if it is really working.
|
|
|
|
minerja
|
|
February 18, 2021, 02:07:39 PM |
|
I am trying to mine using this software like in the same way I use to mine other coins via CPU mining. These are the steps I did: 1 - My bitcoin.conf file: server=1 daemon=1 txindex=1 rpcport=8332 rpcuser=user rpcpass=123456 2 - My conf file for minerd: { "url": " http://127.0.0.1:8332", "userpass": "user:123456", "threads": "2", "algo": "sha256d", "debug": true, "no-longpoll": true, "no-stratum": true, "quiet": true } 3 - My Bitcoin core wallet is open, fully synchronized, and unlocked. 4 - I run the minerd with the command: ./minderd --config=./conf.json But I get URL connection ERROR, what should I do different? in the bitcoin.conf add rpcallowip=127.0.0.1 and change rpcpass=123456 to rpcpassword=123456 Thank you, the problem was with the rpcpass, the correct is rpcpassword. I had to set in my conf file for minerd the coinbase-addr, now it seems the minerd is running, however I only get something like this: DEBUG: got new work in 1069 ms Not sure if it is really working. You're not actually trying to mine BTC with a cpu are you? With this level of difficulty, even if you were the only person mining, you MIGHT get a block in 1,000 years, but up against the current hashrate, you'd have more chance of living to be a 1000 year old than mine a block. Not the way to learn cpu mining...
|
|
|
|
Luca_Blight
Newbie
Offline
Activity: 8
Merit: 0
|
|
February 18, 2021, 05:14:26 PM |
|
I am trying to mine using this software like in the same way I use to mine other coins via CPU mining. These are the steps I did: 1 - My bitcoin.conf file: server=1 daemon=1 txindex=1 rpcport=8332 rpcuser=user rpcpass=123456 2 - My conf file for minerd: { "url": " http://127.0.0.1:8332", "userpass": "user:123456", "threads": "2", "algo": "sha256d", "debug": true, "no-longpoll": true, "no-stratum": true, "quiet": true } 3 - My Bitcoin core wallet is open, fully synchronized, and unlocked. 4 - I run the minerd with the command: ./minderd --config=./conf.json But I get URL connection ERROR, what should I do different? in the bitcoin.conf add rpcallowip=127.0.0.1 and change rpcpass=123456 to rpcpassword=123456 Thank you, the problem was with the rpcpass, the correct is rpcpassword. I had to set in my conf file for minerd the coinbase-addr, now it seems the minerd is running, however I only get something like this: DEBUG: got new work in 1069 ms Not sure if it is really working. You're not actually trying to mine BTC with a cpu are you? With this level of difficulty, even if you were the only person mining, you MIGHT get a block in 1,000 years, but up against the current hashrate, you'd have more chance of living to be a 1000 year old than mine a block. Not the way to learn cpu mining... I know I will get nothing, but I just would like to see this program working as it was planned to work since the beggining of Bitcoin mining. I mine others coins via CPU, I guess it would be the same way for Bitcoin as well, so I just wanted to see this working.
|
|
|
|
otacilioricardo
Newbie
Offline
Activity: 2
Merit: 0
|
|
August 08, 2021, 04:36:23 AM |
|
Hello. I tried to install CPUminer, on Windows 10, using the commands from the website below. Website: https://github.com/pooler/cpuminerCan this program be used on a cluster, with Debian? Text mode only. I plan to create my Bitcoin farm. Programming is not a problem. What initial steps? Thanks. Olá. Tentei instalar o CPUminer, no Windows 10, usando os comandos do site abaixo. Site: https://github.com/pooler/cpuminerEsse programa pode ser usando em um cluster, com Debian? Somente modo texto. Pretendo criar minha fazenda de Bitcoins. A programação não é problema. Quais passos iniciais? Obrigado.
|
|
|
|
|