Bitcoin Forum
April 26, 2024, 02:14:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind 0.9.1 on RaspberryPi  (Read 1293 times)
levino (OP)
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile WWW
May 31, 2014, 12:43:47 PM
 #1

Hey guys. As the other threat seems to be dead I start a new one:  https://bitcointalk.org/index.php?topic=191729.msg4850024#msg4850024

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

BM-2cWwQnMzK9XFTjfn6jSRRJwTG8a2wooR9A
www.coyno.com - www.bitcoinage.de
1714097661
Hero Member
*
Offline Offline

Posts: 1714097661

View Profile Personal Message (Offline)

Ignore
1714097661
Reply with quote  #2

1714097661
Report to moderator
1714097661
Hero Member
*
Offline Offline

Posts: 1714097661

View Profile Personal Message (Offline)

Ignore
1714097661
Reply with quote  #2

1714097661
Report to moderator
1714097661
Hero Member
*
Offline Offline

Posts: 1714097661

View Profile Personal Message (Offline)

Ignore
1714097661
Reply with quote  #2

1714097661
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714097661
Hero Member
*
Offline Offline

Posts: 1714097661

View Profile Personal Message (Offline)

Ignore
1714097661
Reply with quote  #2

1714097661
Report to moderator
1714097661
Hero Member
*
Offline Offline

Posts: 1714097661

View Profile Personal Message (Offline)

Ignore
1714097661
Reply with quote  #2

1714097661
Report to moderator
1714097661
Hero Member
*
Offline Offline

Posts: 1714097661

View Profile Personal Message (Offline)

Ignore
1714097661
Reply with quote  #2

1714097661
Report to moderator
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 01, 2014, 04:56:08 AM
 #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://bitcointalk.org/index.php?topic=332679.msg6666525#msg6666525


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

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
levino (OP)
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile WWW
June 01, 2014, 10: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

BM-2cWwQnMzK9XFTjfn6jSRRJwTG8a2wooR9A
www.coyno.com - www.bitcoinage.de
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 01, 2014, 11: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

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
levino (OP)
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile WWW
June 01, 2014, 02:27:36 PM
 #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/

BM-2cWwQnMzK9XFTjfn6jSRRJwTG8a2wooR9A
www.coyno.com - www.bitcoinage.de
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 01, 2014, 03:20:17 PM
 #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/

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 02, 2014, 02:24:40 AM
 #7

Just remembered: If you worry about debug.log write cycles, run with -printtoconsole.

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
levino (OP)
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile WWW
June 02, 2014, 07: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...

BM-2cWwQnMzK9XFTjfn6jSRRJwTG8a2wooR9A
www.coyno.com - www.bitcoinage.de
Cryddit
Legendary
*
Offline Offline

Activity: 924
Merit: 1122


View Profile
June 04, 2014, 01:36:28 AM
 #9

Okay, I have to ask:  what's the hash rate on a Raspberry Pi if you set generate coins to true?   Grin
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 04, 2014, 01:49:29 AM
 #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

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!