Bitcoin Forum
June 24, 2024, 05:54:47 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining software (miners) / Re: Trouble installing cgminer on Raspberry Pi on: February 18, 2024, 09:28:50 PM
I heard someone that they fixed the issue by downgrading the RaspiOS to version 10.
I would prefer to get it working before nuking my entire OS again and downgrading two version.

Others also said they fixed their issue by switching to Debian Bullseye 32bit you can try it and hope it also works for you.
I tried that already, but it didn't work  Sad
2  Bitcoin / Mining software (miners) / Re: Trouble installing cgminer on Raspberry Pi on: February 07, 2024, 10:57:24 AM
Followed the guide and got the same exact errors again  Huh
3  Bitcoin / Mining software (miners) / Trouble installing cgminer on Raspberry Pi on: February 06, 2024, 04:14:02 PM
Hey guys,

I tried installing cgminer on my Raspberry Pi (running Raspberry Pi OS Lite 64-bit [tried both Debian 11 and 12]), but I can't run it after doing the "make" command.
At the end of the "make" command there is always the following error message:

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:833: cgminer] Error 1
make[2]: Leaving directory ‚/home/user/cgminer‘
make[1]: *** [Makefile:1756: all-recursive] Error 1
make[1]: Leaving directory ‚/home/user/cgminer‘
make *** [Makefile:736:all] Error 2

Any idea what's wrong and how I can fix it?  Huh

PS. I'm a noob when it comes to Linux and also only know very basic coding stuff  Embarrassed
4  Bitcoin / Development & Technical Discussion / Re: Are Taproot addresses less secure than native Segwit? on: August 30, 2023, 09:05:01 AM

Quote
Are the assumptions correct or do I have a misconception somewhere?
Yes, they are correct.

So wouldn't it be smarter for me to use native Segwit addresses if I don't need any of the Taproot functionality (except for the future fee savings)?
5  Bitcoin / Development & Technical Discussion / Are Taproot addresses less secure than native Segwit? on: August 29, 2023, 07:13:12 PM
Hey guys, I got a quick technical question...

Is it true that Taproot addresses are just the Public Key encoded in bech32m?

And native Segwit addresses are a hash of the Public Key encoded in bech32?

Because that would mean that in order to get from the Public Key to the Private Key of the address, you would "only" need to break the elliptic curve with Taproot.
While with native Segwit you would also need to break the hashing algorithm.

Are the assumptions correct or do I have a misconception somewhere?
6  Bitcoin / Mining / Re: How many leading zeros did I have? on: October 07, 2022, 04:37:18 AM
Thanks for the answer.

Yes I'm solo mining. I just thought that by the achieved difficulty of the share there was a way to find out how many leading zeros the hash created had. Just out of curiosity.

Share difficulty setting is on auto and adjusts to 1 since it's not a powerful device  Cheesy
Still it sometimes happens that the share has a difficulty of 500/1 or apparently one time even 16 million.
7  Bitcoin / Mining / How many leading zeros did I have? on: October 06, 2022, 11:15:17 AM
Hey guys,

my miner reports that the difficulty of my best share was 16M. How many leading zeros did it have and what difficulty would be needed right now to find a valid block?

Thanks in advance  Cheesy
8  Bitcoin / Mining support / bfgminer - Bitmain Antminer U2 & Raspberry Pi Model 3 B+ - solo mining setup on: March 07, 2022, 09:25:32 AM
***bfgminer - Bitmain Antminer U2 & Raspberry Pi Model 3 B+ - solo mining setup***

*using Raspberry Pi Model 3 B+
*using Bitmain Antminer U2
*using Raspberry Pi OS Lite (64 bit)
*using solo.ckpool.org
*using bfgminer

*NOTE: Instead of 'BITCOIN_ADDRESS' insert your own Bitcoin Address.

*Go to the main directory:
cd

*Update the Raspberry Pi:
sudo apt-get update
sudo apt-get upgrade

*Install dependencies:
sudo apt-get install git build-essential autoconf automake libtool libgcrypt20-dev pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libusb-1.0-0 libevent-dev libmicrohttpd-dev libhidapi-dev

*Clone bfgminer:
git clone https://github.com/luke-jr/bfgminer.git

*Edit .gitmodules
cd bfgminer
sudo nano .gitmodules
*In this file you have to replace every „git://“ with „https://“
*Exit and save the file (Exit with ‚CTRL X‘ and confirm changes by pressing ‚Y‘ and pressing ‚Enter‘)

*Configure and compile bfgminer:
sudo ./autogen.sh
sudo ./configure
sudo make

*Start bfgminer (while in 'bfgminer' directory):
sudo ./bfgminer -o stratum+tcp://solo.ckpool.org:3333 -u BITCOIN_ADDRESS -p btc -S all



**Autostart bfgminer in a screen session when Raspberry Pi is powered on - optional**

*Go to the main directory:
cd

*Install screen:
sudo apt-get install screen

*Open this file:
sudo nano /etc/rc.local

*Add this just above 'exit 0':
cd /home/pi/bfgminer
sudo screen -dmS bfg ./bfgminer -o stratum+tcp://solo.ckpool.org:3333 -u BITCOIN_ADDRESS -p btc -S all

*Exit with 'CTRL X' and confirm changes by pressing 'Y' and pressing 'Enter'



**Using screen - basics**

*Attach bfg screen session after Raspberry Pi startup:
sudo screen -x bfg

*Detach bfg screen session
Press 'CTRL A' thereafter 'D' (while session is attached)

*Kill bfg screen session
Press 'CTRL A' thereafter 'K', confirm by pressing 'Y' (while session is attached)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!