diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/images/favicon.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/images/favicon.png deleted file mode 100644 index 70875ea5..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/images/favicon.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/images/mkdocs_bitcoin_cash_node_logo.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/images/mkdocs_bitcoin_cash_node_logo.png deleted file mode 100644 index 4e73660d..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/images/mkdocs_bitcoin_cash_node_logo.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_download.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_download.png deleted file mode 100644 index 0b992fd6..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_download.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_network_traffic_30_minutes.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_network_traffic_30_minutes.png deleted file mode 100644 index b68bab87..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_network_traffic_30_minutes.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_sync.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_sync.png deleted file mode 100644 index e365be43..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_sync.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_synced.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_synced.png deleted file mode 100644 index acf90080..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_synced.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_test_receive_pending.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_test_receive_pending.png deleted file mode 100644 index f1a66509..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_test_receive_pending.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_test_receive_verified.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_test_receive_verified.png deleted file mode 100644 index 0b273fa4..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_test_receive_verified.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_wallet_encrypted_notice.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_wallet_encrypted_notice.png deleted file mode 100644 index e293f1fb..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_wallet_encrypted_notice.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_welcome_screen.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_welcome_screen.png deleted file mode 100644 index 204fa7e0..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/bitcoin_cash_node_welcome_screen.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/notes b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/notes deleted file mode 100644 index 135d6599..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/notes +++ /dev/null @@ -1 +0,0 @@ -This directory includes images and screenshots for the "How to set up a Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop 21.04" tutorial. diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_about.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_about.png deleted file mode 100644 index 6c8925a1..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_about.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_close_gui.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_close_gui.png deleted file mode 100644 index a064eb15..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_close_gui.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_close_terminal.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_close_terminal.png deleted file mode 100644 index c5de76f2..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_close_terminal.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_help_about.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_help_about.png deleted file mode 100644 index dbb3097f..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_help_about.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup.png deleted file mode 100644 index abbbe21b..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup_save.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup_save.png deleted file mode 100644 index 355b05ab..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup_save.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_welcome.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_welcome.png deleted file mode 100644 index 80fc9015..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_welcome.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_welcome_change_directory.png b/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_welcome_change_directory.png deleted file mode 100644 index 119a00fa..00000000 Binary files a/docs/bitcoin-cash-node-on-raspberry-pi/assets/screenshots/upgrade_bitcoin_cash_node_welcome_change_directory.png and /dev/null differ diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/contributions.md b/docs/bitcoin-cash-node-on-raspberry-pi/contributions.md deleted file mode 100644 index b2c2bd13..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/contributions.md +++ /dev/null @@ -1,8 +0,0 @@ -# Contributions - -Does this documentation need to be clarified, updated, or otherwise improved upon? If so, pull requests are welcome! - -Please do the following: - -1. Open an [issue](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/issues) on GitHub and describe what you would like to add or change. -2. Create a pull request and link to your issue. This will help me track changes to the documentation and help provide context for future reference. diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/index.md b/docs/bitcoin-cash-node-on-raspberry-pi/index.md deleted file mode 100644 index c4976925..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/index.md +++ /dev/null @@ -1,24 +0,0 @@ -# How to install, configure, and upgrade Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop - -The set of Bitcoin Cash Node tutorials in this section includes instructions for the following: - -- [How to install and set up Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop (64-bit)](installation-and-setup/) -- [How to upgrade Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop (64-bit)](upgrade/) - -These tutorials are intended for those who are familiar with the Ubuntu environment and Linux commands. - -!!! note - - I'm using a Raspberry Pi 4 simply to minimize carbon footprint while still contributing to the health and decentralization of Bitcoin Cash. However, these instructions should work on other types of devices running Ubuntu Desktop. - -## Introduction to Bitcoin Cash Node - - [Bitcoin Cash Node](https://bitcoincashnode.org/) is a node and wallet implementation for the Bitcoin Cash network. The software downloads and, by default, stores the entire history of Bitcoin Cash transactions, which requires a few hundred gigabytes of disk space. Depending on the speed of your computer and network connection, the synchronization process can take anywhere from a few hours to few days. - -## Benefits of running Bitcoin Cash Node - -- Promote electronic peer-to-peer payments through active involvement. -- Contribute to the Bitcoin Cash network by letting others to use your node to broadcast transactions. -- Further decentralize the Bitcoin Cash blockchain, thereby improving reliability and security. -- Improve your understanding of how the blockchain technology of a top cryptocurrency works. -- Be part of the growing, passionate Bitcoin Cash community. diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/01_preparation.md b/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/01_preparation.md deleted file mode 100644 index d226ff5d..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/01_preparation.md +++ /dev/null @@ -1,52 +0,0 @@ -# Preparing our device - -This tutorial assumes that we have already installed and configured Ubuntu Desktop on our Raspberry Pi to our liking and have mounted the SSD to our Raspberry Pi. - -1. **For details on installing Ubuntu Desktop (64-bit) on your Raspberry Pi**, please see [How to install Ubuntu Desktop on Raspberry Pi 4](https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview). -2. **For details on automounting your SSD in Ubuntu**, please see [How to properly automount a drive in Ubuntu Linux](https://www.techrepublic.com/article/how-to-properly-automount-a-drive-in-ubuntu-linux/). - -## Check our Ubuntu architecture - -Before we proceed, let's make sure we're running the aarch64 version of Ubuntu on our Raspberry Pi. Run the following command in **Terminal**. - -```console -uname -m -``` - -If `aarch64` is not output, please follow the instructions in [How to install Ubuntu Desktop on Raspberry Pi 4](https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview) and make sure to select the 64-bit option of Ubuntu Desktop. - -## Update and upgrade your Raspberry Pi and Ubuntu - -After setting up Ubuntu Desktop and automounting your SSD, let's update and upgrade your Raspberry Pi and Ubuntu by running the following commands in **Terminal**. - -```console -sudo apt update && sudo apt upgrade -y -``` - -Wait for updates and upgrades to install. If prompted, reboot your device and then proceed with this tutorial. - -## Set a static IP address - -We need to configure a static IP address and then set up port forwarding so that our Raspberry Pi can continue to communicate with other nodes even if we reboot the device. - -For instructions on how to set a static IP address in Ubuntu, see Method 1 (command line) or Method 2 (GUI) in [How to Assign Static IP Address on Ubuntu Linux](https://itsfoss.com/static-ip-ubuntu/). - -## Allow connections to port 8333 - -In our router, we need to allow connections to port 8333. This is the port that allows the node to sync properly. - -For details on how to allow port forwarding, please consult your router's manual. You typically need to include your device's static IP address and the port number (8333) in the Port Forwarding or NAT Forwarding setting, depending on your router. - -!!! warning - - If you don't configure a static IP address, you may encounter connection issues when you restart or reboot your Raspberry Pi. By setting a static IP address, you can make sure the same IP address is still allowing communication from port 8333. - -## Turn on swap - -We need our Bitcoin Cash Node to continue running if the RAM on our Raspberry Pi gets full. To address this, we need to enable swap on our device. - -For instructions on how to check if swap is enabled and configure swap appropriately, see [How to Add Swap Space on Ubuntu 20.04](https://www.cloudbooklet.com/how-to-add-swap-space-on-ubuntu-20-04/). - -!!! note - - You can experiment with this as necessary, but the Raspberry Pi might become unresponsive if swap is turned off or does not have enough RAM allocated. diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_bchn-setup.md b/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_bchn-setup.md deleted file mode 100644 index 9aa9278a..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_bchn-setup.md +++ /dev/null @@ -1,67 +0,0 @@ -# Setting up Bitcoin Cash Node - -## Download and extract the Bitcoin Cash Node package - -Open a web browser on the Raspberry Pi, and go to the **[Download](https://bitcoincashnode.org/en/download.html)** page on the Bitcoin Cash Node website. - -Make sure the latest version of BCHN is selected. Under **Linux**, download the **AARCH 64 (tar)** package to the home directory on our mounted SSD. Downloading this compressed package should take about 1 minute. - -![Bitcoin Cash Node download screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_download.png?raw=true) - -After the compressed package finishes downloading, let's extract the compressed package. - -To do so, let's open **Terminal** and go to the directory where you downloaded the package to. Be sure to replace `` in the command below with the directory where we saved the compressed package to. - -```console -cd / -``` - -Next, let's extract the compressed package. When running the following command in **Terminal**, be sure to replace `` with the version number that matches the package we downloaded. - -```console -sudo tar -xvzf bitcoin-cash-node--aarch64-linux-gnu.tar.gz -``` - -While we're in this directory, let's create a new directory to store the blockchain data and keep things tidy. In **Terminal**, run the following command. - -```console -mkdir blockchain-data -``` - -## Run Bitcoin Cash Node - -Now that we've extracted the Bitcoin Cash Node package, let's run the software and start downloading the blockchain transactions to our node. - -!!! note - - Downloading all the transactions in the blockchain will take a while. You may want to start the Bitcoin Cash Node software a couple hours before going to bed, as you may experience a slow Internet connection. - -To start the Bitcoin Cash Node software, run the following command in **Terminal**. Be sure to replace `` with the version number that matches the package we downloaded. - -```console -sudo bitcoin-cash-node-/bin/bitcoin-qt -``` - -The Bitcoin Cash Node software then prompts us to specify where to download the blockchain transactions to. - -Under **Use a custom data directory**, click the **three dots** to choose a directory. - -![Bitcoin Cash Node welcome screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_welcome_screen.png?raw=true) - -Navigate to your SSD, select the directory named **blockchain-data** that you previously created, and click **OK**. Then, click **OK** to begin downloading the blockchain. - -The Bitcoin Cash Node software will then begin downloading transactions. This will take hours or days, depending on your Internet connection speed. - -![Bitcoin Cash Node sync](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_sync.png?raw=true) - -After all the Bitcoin Cash transactions have finished downloading to your SSD, you will see the following Overview screen and your node will automatically start verifying transactions on the Bitcoin Cash blockchain as they happen. - -![Bitcoin Cash Node synced](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_synced.png?raw=true) - -To monitor inbound and outbound traffic on your node, click **Window** in the menu bar and choose **Network Traffic**. From here, you can see how much data is being transferred to and from your node. - -!!! note - - The "Received" and "Sent" under "Totals" will reset if you restart the Bitcoin Cash Node software. Additionally, the network traffic will reset if you move the slider below the graph. - -![Bitcoin Cash Node network traffic 30 minutes](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_network_traffic_30_minutes.png?raw=true) diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/03_wallet-setup.md b/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/03_wallet-setup.md deleted file mode 100644 index c0a13734..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/03_wallet-setup.md +++ /dev/null @@ -1,55 +0,0 @@ -# Setting up your Bitcoin Cash wallet - -Your Bitcoin Cash wallet has already been created at this point, so let's secure it with a password and back it up. - -!!! warning - - The instructions in this section are very important. Neglecting to secure your wallet with a password and backing it up could result in you losing the Bitcoin Cash that you receive from others. - -## Create a password for your wallet - -Let's secure your wallet with a password. You will need this password to restore it from the backup, which you will create after setting a password. - -In the menu bar, click **Settings**, then select **Encrypt Wallet**. When the password setup window appears, enter a secure password. Enter the same password again to confirm it. - -!!! warning - - Be sure to remember this password. Write it down and put it in a safe, for example. - -After you have successfully encrypted your wallet with a password, the following confirmation screen will appear. Please carefully read the notice, then click **OK**. - -![Bitcoin Cash Node wallet encrypted notice](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_wallet_encrypted_notice.png?raw=true) - -## Back up your wallet - -Now, let's back up your wallet. - -Backing up your wallet let's you restore it if the device hosting your node and wallet encounters a catastrophic failure. - -In the menu bar, click **File** and select **Backup Wallet**. - -When the directory window appears, choose a directory to save the wallet data (.dat) file to. If you don't have your Raspberry Pi set up to communicate with other computers on your network, save the wallet file (.dat) to your Raspberry Pi first and then immediately save it to another device for safe-keeping. - -!!! warning - - Do not keep your wallet backup on the same device that hosts your node and wallet. If your device encounters a catastrophic failure, you will not be able to restore the wallet from the backup. Instead, save the wallet backup to a secure, reliable device or devices. - -Once you have chosen a location, click **OK**. - -## Optional: Receive Bitcoin Cash in your wallet - -Finally, let's test your wallet. - -Click the **Receive** icon. Fill out the information that you consider necessary for your records. All fields are optional and are for your reference. - -A window will appear that shows you a QR code for someone to scan and send you Bitcoin Cash. Additional payment information include the URI, address, and wallet for the transaction. - -You can now give someone the QR code or wallet address for them to send you Bitcoin Cash. After they have sent some Bitcoin Cash, the transaction will appear as "Pending" until it is validated on the blockchain. - -![Bitcoin Cash Node test receive pending](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_test_receive_pending.png?raw=true) - -After a few minutes, you can see that the transaction has been validated and your Bitcoin Cash now appears as "Available" funds. - -![Bitcoin Cash Node test receive verified](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_test_receive_verified.png?raw=true) - -When the Bitcoin Cash has moved to your available balance, it is in your possession and you can send it to others, make payments, or save it. diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/04_conclusion.md b/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/04_conclusion.md deleted file mode 100644 index e8682fe3..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/04_conclusion.md +++ /dev/null @@ -1,11 +0,0 @@ -# Conclusion - -You have now finished setting up Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop. - -By running a full node, you: - -- Contribute to the Bitcoin Cash network and community by validating transactions. -- Promote the security and decentralization of Bitcoin Cash. -- Have control over your Bitcoin Cash in a wallet that you own. - -You're all set to contribute to the health of a true, peer-to-peer digital currency! diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/index.md b/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/index.md deleted file mode 100644 index fb2759ae..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/index.md +++ /dev/null @@ -1,24 +0,0 @@ -# How to install and configure Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop - -This tutorial describes how to install and set up [Bitcoin Cash Node](https://bitcoincashnode.org/) on a Raspberry Pi 4 running Ubuntu Desktop (64-bit). We will focus on using the Bitcoin Cash Node graphical user interface (GUI) so that you can visualize processes on the blockchain and your Bitcoin Cash wallet transactions. - -These instructions are intended for those who have basic knowledge of the Ubuntu environment and Linux commands. - -## Prerequisites - -- Raspberry Pi 4 (4 GB of RAM or more) -- Ubuntu Desktop (64-bit) OS -- microSD card (32 GB or more) -- Micro USB-C power cable -- Micro HDMI cable -- Monitor with an HDMI interface -- Keyboard (USB or Bluetooth) -- USB mouse (USB or Bluetooth) -- External SSD (500 GB or more) - -!!! note - - For the data associated with the Bitcoin Cash blockchain, you should reserve at least 200 GB. Be sure your SSD is large enough to accommodate the growing blockchain if you want to keep verifying transactions for the foreseeable future on your Raspberry Pi. - - - Raspberry Pi case with a GPIO fan and heat sinks (recommended) - - Reliable Internet connection diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/references.md b/docs/bitcoin-cash-node-on-raspberry-pi/references.md deleted file mode 100644 index a18d2350..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/references.md +++ /dev/null @@ -1,7 +0,0 @@ -# References - -- [Bitcoin Cash Node](https://bitcoincashnode.org/en/) - - [Bitcoin Cash Node documentation](https://docs.bitcoincashnode.org/) -- [How to install Ubuntu Desktop on Raspberry Pi 4](https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview) -- [How to properly automount a drive in Ubuntu Linux](https://www.techrepublic.com/article/how-to-properly-automount-a-drive-in-ubuntu-linux/) -- [How to Assign Static IP Address on Ubuntu Linux](https://itsfoss.com/static-ip-ubuntu/) diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/stylesheets/extra.css b/docs/bitcoin-cash-node-on-raspberry-pi/stylesheets/extra.css deleted file mode 100644 index 47bd23db..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/stylesheets/extra.css +++ /dev/null @@ -1,8 +0,0 @@ -:root > * { - --md-primary-fg-color: #080f53; - --md-typeset-a-color: #2a3fff; -} -[data-md-color-scheme="slate"] { - --md-primary-fg-color: #080f53; - --md-typeset-a-color: #838fff; -} \ No newline at end of file diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/test.md b/docs/bitcoin-cash-node-on-raspberry-pi/test.md deleted file mode 100644 index dec3e34d..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/test.md +++ /dev/null @@ -1,52 +0,0 @@ -# Mermaid - -## MERMAID TEST - -### Gannt diagram - -```mermaid -gantt -dateFormat YYYY-MM-DD -title Adding GANTT diagram to mermaid -excludes weekdays 2014-01-10 - -section A section -Completed task :done, des1, 2014-01-06,2014-01-08 -Active task :active, des2, 2014-01-09, 3d -Future task : des3, after des2, 5d -Future task2 : des4, after des3, 5d -``` - -### Class diagram - -```mermaid -classDiagram -Class01 <|-- AveryLongClass : Cool -Class03 *-- Class04 -Class05 o-- Class06 -Class07 .. Class08 -Class09 --> C2 : Where am i? -Class09 --* C3 -Class09 --|> Class07 -Class07 : equals() -Class07 : Object[] elementData -Class01 : size() -Class01 : int chimp -Class01 : int gorilla -Class08 <--> C2: Cool label -``` - -### Git graph - -```mermaid -gitGraph - commit - commit - branch develop - commit - commit - commit - checkout main - commit - commit -``` diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/01_preparation.md b/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/01_preparation.md deleted file mode 100644 index 46401e7f..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/01_preparation.md +++ /dev/null @@ -1,41 +0,0 @@ -# Preparing our device - -Before upgrading Bitcoin Cash Node, we should back up our wallet (in the .dat file format) and update our device. This will help ensure a smooth upgrade process. - -## Optional: Back up your Bitcoin Cash wallet - -!!! warning - - This step is optional since you will be moving your blockchain data, which includes your wallet, from the old Bitcoin Cash Node directory into a new directory. However, temporarily backing up your wallet is still recommended just in case you encounter an issue during the upgrade. - -In the **Bitcoin Cash Node application**, click **File** and choose **Back up wallet**. -![Back up Bitcoin Cash wallet](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup.png?raw=true) - -Then, let's choose a directory to save our wallet backup. -![Save Bitcoin Cash wallet backup](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup_save.png?raw=true) - -Our wallet will be saved in the directory we chose. We will be moving this wallet file to the newer version of Bitcoin Cash Node later, so remember where we saved this wallet backup file. - -## Update and upgrade Ubuntu Desktop - -Before we start the upgrade process, let's exit from Bitcoin Cash Node and install any updates and upgrades to Ubuntu Desktop. - -To close Bitcoin Cash Node, do one of the following: - -- **To close the application from the graphical user interface (GUI):** Click **File**, then choose **Exit**. -![GUI - Close Bitcoin Cash](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_close_gui.png?raw=true) - -- **To close the application from Terminal (if that is where you ran Bitcoin Cash Node):** Press **Ctrl + C** on the keyboard. -![Terminal - Close Bitcoin Cash Node](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_close_terminal.png?raw=true) - -Now, let's update and upgrade Ubuntu Desktop by running the following command in Terminal. - -```console -sudo apt update && sudo apt upgrade -y -``` - -Since we might have installed major updates and upgrades, let's reboot the device by running the following command in Terminal. - -```console -sudo reboot -``` diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/02_bchn-upgrade.md b/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/02_bchn-upgrade.md deleted file mode 100644 index 87d08685..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/02_bchn-upgrade.md +++ /dev/null @@ -1,106 +0,0 @@ -# Upgrading Bitcoin Cash Node - -## Download and extract the Bitcoin Cash Node package - -Open a web browser on the Raspberry Pi, and go to the **[Download](https://bitcoincashnode.org/en/download.html)** page on the Bitcoin Cash Node website. - -Make sure the latest version of BCHN is selected. Under **Linux**, download the **AARCH 64 (tar)** package to the home directory on our mounted SSD. Downloading this compressed package should take about 1 minute. - -![Bitcoin Cash Node download screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_download.png?raw=true) - -After the compressed package finishes downloading, let's move the compressed file to the SSD. To do so, open **Terminal** and run the following command. Be sure to: - -- Replace `` with the version number that matches the package we just downloaded. -- Replace `` with the name of our SSD drive where the current Bitcoin Cash Node lives. - -```console -sudo mv Downloads/bitcoin-cash-node--aarch64-linux-gnu.tar.gz / -``` - -Next, let's go to the SSD directory by running the following command. Be sure to replace `` in the command below with the directory where we saved the compressed package to. - - ```console - cd / - ``` - -Now, let's extract the compressed package. Let's open **Terminal** and run the following command. Be sure to replace ` with the version number that matches the package we downloaded. - -```console -sudo tar -xvzf bitcoin-cash-node--aarch64-linux-gnu.tar.gz -``` - -The files from the newer version of Bitcoin Cash Node will be extracted to the SSD. We don't need the compressed package anymore, so let's remove it by running the following command in **Terminal**. Be sure to replace `` with the version number that matches the package we downloaded. - -```console -sudo rm bitcoin-cash-node--aarch64-linux-gnu.tar.gz -``` - -Now that we have our new Bitcoin Cash Node files extracted, let's move the blockchain data to the upgraded version of the Bitcoin Cash Node. - -## Move our previously downloaded blockchain data - -Since we've already been running Bitcoin Cash Node on an earlier version, we don't need to completely download the blockchain data again. Instead, we can move the blockchain data we previously downloaded to the directory of the newer version of Bitcoin Cash. - -Let's move the blockchain data from our previous installation to the newer version of Bitcoin Cash Node by running the following command. Be sure to: - -- Replace `` with the version number of our previous Bitcoin Cash Node installation. -- Replace `` with the name of our directory containing the downloaded blockchain data in our previous Bitcoin Cash Node installation. For example, I had previously named my directory "blockchain-data". -- Replace `` with the version number that matches the package we downloaded earlier. - -```console -sudo mv bitcoin-cash-node-/ bitcoin-cash-node- -``` - -## Optional: If your wallet does not appear in your blockchain data directory - -!!! note - - This step is only necessary if you cannot find your wallet (.dat) in your blockchain data directory. In this case, you can add your wallet, which you previously backed up in [Optional: Back up our Bitcoin Cash wallet](../01_preparation/#optional-back-up-our-bitcoin-cash-wallet). - -Let's move the wallet file (.dat) that we backed up earlier into the directory of the newer version of Bitcoin Cash Node. - -In **Terminal**, run the following command. Be sure to: - -- Replace `` with the name of the directory where we saved the wallet backup file to earlier. -- Replace `` with the version number of our new Bitcoin Cash Node installation. -- Replace `` with the name of our directory containing the downloaded blockchain data in our previous Bitcoin Cash Node installation. - -```console -sudo mv bitcoin-cash-node-/ -``` - -## Run the newer version of Bitcoin Cash Node - -Now that we've moved the blockchain data to the newer version of Bitcoin Cash Node, let's run the software. - -To start the Bitcoin Cash Node software, run the following command in **Terminal**. Be sure to replace `` with the version number that matches the package you downloaded. - -```console -sudo bitcoin-cash-node-/bin/bitcoin-qt -``` - -You will be greeted with a **Welcome** window. The directory shown here will likely be pointing to the previous directory, which we've moved to the newer Bitcoin Cash Node directory. -![Bitcoin Cash Node welcome screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_welcome.png?raw=true) - -Under **Use a custom data directory**, click the **three dots** to choose a different directory. The **Choose data directory** window will be displayed. - -Go to the newer Bitcoin Cash Node directory, select the directory that contains the blockchain data that we moved earlier, and click **Choose**. As mentioned earlier, you can see my directory name is "blockchain-data". -![Change Bitcoin Cash Node blockchain directory](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_welcome_change_directory.png?raw=true) - -On the **Welcome** window, click **OK**. - -Since our node was down for a while, our device will start downloading the Bitcoin Cash transactions that we have missed. - -!!! note - - The time necessary for downloading the missing transactions will vary depending on how long the node was not running. - -After the device has finished downloading transactions, the main window of the Bitcoin Cash Node GUI will be displayed. - -## Confirm Bitcoin Cash Node version - -To confirm which version of Bitcoin Cash Node we are running, click **Help** and select **About Bitcoin Cash Node**. -![About Bitcoin Cash Node](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_help_about.png?raw=true) - -Our version will be displayed on the window that appears. -![About Bitcoin Cash Node](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_about.png?raw=true) diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/03_cleanup.md b/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/03_cleanup.md deleted file mode 100644 index d8e8d322..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/03_cleanup.md +++ /dev/null @@ -1,18 +0,0 @@ -# Cleaning up old files - -Let's clean up our SSD since we no longer need the files from our previous Bitcoin Cash Node installation. - -!!! note - - This part is optional but recommended. - -To remove those old files, open a new **Terminal** window and run the following command. Be sure to: - -- Replace `` with the name of the SSD directory. -- Replace `` with the version number of the previous Bitcoin Cash Node installation. - -```console -sudo rm -R //bitcoin-cash-node- -``` - -With the SSD organized, we can avoid confusion when updating Bitcoin Cash Node in the future. diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/04_conclusion.md b/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/04_conclusion.md deleted file mode 100644 index ca2510d1..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/04_conclusion.md +++ /dev/null @@ -1,11 +0,0 @@ -# Conclusion - -You have now finished upgrading Bitcoin Cash Node on a Raspberry Pi 4 Ubuntu Desktop. - -By upgrading your full node when new versions are released, you: - -- Ensure your node takes advantage of new Bitcoin Cash protocols. -- Continue contributing to the Bitcoin Cash network and community by validating transactions. -- Promote the security and decentralization of Bitcoin Cash. - -You're all set to continue contributing to the health of a true, peer-to-peer digital currency! diff --git a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/index.md b/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/index.md deleted file mode 100644 index f8ab2b76..00000000 --- a/docs/bitcoin-cash-node-on-raspberry-pi/upgrade/index.md +++ /dev/null @@ -1,13 +0,0 @@ -# How to upgrade Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop - -This tutorial describes how to upgrade [Bitcoin Cash Node](https://bitcoincashnode.org/) on a Raspberry Pi 4 running Ubuntu Desktop (64-bit). - -You will occasionally need to upgrade your Bitcoin Cash Node to meet certain protocol requirements and feature updates. - -We will focus on using the Bitcoin Cash Node graphical user interface (GUI) so that you can visualize processes on the blockchain and your Bitcoin Cash wallet transactions. - -These instructions are intended for those who have basic knowledge of the Ubuntu environment and Linux commands. - -## Prerequisites - -This upgrade tutorial assumes that you are already running a previous version of Bitcoin Cash Node on Ubuntu Desktop. For instructions on how to set up Bitcoin Cash Node, see [How to install and configure Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop](../installation-and-setup/). diff --git a/docs/portfolio/index.mdx b/docs/portfolio/index.mdx index 34186951..551b8f25 100644 --- a/docs/portfolio/index.mdx +++ b/docs/portfolio/index.mdx @@ -4,10 +4,6 @@ import { CardRowProfessionalProjects, CardRowPersonalProjects } from '/src/compo The following are some projects that I've worked on. -## Professional portfolio - - - ## Personal projects diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/01_preparation.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/01_preparation.mdx deleted file mode 100644 index f3fe458f..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/01_preparation.mdx +++ /dev/null @@ -1,56 +0,0 @@ -# Prepare your device - -This tutorial assumes that you've already installed and configured Ubuntu Desktop on your Raspberry Pi to your liking and have mounted the SSD to your Raspberry Pi. - -1. **For details on installing Ubuntu Desktop (64-bit) on your Raspberry Pi**, please see [How to install Ubuntu Desktop on Raspberry Pi 4](https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview). -2. **For details on automounting your SSD in Ubuntu**, please see [How to properly automount a drive in Ubuntu Linux](https://www.techrepublic.com/article/how-to-properly-automount-a-drive-in-ubuntu-linux/). - -## Check your Ubuntu architecture - -Before you proceed, make sure you're running the aarch64 version of Ubuntu on your Raspberry Pi. Run the following command in **Terminal**. - -```console -uname -m -``` - -If `aarch64` is not output, please follow the instructions in [How to install Ubuntu Desktop on Raspberry Pi 4](https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview) and make sure to select the 64-bit option of Ubuntu Desktop. - -## Update and upgrade your Raspberry Pi and Ubuntu - -After setting up Ubuntu Desktop and automounting your SSD, update and upgrade your Raspberry Pi and Ubuntu by running the following commands in **Terminal**. - -```console -sudo apt update && sudo apt upgrade -y -``` - -Wait for updates and upgrades to install. If prompted, reboot your device and then proceed with this tutorial. - -## Set a static IP address - -You need to configure a static IP address and then set up port forwarding so that your Raspberry Pi can continue to communicate with other nodes even if you reboot the device. - -For instructions on how to set a static IP address in Ubuntu, see Method 1 (command line) or Method 2 (GUI) in [How to Assign Static IP Address on Ubuntu Linux](https://itsfoss.com/static-ip-ubuntu/). - -## Allow connections to port 8333 - -In your router, you need to allow connections to port 8333. This is the port that allows the node to sync properly. - -For details on how to allow port forwarding, please consult your router's manual. You typically need to include your device's static IP address and the port number (8333) in the Port Forwarding or NAT Forwarding setting, depending on your router. - -:::warning - -If you don't configure a static IP address, you may encounter connection issues when you restart or reboot your Raspberry Pi. By setting a static IP address, you can make sure the same IP address is still allowing communication from port 8333. - -::: - -## Turn on swap - -You need your Bitcoin Cash Node to continue running if the RAM on your Raspberry Pi gets full. To address this, you need to enable swap on your device. - -For instructions on how to check if swap is enabled and configure swap appropriately, see [How to Add Swap Space on Ubuntu 20.04](https://www.cloudbooklet.com/how-to-add-swap-space-on-ubuntu-20-04/). - -:::note - -You can experiment with this as necessary, but the Raspberry Pi might become unresponsive if swap is turned off or does not have enough RAM allocated. - -::: diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_bchn-setup.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_bchn-setup.mdx deleted file mode 100644 index 9e6b7217..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_bchn-setup.mdx +++ /dev/null @@ -1,71 +0,0 @@ -# Set up Bitcoin Cash Node - -## Download and extract the Bitcoin Cash Node package - -Open a web browser on the Raspberry Pi, and go to the **[Download](https://bitcoincashnode.org/en/download.html)** page on the Bitcoin Cash Node website. - -Make sure the latest version of BCHN is selected. Under **Linux**, download the **AARCH 64 (tar)** package to the home directory on your mounted SSD. Downloading this compressed package should take about 1 minute. - -![Bitcoin Cash Node download screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_download.png?raw=true) - -After the compressed package finishes downloading, you'll need to extract the compressed package. - -To do so, open **Terminal** and go to the directory where you downloaded the package to, replacing `` in the command below with the directory where you saved the compressed package to. - -```console -cd / -``` - -Next, extract the compressed package. When running the following command in **Terminal**, replacing `` with the version number that matches the package you downloaded. - -```console -sudo tar -xvzf bitcoin-cash-node--aarch64-linux-gnu.tar.gz -``` - -While you're in this directory, create a new directory to store the blockchain data and keep things tidy. In **Terminal**, run the following command. - -```console -mkdir blockchain-data -``` - -## Run Bitcoin Cash Node - -Now that you've extracted the Bitcoin Cash Node package, you need to run the software and start downloading the blockchain transactions to your node. - -:::note - -Downloading all the transactions in the blockchain will take a while. You may want to start the Bitcoin Cash Node software a couple hours before going to bed, as you may experience a slow Internet connection. - -::: - -To start the Bitcoin Cash Node software, run the following command in **Terminal**, replacing `` with the version number that matches the package you downloaded. - -```console -sudo bitcoin-cash-node-/bin/bitcoin-qt -``` - -The Bitcoin Cash Node software then prompts you to specify where to download the blockchain transactions to. - -Under **Use a custom data directory**, click the **three dots** to choose a directory. - -![Bitcoin Cash Node welcome screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_welcome_screen.png?raw=true) - -Navigate to your SSD, select the directory named **blockchain-data** that you previously created, and click **OK**. Then, click **OK** to begin downloading the blockchain. - -The Bitcoin Cash Node software will then begin downloading transactions. This will take hours or days, depending on your Internet connection speed. - -![Bitcoin Cash Node sync](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_sync.png?raw=true) - -After all the Bitcoin Cash transactions have finished downloading to your SSD, you will see the following Overview screen and your node will automatically start verifying transactions on the Bitcoin Cash blockchain as they happen. - -![Bitcoin Cash Node synced](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_synced.png?raw=true) - -To monitor inbound and outbound traffic on your node, click **Window** in the menu bar and choose **Network Traffic**. From here, you can see how much data is being transferred to and from your node. - -:::note - -The "Received" and "Sent" under "Totals" will reset if you restart the Bitcoin Cash Node software. Additionally, the network traffic will reset if you move the slider below the graph. - -::: - -![Bitcoin Cash Node network traffic 30 minutes](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_network_traffic_30_minutes.png?raw=true) diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_references.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_references.mdx deleted file mode 100644 index a18d2350..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/02_references.mdx +++ /dev/null @@ -1,7 +0,0 @@ -# References - -- [Bitcoin Cash Node](https://bitcoincashnode.org/en/) - - [Bitcoin Cash Node documentation](https://docs.bitcoincashnode.org/) -- [How to install Ubuntu Desktop on Raspberry Pi 4](https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview) -- [How to properly automount a drive in Ubuntu Linux](https://www.techrepublic.com/article/how-to-properly-automount-a-drive-in-ubuntu-linux/) -- [How to Assign Static IP Address on Ubuntu Linux](https://itsfoss.com/static-ip-ubuntu/) diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/03_wallet-setup.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/03_wallet-setup.mdx deleted file mode 100644 index 45d5da19..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/03_wallet-setup.mdx +++ /dev/null @@ -1,61 +0,0 @@ -# Set up your Bitcoin Cash wallet - -Your Bitcoin Cash wallet has already been created at this point, so you should secure it with a password and back it up. - -:::warning - -The instructions in this section are very important. Neglecting to secure your wallet with a password and backing it up could result in you losing the Bitcoin Cash that you receive from others. - -::: - -## Create a password for your wallet - -You should secure your wallet with a password. You will need this password to restore it from the backup, which you will create after setting a password. - -In the menu bar, click **Settings**, then select **Encrypt Wallet**. When the password setup window appears, enter a secure password. Enter the same password again to confirm it. - -:::warning - -Be sure to remember this password. Write it down and put it in a safe, for example. - -::: - -After you have successfully encrypted your wallet with a password, the following confirmation screen will appear. Please carefully read the notice, then click **OK**. - -![Bitcoin Cash Node wallet encrypted notice](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_wallet_encrypted_notice.png?raw=true) - -## Back up your wallet - -Now, you should back up your wallet. - -Backing up your wallet lets you restore it if the device hosting your node and wallet encounters a catastrophic failure. - -In the menu bar, click **File** and select **Backup Wallet**. - -When the directory window appears, choose a directory to save the wallet data (.dat) file to. If you don't have your Raspberry Pi set up to communicate with other computers on your network, save the wallet file (.dat) to your Raspberry Pi first and then immediately save it to another device for safe-keeping. - -:::warning - -Do not keep your wallet backup on the same device that hosts your node and wallet. If your device encounters a catastrophic failure, you will not be able to restore the wallet from the backup. Instead, save the wallet backup to a secure, reliable device or devices. - -::: - -Once you have chosen a location, click **OK**. - -## Optional: Receive Bitcoin Cash in your wallet - -Finally, you should test your wallet. - -Click the **Receive** icon. Fill out the information that you consider necessary for your records. All fields are optional and are for your reference. - -A window will appear that shows you a QR code for someone to scan and send you Bitcoin Cash. Additional payment information include the URI, address, and wallet for the transaction. - -You can now give someone the QR code or wallet address for them to send you Bitcoin Cash. After they have sent some Bitcoin Cash, the transaction will appear as "Pending" until it is validated on the blockchain. - -![Bitcoin Cash Node test receive pending](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_test_receive_pending.png?raw=true) - -After a few minutes, you can see that the transaction has been validated and your Bitcoin Cash now appears as "Available" funds. - -![Bitcoin Cash Node test receive verified](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_test_receive_verified.png?raw=true) - -When the Bitcoin Cash has moved to your available balance, it is in your possession and you can send it to others, make payments, or save it. diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/04_conclusion.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/04_conclusion.mdx deleted file mode 100644 index e8682fe3..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/04_conclusion.mdx +++ /dev/null @@ -1,11 +0,0 @@ -# Conclusion - -You have now finished setting up Bitcoin Cash Node on a Raspberry Pi 4 running Ubuntu Desktop. - -By running a full node, you: - -- Contribute to the Bitcoin Cash network and community by validating transactions. -- Promote the security and decentralization of Bitcoin Cash. -- Have control over your Bitcoin Cash in a wallet that you own. - -You're all set to contribute to the health of a true, peer-to-peer digital currency! diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/01_preparation.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/01_preparation.mdx deleted file mode 100644 index d0b9cdbb..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/01_preparation.mdx +++ /dev/null @@ -1,45 +0,0 @@ -# Prepare your device - -Before upgrading Bitcoin Cash Node, you should back up your wallet (in the .dat file format) and update your device. This will help ensure a smooth upgrade process. - -## Optional: Back up your Bitcoin Cash wallet - -:::warning - -This step is optional since you will be moving your blockchain data, which includes your wallet, from the old Bitcoin Cash Node directory into a new directory. However, temporarily backing up your wallet is still recommended just in case you encounter an issue during the upgrade. - -::: - -In the **Bitcoin Cash Node application**, click **File** and choose **Back up wallet**. - -![Back up Bitcoin Cash wallet](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup.png?raw=true) - -Then, choose a directory to save your wallet backup. - -![Save Bitcoin Cash wallet backup](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_wallet_backup_save.png?raw=true) - -Your wallet will be saved in the directory you chose. You'll be moving this wallet file to the newer version of Bitcoin Cash Node later, so remember where you saved this wallet backup file. - -## Update and upgrade Ubuntu Desktop - -Before you start the upgrade process, you should exit from Bitcoin Cash Node and install any updates and upgrades to Ubuntu Desktop. - -To close Bitcoin Cash Node, do one of the following: - -- **To close the application from the graphical user interface (GUI):** Click **File**, then choose **Exit**. -![GUI - Close Bitcoin Cash](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_close_gui.png?raw=true) - -- **To close the application from Terminal (if that is where you ran Bitcoin Cash Node):** Press **Ctrl + C** on the keyboard. -![Terminal - Close Bitcoin Cash Node](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_close_terminal.png?raw=true) - -Now, update and upgrade Ubuntu Desktop by running the following command in Terminal. - -```console -sudo apt update && sudo apt upgrade -y -``` - -Since you might have installed major updates and upgrades, reboot the device by running the following command in Terminal. - -```console -sudo reboot -``` diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/02_bchn-upgrade.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/02_bchn-upgrade.mdx deleted file mode 100644 index df8c88c3..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/02_bchn-upgrade.mdx +++ /dev/null @@ -1,110 +0,0 @@ -# Upgrade Bitcoin Cash Node - -## Download and extract the Bitcoin Cash Node package - -Open a web browser on the Raspberry Pi, and go to the **[Download](https://bitcoincashnode.org/en/download.html)** page on the Bitcoin Cash Node website. - -Make sure the latest version of BCHN is selected. Under **Linux**, download the **AARCH 64 (tar)** package to the home directory on your mounted SSD. Downloading this compressed package should take about 1 minute. - -![Bitcoin Cash Node download screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/bitcoin_cash_node_download.png?raw=true) - -After the compressed package finishes downloading, you should move the compressed file to the SSD. To do so, open **Terminal** and run the following command. Be sure to: - -- Replace `` with the version number that matches the package you just downloaded. -- Replace `` with the name of your SSD drive where the current Bitcoin Cash Node lives. - -```console -sudo mv Downloads/bitcoin-cash-node--aarch64-linux-gnu.tar.gz / -``` - -Next, go to the SSD directory by running the following command, replacing `` in the command below with the directory where you saved the compressed package to. - - ```console - cd / - ``` - -To extract the compressed package, open **Terminal** and run the following command, replacing ` with the version number that matches the package you downloaded. - -```console -sudo tar -xvzf bitcoin-cash-node--aarch64-linux-gnu.tar.gz -``` - -The files from the newer version of Bitcoin Cash Node will be extracted to the SSD. You don't need the compressed package anymore, so you can remove it by running the following command in **Terminal**, replacing `` with the version number that matches the package you downloaded. - -```console -sudo rm bitcoin-cash-node--aarch64-linux-gnu.tar.gz -``` - -Now that you have your new Bitcoin Cash Node files extracted, you should move the blockchain data to the upgraded version of the Bitcoin Cash Node. - -## Move your previously downloaded blockchain data - -Since you've already been running Bitcoin Cash Node on an earlier version, you don't need to completely download the blockchain data again. Instead, you can move the blockchain data you previously downloaded to the directory of the newer version of Bitcoin Cash. - -Now, you need to move the blockchain data from your previous installation to the newer version of Bitcoin Cash Node by running the following command. Be sure to: - -- Replace `` with the version number of your previous Bitcoin Cash Node installation. -- Replace `` with the name of your directory containing the downloaded blockchain data in your previous Bitcoin Cash Node installation. For example, I had previously named my directory "blockchain-data". -- Replace `` with the version number that matches the package you downloaded earlier. - -```console -sudo mv bitcoin-cash-node-/ bitcoin-cash-node- -``` - -## Optional: If your wallet does not appear in your blockchain data directory - -:::note - -This step is only necessary if you cannot find your wallet (.dat) in your blockchain data directory. In this case, you can add your wallet, which you previously backed up in [Optional: Back up your Bitcoin Cash wallet](../01_preparation/#optional-back-up-our-bitcoin-cash-wallet). - -::: - -You should move the wallet file (.dat) that you backed up earlier into the directory of the newer version of Bitcoin Cash Node. - -In **Terminal**, run the following command. Be sure to: - -- Replace `` with the name of the directory where you saved the wallet backup file to earlier. -- Replace `` with the version number of your new Bitcoin Cash Node installation. -- Replace `` with the name of your directory containing the downloaded blockchain data in your previous Bitcoin Cash Node installation. - -```console -sudo mv bitcoin-cash-node-/ -``` - -## Run the newer version of Bitcoin Cash Node - -Now that you've moved the blockchain data to the newer version of Bitcoin Cash Node, you need to run the software. - -To start the Bitcoin Cash Node software, run the following command in **Terminal**, replacing `` with the version number that matches the package you downloaded. - -```console -sudo bitcoin-cash-node-/bin/bitcoin-qt -``` - -You'll be greeted with a **Welcome** window. The directory shown here will likely be pointing to the previous directory, which you've moved to the newer Bitcoin Cash Node directory. -![Bitcoin Cash Node welcome screen](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_welcome.png?raw=true) - -Under **Use a custom data directory**, click the **three dots** to choose a different directory. The **Choose data directory** window will be displayed. - -Go to the newer Bitcoin Cash Node directory, select the directory that contains the blockchain data that you moved earlier, and click **Choose**. As mentioned earlier, you can see my directory name is "blockchain-data". -![Change Bitcoin Cash Node blockchain directory](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_welcome_change_directory.png?raw=true) - -On the **Welcome** window, click **OK**. - -Since your node was down for a while, your device will start downloading the Bitcoin Cash transactions that you've missed. - -:::note - -The time necessary for downloading the missing transactions will vary depending on how long the node was not running. - -::: - -After the device has finished downloading transactions, the main window of the Bitcoin Cash Node GUI will be displayed. - -## Confirm Bitcoin Cash Node version - -To confirm which version of Bitcoin Cash Node you're running, click **Help** and select **About Bitcoin Cash Node**. -![About Bitcoin Cash Node](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_help_about.png?raw=true) - -Your version will be displayed on the window that appears. -![About Bitcoin Cash Node](https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi/blob/main/docs/assets/screenshots/upgrade_bitcoin_cash_node_about.png?raw=true) diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/03_cleanup.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/03_cleanup.mdx deleted file mode 100644 index a6b73c78..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/03_cleanup.mdx +++ /dev/null @@ -1,20 +0,0 @@ -# Clean up old files - -You should clean up your SSD since you no longer need the files from your previous Bitcoin Cash Node installation. - -:::note - -This part is optional but recommended. - -::: - -To remove those old files, open a new **Terminal** window and run the following command. Be sure to: - -- Replace `` with the name of the SSD directory. -- Replace `` with the version number of the previous Bitcoin Cash Node installation. - -```console -sudo rm -R //bitcoin-cash-node- -``` - -With the SSD organized, you can avoid confusion when updating Bitcoin Cash Node in the future. diff --git a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/04_conclusion.mdx b/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/04_conclusion.mdx deleted file mode 100644 index ca2510d1..00000000 --- a/docs/portfolio/personal/bitcoin-cash-node-on-raspberry-pi/upgrade/04_conclusion.mdx +++ /dev/null @@ -1,11 +0,0 @@ -# Conclusion - -You have now finished upgrading Bitcoin Cash Node on a Raspberry Pi 4 Ubuntu Desktop. - -By upgrading your full node when new versions are released, you: - -- Ensure your node takes advantage of new Bitcoin Cash protocols. -- Continue contributing to the Bitcoin Cash network and community by validating transactions. -- Promote the security and decentralization of Bitcoin Cash. - -You're all set to continue contributing to the health of a true, peer-to-peer digital currency! diff --git a/docusaurus.config.js b/docusaurus.config.js index b386f9b8..248b7619 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -39,15 +39,15 @@ const config = { 'classic', /** @type {import('@docusaurus/preset-classic').Options} */ ({ - // docs: { - // path: 'docs/portfolio', - // routeBasePath: 'portfolio', - // sidebarPath: './sidebars.js', + docs: { + path: 'docs/portfolio', + routeBasePath: 'portfolio', + sidebarPath: './sidebars.js', // // Please change this to your repo. // // Remove this to remove the "edit this page" links. // // editUrl: // // 'https://github.com/josh-wong/josh-wong.github.io/', - // }, + }, blog: { blogSidebarTitle: 'All posts', blogSidebarCount: 'ALL', @@ -105,7 +105,7 @@ const config = { // label: 'Tutorial', // }, {to: '/', label: 'Blog', position: 'left'}, - // {to: 'portfolio', label: 'Portfolio', position: 'left'}, + {to: 'portfolio', label: 'Portfolio', position: 'left'}, {to: 'about', label: 'About', position: 'left'}, { className: 'header-rss-link', diff --git a/sidebars.js b/sidebars.js index 4063fbd5..186cb1d1 100644 --- a/sidebars.js +++ b/sidebars.js @@ -30,31 +30,70 @@ const sidebars = { */ portfolioSidebar: [ 'index', - { - type: 'category', - label: 'Professional samples', - items: [ - 'index', - ], - }, + // { + // type: 'category', + // label: 'Professional samples', + // items: [ + // 'overview', + // ], + // }, { type: 'category', label: 'Personal samples', items: [ { - type: 'link', - label: 'Bitcoin Cash Node on a Raspberry Pi', - href: 'https://www.080f53.com/bitcoin-cash-node-on-raspberry-pi', + type: 'category', + label: 'Bitcoin Cash Node on Raspberry Pi', + items: [ + 'personal/bitcoin-cash-node-on-raspberry-pi/overview', + { + type: 'category', + label: 'Install and set up', + items: [ + 'personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/overview', + 'personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/preparation', + 'personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/bchn-setup', + 'personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/wallet-setup', + 'personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/conclusion', + 'personal/bitcoin-cash-node-on-raspberry-pi/installation-and-setup/references', + ], + }, + { + type: 'category', + label: 'Upgrade', + items: [ + 'personal/bitcoin-cash-node-on-raspberry-pi/upgrade/overview', + 'personal/bitcoin-cash-node-on-raspberry-pi/upgrade/preparation', + 'personal/bitcoin-cash-node-on-raspberry-pi/upgrade/bchn-upgrade', + 'personal/bitcoin-cash-node-on-raspberry-pi/upgrade/cleanup', + 'personal/bitcoin-cash-node-on-raspberry-pi/upgrade/conclusion', + ], + }, + ], }, { - type: 'link', - label: 'Microsoft Zune device and software setup', - href: 'https://www.080f53.com/zune-software-setup', + type: 'category', + label: 'passGen', + items: [ + 'personal/passgen/overview', + 'personal/passgen/generating-passwords', + 'personal/passgen/updating-the-app', + 'personal/passgen/uninstalling', + 'personal/passgen/references', + ], }, { - type: 'link', - label: 'passGen', - href: 'https://www.080f53.com/passGen', + type: 'category', + label: 'Microsoft Zune device and software setup', + items: [ + 'personal/zune-software-setup/overview', + 'personal/zune-software-setup/getting-started', + 'personal/zune-software-setup/installing-the-zune-software', + 'personal/zune-software-setup/connecting-with-the-zune-software', + 'personal/zune-software-setup/adding-apps-and-games', + 'personal/zune-software-setup/conclusion', + 'personal/zune-software-setup/references', + ], }, { type: 'link', diff --git a/src/components/Cards/buttons.tsx b/src/components/Cards/buttons.tsx new file mode 100644 index 00000000..e72368f9 --- /dev/null +++ b/src/components/Cards/buttons.tsx @@ -0,0 +1,75 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/* eslint-disable global-require */ + +import React from 'react'; +import clsx from 'clsx'; +import Translate from '@docusaurus/Translate'; +import Link from '@docusaurus/Link'; + +const CardsPassGen = [ + { + name: 'passGen v3.2', + // image: '.png', + url: { + page: 'https://github.com/josh-wong/passGen/releases/download/v3.2.0/passGen_installer.exe', + }, + description: ( + + + + ), + }, +]; + +interface Props { + name: string; + // image: string; + url: { + page?: string; + }; + // description: JSX.Element; +} + +function Card({ name, /*image,*/ url, /*description*/ }: Props) { + return ( +
+
+
+ {/* + } + */} +
+ +
+

