Bitcoin Forum
May 14, 2024, 01:25:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A full node on RPi: 2 questions  (Read 1367 times)
mightycount (OP)
Member
**
Offline Offline

Activity: 101
Merit: 10



View Profile
December 19, 2012, 05:58:24 PM
 #1

I managed built a full node on RPi and spent the time to catch up with the network. Since it took a while, I thought it would be of a value to the community if I offered up an ISO image or something like that to save time and hassle for anyone who would need it. I have 2 questions in that regard:

1) What would I need to strip off to remove my personal addresses and make it usable by anyone, and
2) What is the best utility to create an ISO from a 32Gb SDHC?

Personal Bitcoin Black List - Companies and people to avoid!
````` Butterfly Labs...MtGox...ragingazn628...(reserved)...  `````
1715693140
Hero Member
*
Offline Offline

Posts: 1715693140

View Profile Personal Message (Offline)

Ignore
1715693140
Reply with quote  #2

1715693140
Report to moderator
1715693140
Hero Member
*
Offline Offline

Posts: 1715693140

View Profile Personal Message (Offline)

Ignore
1715693140
Reply with quote  #2

1715693140
Report to moderator
1715693140
Hero Member
*
Offline Offline

Posts: 1715693140

View Profile Personal Message (Offline)

Ignore
1715693140
Reply with quote  #2

1715693140
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Photon939
Sr. Member
****
Offline Offline

Activity: 452
Merit: 250



View Profile
December 19, 2012, 06:04:49 PM
 #2

I wonder how many write cycles SD card flash is rated for? The sheer volume of HDD flogging that even a good desktop hard drive goes through to update a few days worth of blocks is rather worrying.

I could be being overly paranoid, but it might be worth looking into.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
December 19, 2012, 07:46:16 PM
 #3

I managed built a full node on RPi and spent the time to catch up with the network. Since it took a while, I thought it would be of a value to the community if I offered up an ISO image or something like that to save time and hassle for anyone who would need it. I have 2 questions in that regard:

1) What would I need to strip off to remove my personal addresses and make it usable by anyone, and
2) What is the best utility to create an ISO from a 32Gb SDHC?
It would be most useful to have this done with 0.8 (which is not out yet) since it has much more efficient blockchain management. (e.g. far fewer writes)

