What prevents us from putting the blockchain data available for download as well? I wonder if that could avoid the syncing time issue and requiring extra ram not needed when synced…
I thought of some companies were selling hardware running bitcoin node including the full blockchain…
We’ve now added the option to resync from Casa, which downloads the chain from Casa’s Bitcoin node. This is much faster than syncing from scratch (it takes about half a day), but it does require trusting Casa’s blockchain data. It’s the same level of trust you put in Casa when we presync the node before sending it to you. As always, there is the option to sync from scratch for users who want to verify the entire chain themselves.
There’s also the more practical issue of the cost of hosting something like that as the chain is over 20GB so that soon adds up.
Updated for the Nvidia Jetson Nano. I managed to sync from scratch with this but it wasn’t great. It runs a custom spin of Ubuntu 18.04. Syncing was slow and I had one out of memory error. I didn’t configure any swap but due to low memory, it was swapping out to the SD card which was obviously terribly slow. I tweaked the swappiness value via sudo sysctl vm.swappiness=0 which helped complete the sync.
Unless you have specific needs for the Nvidia, I’d probably recommend the Odroid N2 or Pine64 RockPro (4GB) for the best out of box experience for a zcashd node with the Odroid the slight performance winner.
My Pi4 just arrived but it looks like there aren’t any 64-bit OS for it yet so will have to wait - it seems a few are “coming soon” like Kali Linux and Ubuntu Mate but I couldn’t find any currently available.
@Shawn is that a recent thing - I don’t see anything here: Releases · ZcashFoundation/zecwallet · GitHub. If there are binaries available that save the cross-compilation step then yes that’s going to be simpler. I’m not sure what impact that has if a user doesn’t want the GUI and just the daemon i.e. are there extra dependencies required?
Ok, so as a side project during quarantine I decided I would try to build and run a full Zcash node on an older Android smartphone I had laying around. I thought it would be cool the have the little device with a full node plugged in and always running.
LGV20, Snapdragon 802, 4GB RAM, 64GB+SD ROM. It has enough RAM for a full build.
It’s super simple to install the app, choose the Linux distribution you want, and ssh into the instance, update/upgrade, start using it.
I was able to install all the dependencies (according to the docs) required for the compile except for g++-multilib because for some reason it gives a not found error with the -multilib so I just installed g++ instead.
Using the HOST=aarch64-linux-gnu ./zcutil/build.sh I was able to get really far with the compile until I hit:
And that’s where I’m stuck. I believe it’s an error with the stripped down version of Ubuntu that userLAnd deploys. Anyone have any ideas how to move forward?
Can you natively compile on ARM, I thought you had to cross-compile to get an ARM build? Was that updated? Either way, you should be able to able to run the cross-compiled binaries.