Bitcoin Forum
June 21, 2024, 07:14:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Step by step tutorial for a full node on Raspberry Pi needed? on: February 12, 2017, 11:45:26 AM
Hi all,

I run a full node with since several weeks now based on Bitcoin Core and bfgminer on an ARM system (Cubietruck). I couldn't find any complete tutorial for this that's why I had to write my own (I started with https://www.youtube.com/watch?v=SGh3X2e8J2Y which is part 1/2 but there was never a part 2/2).  It is quite long but has examples for every step (so not only the commands you have to run).

Does it make sense to publish it here or are there enough tutorials which I simply didn't find?

Best regards
sj7
2  Bitcoin / Mining software (miners) / Re: BFGMiner 5.4.2: GBT+Stratum, RPC, Mac/Linux/Win64, Antminer S1-S5, solo stratum on: November 16, 2016, 10:54:06 PM
I don't think this is really the right place to ask but I was redirected to this thread by Moderator -ck:

I'm running bitcoin-core-0.13.0 + bfgminer 4.2.0 on Debian8.6 (ARM) I didn't figure out how to start bfgminer with an unprivileged user. I tried:

Code:
sudo useradd -s /bin/false bfgminerUser
sudo adduser bfgminerUser dialout
sudo bfgminer -o http://localhost:8332 -u MyRPCuser -p MyRPCpassword --coinbase-addr MyPayoutAddressForSoloMining --coinbase-sig "rig1: BlockErupterOrange" --setuid MybfgminerUser

Unfortunately bfgminer can not find any devices this way...

Code:
sudo bfgminer -o http://localhost:8332 -u MyRPCuser -p MyRPCpassword --coinbase-addr MyPayoutAddressForSoloMining --coinbase-sig "rig1: BlockErupter"

...works fine (sowithout --setuid MybfgminerUser).

Any ideas?
sj7
3  Bitcoin / Mining support / bfgminer without sudo? (usage of --setuid) on: November 16, 2016, 12:28:13 AM
Hey miners,

running bitcoin-core-0.13.0 + bfgminer 4.2.0 on Debian8.6 (ARM) I didn't figure out how to start bfgminer with an unprivileged user. I tried:

Code:
sudo useradd -s /bin/false bfgminerUser
sudo adduser bfgminerUser dialout
sudo bfgminer -o http://localhost:8332 -u MyRPCuser -p MyRPCpassword --coinbase-addr MyPayoutAddressForSoloMining --coinbase-sig "rig1: BlockErupterOrange" --setuid MybfgminerUser

Unfortunately bfgminer can not find any devices this way...

Code:
sudo bfgminer -o http://localhost:8332 -u MyRPCuser -p MyRPCpassword --coinbase-addr MyPayoutAddressForSoloMining --coinbase-sig "rig1: BlockErupterOrange" 
...works fine (sowithout --setuid MybfgminerUser).

Any ideas?
sj7
4  Other / Beginners & Help / Re: Location of bitchain under Linux? (Error: Disk space is low!) on: January 10, 2014, 04:46:54 PM
Found a solution:

Start the client with paramter -datadir like:

Code:
.../bitcoin-qt -datadir=.../newdatadirection
5  Other / Beginners & Help / Re: Location of bitchain under Linux? (Error: Disk space is low!) on: December 05, 2013, 12:06:43 AM
http://we.lovebitco.in/bitcoin-qt/configuration-file/

A configuration file can be put in the .bitcoin folder, however that means you have the .bitcoin directory AND the other data directory where the databases are stored, which is awkward. A better option is to move the contents of this folder to another, and start with a command line option (that you can create a menu option or script to run):

bitcoin-qt -datadir /mount/mydrive/bitcoin

http://we.lovebitco.in/bitcoin-qt/command-line-options/

Well, is it possible to set a config-file only for "-datadir=(dir)"-command?

What exactly is awkward in this procedure? I just started using BTC so there is nothing that could be "destroyed".

Thank you for your help and sorry for my late reply. I needed some time to follow the links.

/edited
6  Other / Beginners & Help / Re: Location of bitchain under Linux? (Error: Disk space is low!) on: November 25, 2013, 02:37:10 PM

FINALLY!!!

Quote
Linux

By default Bitcoin will put its data here:

~/.bitcoin/

You need to do a "ls -a" to see directories that start with a dot.

If that's not it, you can do a search like this:

find / -name wallet.dat -print 2>/dev/null

Thank you so much! Smiley

Now it is the question how I can relocate this hidden bitcoin-folder. The wiki mentions a "bitcoin.conf [optional]". I looked for it but there is no one. Do I have to set manually?
7  Other / Beginners & Help / Location of bitchain under Linux? (Error: Disk space is low!) on: November 24, 2013, 09:46:24 PM
Hi together,

my question is related to the location of the bitchain under linux. The only useful topic I found is here but it is for windows: https://bitcointalk.org/index.php?topic=171991.msg1789690#msg1789690

Why do I ask this?

I installed the 0.8.5beta-client on an encrypted sd-card under Debian. I read that you need at least 9GB for the blockchain so I decided to use an external "drive" because the internal drive of my Netbook is quite small.

Well, everything works fine and the QT-client synchronized from around 250 weeks to 79 weeks where he stopped with the error message: "Error: Disk space is low!"

I think Bitcoin doesn't save the bitchain in same directory as the client, isn't it? At least under Windows it is stored under "user data". I think under Linux it is the same because my SD-card with the client still has the same free space, nothing changed. At the moment I have 12GB free space on the card.

So my question: Does anybody know where BTC saves the chain and how I can relocate it?

Thank you in advance!
sj7
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!