Removing wallet.dat, debug.log, and database/  directory (shut down cleanly with the detatch option first), and system logs (e.g. /var/log/messages/*), and then fill the empty space on the media with zeros would remove your personal information, someone who received it from you would need to trust that you did not compromise the blockchain (or the software! for that matter).

You can create an image of the SDHC card by connecting it to a GNU/Linux system, and running dd if=/dev/sdb of=rpi-bitcoin.img   where sdb is whatever device the SDHC card showed up (see dmesg output).

I would not recommend using an rpi for mining simply because it's quite slow and might result in a higher orphan rate— if people are looking for a low power mining solution there are a number of much faster arm boards (and bitcoind will soon use multicore fairly effectively for validation) out there, and small intel x86_64 systems can be quite power efficient especially with power management enabled (w/ bitcoin a node can probably spend a lot of time in low power mode).

Note: there have been some rare crashes on arm with current code that have been reported but haven't been tracked down yet.
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
December 19, 2012, 08:11:11 PM
 #4

I would love to give my abandoned pi
Is there a howto somewhere?
I also would like to have a full p2pool node on it.

Connecting miners to the pi does not work ..... USB issues

mightycount (OP)
Member
**
Offline Offline

Activity: 101
Merit: 10



View Profile
December 19, 2012, 10:22:50 PM
 #5

I managed built a full node on RPi and spent the time to catch up with the network. Since it took a while, I thought it would be of a value to the community if I offered up an ISO image or something like that to save time and hassle for anyone who would need it. I have 2 questions in that regard:

1) What would I need to strip off to remove my personal addresses and make it usable by anyone, and
2) What is the best utility to create an ISO from a 32Gb SDHC?
It would be most useful to have this done with 0.8 (which is not out yet) since it has much more efficient blockchain management. (e.g. far fewer writes)

Removing wallet.dat, debug.log, and database/  directory (shut down cleanly with the detatch option first), and system logs (e.g. /var/log/messages/*), and then fill the empty space on the media with zeros would remove your personal information, someone who received it from you would need to trust that you did not compromise the blockchain (or the software! for that matter).

You can create an image of the SDHC card by connecting it to a GNU/Linux system, and running dd if=/dev/sdb of=rpi-bitcoin.img   where sdb is whatever device the SDHC card showed up (see dmesg output).

I would not recommend using an rpi for mining simply because it's quite slow and might result in a higher orphan rate— if people are looking for a low power mining solution there are a number of much faster arm boards (and bitcoind will soon use multicore fairly effectively for validation) out there, and small intel x86_64 systems can be quite power efficient especially with power management enabled (w/ bitcoin a node can probably spend a lot of time in low power mode).

Note: there have been some rare crashes on arm with current code that have been reported but haven't been tracked down yet.

Awesome, thanks! I'll try to build a Linux box over the weekend and do this.

Legit concerns, regarding the possible compromises, too. I guess the best I can do is add my own signature to it, at least to minimize the exposure.

Personal Bitcoin Black List - Companies and people to avoid!
````` Butterfly Labs...MtGox...ragingazn628...(reserved)...  `````
witherworth
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
December 20, 2012, 04:12:59 AM
 #6

I managed built a full node on RPi and spent the time to catch up with the network. Since it took a while, I thought it would be of a value to the community if I offered up an ISO image or something like that to save time and hassle for anyone who would need it. I have 2 questions in that regard:

1) What would I need to strip off to remove my personal addresses and make it usable by anyone, and
2) What is the best utility to create an ISO from a 32Gb SDHC?



I'd be interested in doing this with my PI as well. Could you write up some simple instructions on how to do this? It shouldn't be too difficult to setup, I would imagine, but I haven't done much with my PI since I've gotten it, so I'm still a little clunky with it.

I'd be more interested in a write up/tutorial than an ISO I've got to write to my card.
mightycount (OP)
Member
**
Offline Offline

Activity: 101
Merit: 10



View Profile
December 20, 2012, 08:10:26 PM
 #7

I managed built a full node on RPi and spent the time to catch up with the network. Since it took a while, I thought it would be of a value to the community if I offered up an ISO image or something like that to save time and hassle for anyone who would need it. I have 2 questions in that regard:

1) What would I need to strip off to remove my personal addresses and make it usable by anyone, and
2) What is the best utility to create an ISO from a 32Gb SDHC?



I'd be interested in doing this with my PI as well. Could you write up some simple instructions on how to do this? It shouldn't be too difficult to setup, I would imagine, but I haven't done much with my PI since I've gotten it, so I'm still a little clunky with it.

I'd be more interested in a write up/tutorial than an ISO I've got to write to my card.

For the base build instructions, I took Unix instruction from the bitcoin distro documentation. I did have to overcome a few issues along the way, mostly by editing makefiles.. Not sure if I remember all the issues though. Here are some:
-- I had to change leveldb.lib dependency to leveldb.a in the bitcoin makefile.
-- I used boost 1.52 instead of the suggested version, which required more bitcoin makefile changes.
-- I had to build leveldb myself, so I had to add include (-I) and library (-L) directory dependencies, plus export LD_LIBRARY_PATH variable

Hope this helps..

Personal Bitcoin Black List - Companies and people to avoid!
````` Butterfly Labs...MtGox...ragingazn628...(reserved)...  `````
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
December 21, 2012, 01:43:23 AM
 #8

People looking to run nodes on small hardware may have better luck with something like http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135341370451

(quad 1.7ghz, 2gb ram; $89)
hardcore-fs
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile WWW
December 27, 2012, 01:22:43 PM
 #9

I wonder how many write cycles SD card flash is rated for? The sheer volume of HDD flogging that even a good desktop hard drive goes through to update a few days worth of blocks is rather worrying.

I could be being overly paranoid, but it might be worth looking into.

Depends where you buy your SD cards, I did a year of research on Nand-flash.

The life can be anything from <1,000 writes to more than 5,000, depends a lot on the technology and if it is multi-level or not.

BTC:1PCTzvkZUFuUF7DA6aMEVjBUUp35wN5JtF
hardcore-fs
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile WWW
December 27, 2012, 01:33:50 PM
 #10

People looking to run nodes on small hardware may have better luck with something like http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135341370451

(quad 1.7ghz, 2gb ram; $89)

Depends..........
Read the spec sheets for LAN9730 &USB3503 and then decide if you think it is such a good deal.

BTC:1PCTzvkZUFuUF7DA6aMEVjBUUp35wN5JtF
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!