{name}

+ {/*

{description}

*/} +
+ +
+
+ + Download + +
+
+
+
+ ); +} + +export function CardRowPassGen(): JSX.Element { + return ( +
+ {CardsPassGen.map((special) => ( + + ))} +
+ ); +} + diff --git a/src/components/Cards/projects.tsx b/src/components/Cards/projects.tsx index 0c4c8754..5954ebb6 100644 --- a/src/components/Cards/projects.tsx +++ b/src/components/Cards/projects.tsx @@ -68,7 +68,7 @@ const CardsPersonalProjects = [ name: 'Bitcoin Cash Node on a Raspberry Pi', // image: '.png', url: { - page: 'https://www.080f53.com/bitcoin-cash-node-on-raspberry-pi', + page: 'bitcoin-cash-node-on-raspberry-pi/', }, description: ( @@ -80,7 +80,7 @@ const CardsPersonalProjects = [ name: 'Microsoft Zune device and software setup', // image: '.png', url: { - page: 'https://www.080f53.com/zune-software-setup', + page: 'zune-software-setup/', }, description: ( @@ -92,7 +92,7 @@ const CardsPersonalProjects = [ name: 'passGen', // image: '.png', url: { - page: 'https://www.080f53.com/passGen', + page: 'passgen/', }, description: (