Title: bitcoind for synology nas (ARM) Post by: ziomik on October 21, 2012, 03:50:12 PM Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)?
I'm going crazy! Title: Re: bitcoind for synology nas (ARM) Post by: Panoramix on October 22, 2012, 03:12:44 PM Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)? I've been thinking about doing this as well. I'd be very interested in your experiences.I'm going crazy! Title: Re: bitcoind for synology nas (ARM) Post by: P_Shep on October 22, 2012, 04:59:42 PM Been trying for DD-WRT (MIPS).
Not gone well. Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on October 22, 2012, 05:34:06 PM I'm very stubborn and I did;)
You can download the compiled file , here (v0.7.1-64-g2ef1569-beta): http://www.sendspace.com/file/rnr45y (http://www.sendspace.com/file/rnr45y) If you want to compile your own (with some variations may be fine for other ARM platforms) I worked on clean Debian platform for a Cross-Compiled. Download the correct toolchain for your ARM. For Synology NAS: http://download.synology.com/download/ds/userguide/Synology_DiskStation_Manager_3rd_Party_Apps_Developer_Guide.pdf Download db http://pkgs.fedoraproject.org/repo/pkgs/openldap/db-4.8.26.tar.gz Download openssl http://www.openssl.org/source/openssl-1.0.1c.tar.gz Download boost http://sourceforge.net/projects/boost/files/boost/1.49.0/boost_1_49_0.tar.bz2 Code: apt-get install git build-essential libncurses5-dev bison flex gettext texinfo libgmp3-dev libmpfr-dev Put all the downloaded files in a folder and start a sh file with the following code: Code: export CC=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc Finally, you will find the file in bitcoind in bitcoin/src/ It's not all my work, but I have a little changed from an old post on the forum synology of a user named "PK" Title: Re: bitcoind for synology nas (ARM) Post by: hamdi on October 22, 2012, 05:39:27 PM doesnt i slow down the nas?
Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on October 22, 2012, 05:44:52 PM Now is downloading blockchain and the CPU is used 100% ::) :o
I want to see, when it will end, if it changes the workload Code: Mem: 102484K used, 16000K free, 0K shrd, 600K buff, 9312K cached Title: Re: bitcoind for synology nas (ARM) Post by: runeks on October 23, 2012, 06:14:47 PM Cool! Might be an idea to copy over a block chain from another computer you have though. I imagine verifying the block chain on a device like that will take weeks.
Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on October 23, 2012, 06:20:06 PM Maybe you're right ... :D :D
Code: userDiskManager> ls -l Title: Re: bitcoind for synology nas (ARM) Post by: runeks on October 23, 2012, 06:53:23 PM Looks like it downloaded 640 MB in 24 hours. But I don't think it verifies any transactions until block 190,000 (the latest check point). After that it will probably slow down significantly.
Also, note that you seem to be running the ultra-prune version (https://bitcointalk.org/index.php?topic=119525.0;all) (which you should, since it has been merged to main), which has been known to corrupt wallets (https://bitcointalk.org/index.php?topic=119525.msg1287382#msg1287382). Just a heads up. Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on October 23, 2012, 07:32:45 PM Isn't the ultra-prune in action. I downloaded the sources from the official github..
Code: git clone https://github.com/bitcoin/bitcoin.git Title: Re: bitcoind for synology nas (ARM) Post by: runeks on October 23, 2012, 09:21:56 PM Yes, you are running the ultra-prune version.
I was just letting you know that there have been reports of this version corrupting wallets, and that it's a fairly big code change, so it might not be as stable as the official releases. So if you want to run bleeding edge, this is the version to get. If you want stable, it might be better to grab an official release like 0.7.1 (http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.7.1/bitcoin-0.7.1-linux.tar.gz) and building that. Title: Re: bitcoind for synology nas (ARM) Post by: hardcore-fs on October 24, 2012, 02:48:47 AM Why bother, all you would do is increase the CPU temp of the synology , causing it to NOT enter the sleep mode, thereby using MORE electricity than you can earn from generating bitcoins.
HC Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on October 24, 2012, 06:02:31 AM The purpose is not to generate bitcoin, but having a personal wallet I'll put on the network and will manage through the web wherever I am.
Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on November 10, 2012, 12:16:53 PM I have a strange answer bitcoind running. I have not found solutions. Aid?
Code: ./bitcoind -datadir=/volume1/.bitcoin/ Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on December 23, 2012, 01:28:11 PM Help..... :'(
debug.log Code: Default data directory /root/.bitcoin Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on December 23, 2012, 04:52:34 PM solution is recompiled new build. :D
Title: Re: bitcoind for synology nas (ARM) Post by: Raize on December 24, 2012, 04:49:04 PM Holy crap ziomik. That's awesome. How long did it run at 100% CPU before it finished verifying the blockchain? I'm tempted to give this a shot.
Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on December 24, 2012, 10:41:16 PM Hello, I had to stop because, as you can see from the post above, the version I had compiled was the ultra-prune and was clobbered.
Now I have compiled 0.7.2 and began again to download the blockchain. At this time are the block number 15432. At the download has worked 100% cpu but now it is the ram that is consumed much. My nas use it as a video straming and while doing this work, I just finished looking at the film "The Watch" without a hint of problems .. ;) Title: Re: bitcoind for synology nas (ARM) Post by: Raize on December 25, 2012, 12:39:09 AM When you say video streaming do you mean Plex or Video Station? That's too bad about RAM usage, but I'm actually thinking of upgrading my NAS. I can especially justify it if it can host the blockchain for me!
Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on December 25, 2012, 08:19:36 AM use Plex.
I want to see if it will decrease the use, when bitcoind end of download ... we will see .. Title: Re: bitcoind for synology nas (ARM) Post by: lebuen on January 28, 2013, 04:13:15 PM Any news? Is it working? :)
Title: Re: bitcoind for synology nas (ARM) Post by: ziomik on January 28, 2013, 04:22:53 PM Arrived at block 19967 !
it's hard! :P Title: Re: bitcoind for synology nas (ARM) Post by: JhonDoe on January 28, 2015, 06:50:17 PM Hi.
I am interested in continue this topic because I try to install a Bitcoin node in a Synology and it is the nearest information to do it that I have found. If someone has new information about this I will feel happy if he/she shares with us. I'll try to follow this guide step by step and I will tell here my progress. Thanks. Doe Title: Re: bitcoind for synology nas (ARM) Post by: johoe on January 29, 2015, 11:50:42 AM I am interested in continue this topic because I try to install a Bitcoin node in a Synology and it is the nearest information to do it that I have found. If someone has new information about this I will feel happy if he/she shares with us. I'll try to follow this guide step by step and I will tell here my progress. I gave up on this idea. My ARM-based synology has only 512 MB of RAM. This is less than what bitcoind used to take on my desktop. Maybe it is better now. Still the ARM processor is slow and it will take a long time to catch up with the block chain (if it will catch up at all). Maybe one can "pre-index" the blockchain by copying the .bitcoin/blocks directory from another computer. I'm not sure if the index can be ported over to a different architecture, though. I thought about making a non-verifying bitcoind that just stores the blockchain without doing any checking at all (or at least avoid the most expensive ones, like signature and UTXO checking). Then use an SPV client that connects to this bitcoind. This avoids leaking any information about the transactions you are requesting and it still has the security of SPV. I haven't started doing anything in this direction, though. If you have a x86-based synology with 2 GB of RAM then you should be able to run bitcoind out of the box. Title: Re: bitcoind for synology nas (ARM) Post by: Carlton Banks on January 29, 2015, 12:59:08 PM I am interested in continue this topic because I try to install a Bitcoin node in a Synology and it is the nearest information to do it that I have found. If someone has new information about this I will feel happy if he/she shares with us. I'll try to follow this guide step by step and I will tell here my progress. I gave up on this idea. My ARM-based synology has only 512 MB of RAM. This is less than what bitcoind used to take on my desktop. Maybe it is better now. If you run the configure script with --disable-wallet, make will build a bitcoind executable that consumes only ~200 MB RAM. The processor will still get tortured by the verification. Possibly the use of Intel low power chips with libsecp256k (the Bitcoin Core developed crypto library) verification code could make this sort of idea more practicable, but it'd be wise to wait until that code is being used in the main client (apparently the library is only used for signing txs in 0.10.0) Title: Re: bitcoind for synology nas (ARM) Post by: theringe on June 17, 2017, 07:33:34 PM I still have a try on this moment although it's nothing worth trying at all :P
I originally want to save the power/time from syncing data, which use my DS115j to get latest blickchain files 24/7 and docking my laptop with faster synchronization when needed. so I didn't compile wallet and gui(qt) in my case. here's my platform: VMWare Ubuntu 64 bit 16.04 netboot only with openssh Host CPU: 4 of 8 core intel xeon E3-1505M v5 MEM: 4GB and here's the processes, and it's taking about 20 minutes Code:
after that, you can copy your bitcoin-${ver}-arm-linux-gnueabihf.tar.gz to the DS115j Title: Re: bitcoind for synology nas (ARM) Post by: spin on June 21, 2017, 10:56:02 AM Assuming you are running another node who's output you trust you could use the assumevalid option to speed things up perhaps:
Quote assumevalid=<hex> If this block is in the chain assume that it and its ancestors are valid and potentially skip their script verification (0 to verify all, default: 00000000000000000013176bf8d7dfeab4e1db31dc93bc311b436e82ab226b90, testnet: 00000000000128796ee387cf110ccb9d2f36cffaf7f73079c995377c65ac0dcc) You would specify a more recent block than the default of course.Or also copy over an up to date blockchain directory from a node you trust. Title: Re: bitcoind for synology nas (ARM) Post by: jackcole on June 25, 2017, 12:48:22 PM Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)? I'm going crazy! That looks quite promising. A bit techy, but seems like it can be pulled off. Still, I'd have to put quite a few pieces together myself and I'm not really interested in downloading someone else's work as this would be a perfect place to implement a trojan horse to empty the wallet. In my opinion the perfect scenario would be if the Bitcoin team officially offered this as a downloaded package I could trust, but that's probably pretty far down on their TODO list. |