Author

Topic: Bitcoind 0.9.1 on RaspberryPi (Read 1305 times)

legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
June 03, 2014, 08:49:29 PM
#10
Okay, I have to ask:  what's the hash rate on a Raspberry Pi if you set generate coins to true?   Grin

https://en.bitcoin.it/wiki/Mining_hardware_comparison#ARM

 Smiley
legendary
Activity: 924
Merit: 1132
June 03, 2014, 08:36:28 PM
#9
Okay, I have to ask:  what's the hash rate on a Raspberry Pi if you set generate coins to true?   Grin
sr. member
Activity: 362
Merit: 252
June 02, 2014, 02:47:59 AM
#8
Just remembered: If you worry about debug.log write cycles, run with -printtoconsole.

Thanks for the tip. But there are so many services that log to files on the sd card. I don't think that whether or not bitcoin logs in one as well makes any difference...
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
June 01, 2014, 09:24:40 PM
#7
Just remembered: If you worry about debug.log write cycles, run with -printtoconsole.
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
June 01, 2014, 10:20:17 AM
#6
That's pretty much what I did too. Still not sure what happened.

As the article mentions the band-with limitation (in their example) of the VPS..., one thing I wanted to try out was the trickle command, but haven't gotten around to it. You can limit up-/ download speeds with it. So, knowing your VPS is limited to 400 GB, you calculate your speed to transfer that amount of data in a month and set your trickle values accordingly. 

Since you are interested in nodes... Have you looked at other implementations such as BTCD or libbitcoin?

https://opensource.conformal.com/wiki/btcd
http://libbitcoin.dyne.org/
sr. member
Activity: 362
Merit: 252
June 01, 2014, 09:27:36 AM
#5
I followed this guide to compile:

http://bitcoin-austria.at/artikel/full-bitcoind-node-debian-7-server

It is in German, but the commands are universal Smiley

Important thing to do is to increase the Swapfile-size to 500 MB before compiling like in this guide: http://blog.macoymejia.com/2014/01/27/compiling-bitcoind-on-raspberry-pi/
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
June 01, 2014, 06:48:26 AM
#4
I bought the ODROID. I will keep you postet when it arrives.

0.9.1 compiled fine btw. Just get it with git, run the scripts and compile. The issue with the missing file has been fixed I guess.

Cheers

Levin

Oh, yes, please keep me posted on the Odroid! It looks like it will be the end of any storage capacity woes.

I only tried a few days ago and had no joy via git either. If I recall correctly it was an libboost related error. I'll try again one day. Unfortunately the RPi is now tied up doing something else  Wink
sr. member
Activity: 362
Merit: 252
June 01, 2014, 05:54:24 AM
#3
I bought the ODROID. I will keep you postet when it arrives.

0.9.1 compiled fine btw. Just get it with git, run the scripts and compile. The issue with the missing file has been fixed I guess.

Cheers

Levin
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
May 31, 2014, 11:56:08 PM
#2
You got it compiled? I ended up using 0.8.6 because I couldn't compile (missing makefile.unix) and I also had no joy via github.

Anyway, some other things I did:


Make some room:

Code:
apt-get purge -y lxappearance lxde lxde-common lxde-core lxde-icon-theme lxinput lxpanel lxpolkit lxrandr lxsession-edit lxshortcut lxtask lxterminal xinit xserver-xorg xserver-xorg-video-fbdev wolfram-engine desktop-base desktop-file-utils gnome-icon-theme gnome-themes-standard leafpad menu-xdg omxplayer scratch xarchiver zenity lightdm midori tk8.5 pcmanfm blt idle idle3 python-tk python3-tk dillo openbox 

Code:
 apt-get autoremove -y
Code:
 apt-get autoclean -y 
Code:
 apt-get clean -y
 

Removed unused locales:

Code:
sudo apt-get install localepurge 
sudo localepurge



Installed some:

Code:
apt-get install -y screen watchdog trickle fail2ban ufw 


Some of the things mentioned in this script are useful:
https://bitcointalksearch.org/topic/m.6666525


Some pointers here (although I didn't follow everything to the t):

http://blog.self.li/post/63281257339/raspberry-pi-part-1-basic-setup-without-cables

http://www.cyberciti.biz/faq/howto-regenerate-openssh-host-keys/

http://www.ideaheap.com/2013/07/stopping-sd-card-corruption-on-a-raspberry-pi/

And lastly I used rsync to copy over the block data via ssh. Or you could use the bootstrap torrent (search the forum) and copy that over.


I have no issues with memory. Free memory is always low (~15 MB), but it doesn't crash.


Edit: RPi competition: http://www.hardkernel.com/main/main.php
sr. member
Activity: 362
Merit: 252
May 31, 2014, 07:43:47 AM
#1
Hey guys. As the other threat seems to be dead I start a new one:  https://bitcointalksearch.org/topic/m.4850024

Did anyone successfully set up a STABLE full node on a raspberrypi?

I compiled it using a couple of flags: --disable-wallet --with-cli --without-gui in hope to save on memory. Any other recommendations?

Thanks

Levin
Jump to: