-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi howto #29
base: master
Are you sure you want to change the base?
Pi howto #29
Conversation
…tional formatting changes
|
||
**Notes**: | ||
|
||
- I had to use Raspbian 32bit as I believe the Navcoin binaries only come in 32-bit for arm (if I learn otherwise I will update) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can use navcoin-6.1.0-aarch64-linux-gnu.tar.gz for 64-bit arm systems. I actually flash my pi-4 to ubuntu and run navcoin-6.1.0-aarch64-linux-gnu.tar.gz.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
acknowledged - will remove comment
- I am performing all commands from the /home/pi directory | ||
- At time of writing the latest version of navcoin was 6.1.0 | ||
|
||
2. Get the latest Navcoin files from [here](https://build.nav.community/binaries/master/navcoin-6.1.0-arm-linux-gnueabihf.tar.gz) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it may be more ideal to point to the folder directly instead of the actual file so that you don't have to update this link for future releases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed - will update
@@ -0,0 +1,182 @@ | |||
--- | |||
title: How to move from NavPi to Raspberry Pi 4 and CM4 for staking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know you started working on this with the purpose of moving from navpi, but it may be beneficial to have a generic tittle for headless setup guide and single out navpi steps in the content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed - makes total sense - will change in next revision
pi@raspberrypi:~ $ wget https://build.nav.community/binaries/master/navcoin-6.1.0-arm-linux-gnueabihf.tar.gz | ||
``` | ||
|
||
3. Once downloaded untar the tarball file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the numbering is not registered in the preview, not sure how to fix this but it's something related to formatting.
pi@raspberrypi:~/.navcoin4 $ tar -zxvf bootstrap.tar.gz | ||
``` | ||
|
||
5. Copy your `wallet.dat` file from the NavPi data directry `~/.navcoin4/` to the new Paspberry Pi data directry `~/.navcoin4/` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
up to this point, all previous steps are the same for anyone who tries to set up a headless node. So it may be a good idea to have a note saying these steps are only required if moving from navpi to make the whole article more universal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - will update
|
||
This how to is using the CM4 [CM4104032](https://www.buyapi.ca/product/raspberry-pi-compute-module-4-wireless-4gb-32gb-cm4104032/). | ||
|
||
1. Assumption is you have a running CM4 (how to can be found [here](https://www.youtube.com/watch?reload=9&v=jp_mF1RknU4)) and ssh access to it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4gb model is required and 8gb even better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will add
|
||
``` | ||
pi@raspberrypi:~/.navcoin4 $ cd ~ | ||
pi@raspberrypi:~ $ navcoin-6.1.0/bin/navcoind -t -daemon -datadir=/home/pi/.nacvoin4 -staking=1 -externalip={IP address} -upnp=0 -rpcbind=127.0.0.1 -rpcallowip=127.0.0.1 -rpcuser=test -rpcpassword=test -upgradewallet & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to check with @aguycalled to verify all the commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok - can update once we hear back
New revision can be viewed now here: https://deploy-preview-29--navcoin-knowledge-base.netlify.app//navcoin-core/headless-staking-including-raspberry-pi-4-and-cm4/ |
Description
Created a how to to use a Raspberry Pi 4 or CM4 to stake Navcoin
Issues Resolved
n/a
Preview Links
not sure how this works, to get preview links
Checklist