Hi All!
You know i am running some Pi's with staking coins.
The first Pi i installed is the one with Navcoin, they got an image you can download named NavPi.
You can navigate from another machine with a web interface so its very easy and you don't need a keyboard or mouse on you're Pi.
It is working very well but the last half year it is crashing a lot. The reason is the 1GB memory on the Pi or the block chain from Navcoin is to big.
So when a Pi has downtime i write it in a sheet to see which Pi is not running great.
This year i got 6 times the NavPi with most time the issue that navcoind that's the daemon for the wallet is not running so you don't stake and the wallet is down.
Most time i have to reboot a few times because the navcoind starts and shutdown because it is running out of memory.
They give you the option to use USB swap to fix the out of memory issue. I tried this here:
https://steemit.com/cryptocurrency/@cryptoraspberry/navpi-running-great-staking-improved
But it is not helping a lot. In the discord they are busy to make an image for a board like the Raspberry Pi but with more memory (2GB/4GB). Maybe when its done i buy one but for now i want to use my Pi!
So the original NavPi image got an GUI and a Web service. So my plan is to install a Raspbian Stretch Lite and just install the CLI wallet.
Here are the steps to install this wallet:
Complete OS settings:
- sudo apt-get update / sudo apt-get upgrade / sudo apt-get clean
- passwd (set up the password for the user pi)
- run raspi-config (expand SD card, split memory 16MB for video)
Add USB SWAP
https://info.navcoin.org/stakeboxes/configure-navpi-to-use-usb-swap/
Install the Wallet
- cd /home/pi/
- wget https://github.com/NAVCoin/navcoin-core/releases/download/4.5.2/navcoin-4.5.2-arm-linux-gnueabihf.tar.gz
- mkdir NAV
- tar xvf navcoin-4.5.2-arm-linux-gnueabihf.tar.gz
- wget https://s3.amazonaws.com/navcoin-bootstrap/bootstrap-navcoin_mainnet.tar (got this from reddit, so thanks!)
- cd NAV/
- cd navcoin-4.5.2/
- cd bin
- ./navcoind &
- ./navcoin-cli -datadir=/home/pi/.navcoin4 stop
- cp bootstrap-navcoin_mainnet.ta /home/pi/.navcoin4/
- cd /home/pi/.navcoin4/
- tar xvf bootstrap-navcoin_mainnet.tar (this takes some time)
- cd /home/pi/NAV/navcoin-4.5.2/bin/
- ./navcoind &
Now is the daemon running and syncing the block chain. With the bootstrap it don't has to download the chain from zero.
Use the wallet
Using the CLI wallet is very simple. The only thing you to do remind is to be in the folder where the wallet is installed.
- cd /home/pi/NAV/navcoin-4.5.2/bin/
- ./navcoin-cli getinfo (here you can if the wallet is running and when its done downloading the block chain.
Here are some useful commands:
Get staking info:
./navcoin-cli getstakinginfo
Get stake report:
./navcoin-cli getstakereport
Get wallet info:
./navcoin-cli getinfo
Enable staking:
./navcoin-cli walletpassphrase "youre wallet password" 99999999 true
I copied my wallet.dat file with WinSCP. When you got a backup wallet.dat you can upload the file in:
/home/pi/.navcoin4/
Now my up time is 7days and the wallet is running for 7days. I hope this works better than the NavPi image.
Normally i get a stake every 7-10 days, now my last stake is from more than a month ago. This week with new installation i got already 2 stakes :)!
When you have question please let them know in the comments! Happy staking and happy easter!
Yes, GUI front and and the web services from the NavPi image would use alot of memory. Click is more than fine to check status of the wallet, web interface is overkill.
Let us know if this continues to stay up.
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Ill let you know. The Pi's need to run the whole year so i check them often.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @cryptoraspberry! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit