From c98f2a16741aa0cad0818b0433515f05fe872af0 Mon Sep 17 00:00:00 2001 From: TheNerd Date: Wed, 4 Oct 2023 19:22:40 -0300 Subject: [PATCH 1/2] general updates and fixes general updates and fixes --- FractionalUnits.md | 2 +- _includes/share-buttons.html | 2 ++ _nodeowners/how-to-setup-a-new-node.md | 34 ++++++++++++++++---------- about.md | 6 ++--- devs.md | 14 +++++------ 5 files changed, 34 insertions(+), 24 deletions(-) diff --git a/FractionalUnits.md b/FractionalUnits.md index 976e549..f4e4896 100644 --- a/FractionalUnits.md +++ b/FractionalUnits.md @@ -1,5 +1,5 @@ $TurtleNetwork -1TN is made up of 1/100,000,000 individual units. +1 TN is made up of 1/100,000,000 individual units. 1 TN is the minimum amount of TN you can work with on the blockchain. diff --git a/_includes/share-buttons.html b/_includes/share-buttons.html index 24f1d8c..427e6a1 100644 --- a/_includes/share-buttons.html +++ b/_includes/share-buttons.html @@ -32,6 +32,8 @@ #share-buttons > div.mail > svg {height: 14px; margin-top: 11px;} +
+ Share on:
diff --git a/_nodeowners/how-to-setup-a-new-node.md b/_nodeowners/how-to-setup-a-new-node.md index 5ccff44..2e98e7b 100644 --- a/_nodeowners/how-to-setup-a-new-node.md +++ b/_nodeowners/how-to-setup-a-new-node.md @@ -6,7 +6,7 @@ title: "How to setup a new node" **Document Approvals**
Document Owner: _@Black_Turtle on Telegram_
-Document Creator/Editor: _@gordobtel on Telegram_
+Document Creator/Editor: _@thenerd386 on Telegram_
**Table of Contents** @@ -51,17 +51,17 @@ The following tutorial will show the full steps in setting-up a Linux Full Node - Reboot - Create a local App user with sudo rights (more secure than using root): - - Issue the following command: `adduser *username*` (replace \*username\* with the preferred username) and it will prompt to set a password. + - Issue the following command: `sudo adduser *username*` (replace \*username\* with the preferred username) and it will prompt to set a password. - Add the new username into the sudo group with the following command: - `usermod -aG sudo *username*` (replace \*username\* with the chosen username). + `sudo usermod -aG sudo *username*` (replace \*username\* with the chosen username). - Log out as root. - Add this new user to SSHD config - Open /etc/ssh/sshd_config in your editor - - Add this to the bottom of the file `AllowUsers *username*` (replace \*useruname\* with what you chose above) + - Add this to the bottom of the file `AllowUsers *username*` (replace \*username\* with what you chose above) - For extra security you can also change the line `PermitRootLogin yes` to `PermitRootLogin no` - Save the file and exit - - Type `sudo systemctl restart sshd` or `service sshd restart` + - Type `sudo systemctl restart sshd` or `sudo service sshd restart` - Now you can log in to the server with your new user ## Turtle Network Node Setup -- Step 1 @@ -91,6 +91,8 @@ sudo apt install openjdk-11-jdk **Github:** +***Note: If you want to run a Testnet node make sure to download the files named with tn-testnet*** + 1. Download the current .deb package (check the latest release in the above link): `wget https://github.com/TurtleNetwork/TurtleNetwork/releases/download/v1.3.16/tn_1.3.16_all.deb` (replace `/v1.3.16/` with the latest version, replace `tn_1.3.16_all.deb` with the latest .deb version). 2. Install the downloaded .deb file: `dpkg -i tn_1.3.16_all.deb` (replace `tn_1.3.16_all.deb` with the latest .deb version). @@ -112,11 +114,12 @@ sudo apt install openjdk-11-jdk - Record your 'custom api key' and the 'hash' value which was generated by the previous command 5. Edit the TN.conf file in /usr/share/tn/: - - `vi /usr/share/tn/conf/tm.conf` (or `nano /usr/share/tm/conf/tn.conf`) + - `vi /usr/share/tn/conf/tn.conf` (or `nano /usr/share/tn/conf/tn.conf`) - Change the following defaults: - - \# P2P Network settings section: + - \# Network settings section: - remove the '\#' then change: node-name = \"My MAINNET node\" \--\> change to your custom node name - remove the '\#' then change: declared-address = \"1.2.3.4:6868\" \--\> change to 'yourstaticip:6860 + - if you experience issues connecting, you can specify know peers in this section \--\> known-peers = ["peer:port", "peer:port", "peer:port"] - \# Wallet settings section: - change: password = \"ridetheTN!\" to your wallet password set in section 4. - remove the '\#' then change seed = \"\" to your ENCODED SEED noted in section 4. @@ -193,7 +196,7 @@ echo "*** Turtle Network Firewall Complete ***" **Note:** All terminal sessions and commands from this step, will be done with the chosen 'username' from the 'Hosting section'. -1. Backup your current TN.conf: `cp /usr/share/tn/conf/tn.conf /usr/share/tn/conf/tn.conf.backup` +1. Backup your current tn.conf: `sudo cp /usr/share/tn/conf/tn.conf /usr/share/tn/conf/tn.conf.backup` 2. Stop the TN node: `sudo service tn stop` or `sudo systemctl stop tn` @@ -203,16 +206,21 @@ echo "*** Turtle Network Firewall Complete ***" 4. Install the downloaded .deb file: `dpkg -i tn_1.3.16_all.deb` (replace \*.deb with the latest .deb version) -
- If you need to resync the entire blockchain because this is mandatory: -

Remove TN data folder: `rm -rdf /var/lib/tn/data`

-
- 5. Start the TN node: `sudo service tn start` or `sudo systemctl start tn` +

If you need to resync the entire blockchain:

+ + - Remove TN data folder: `rm -rdf /var/lib/tn/data` + # Other Useful Information - Review the node log: `sudo journalctl -u tn.service -f` - Turtle Node Reporting: +- peers.dat is located at /var/lib/tn/peers.dat +- wallet.dat is located at /var/lib/tn/wallet/wallet.dat + +## Community + +Get answers to your questions in the Turtle Network [group](https://t.me/turtlenetwork) in Telegram. # Video [Tutorial on node setup](https://www.youtube.com/watch?v=G8ICWvelEys&feature=youtu.be&a=) diff --git a/about.md b/about.md index 7d5e994..449de09 100644 --- a/about.md +++ b/about.md @@ -8,6 +8,6 @@ Review the articles to understand the value that blockchain offers. The main objects of blockchain: * [Account](/about/account.html) -* [Transaction](/en/blockchain/transaction) -* [Block](/en/blockchain/block) -* [Node](/en/blockchain/node) \ No newline at end of file +* [Transaction](/en/blockchain/transaction) - _Missing_ +* [Block](/en/blockchain/block) - _Missing_ +* [Node](/en/blockchain/node) - _Missing_ \ No newline at end of file diff --git a/devs.md b/devs.md index 9934a15..b0c6d97 100644 --- a/devs.md +++ b/devs.md @@ -13,8 +13,8 @@ Send transactions and read blockchain data from your applications on Python, Jav Start creating decentralised applications following the steps: - View the Ride language [presentation](https://wavesplatform.com/technology/ride) on the official product page. -- Learn the language syntax in the [introductory article](/en/ride/getting-started). Take a look at the [examples](https://github.com/wavesplatform/ride-examples) of Ride scripts. -- The process of developing a decentralized application is explained in the article [How to Build, Deploy and Test a Waves Ride dApp](https://blog.wavesplatform.com/how-to-build-deploy-and-test-a-waves-ride-dapp-785311f58c2) on Medium. A step-by-step example of creating a simple dApp is shown on the page [Simple voting of the Waves blockchain](/en/building-apps/smart-contracts/simple-voting-on-the-waves-blockchain). +- Learn the language syntax in the [introductory article](https://docs.waves.tech/en/ride/getting-started). Take a look at the [examples](https://github.com/wavesplatform/ride-examples) of Ride scripts. +- The process of developing a decentralized application is explained in the article [How to Build, Deploy and Test a Waves Ride dApp](https://blog.wavesplatform.com/how-to-build-deploy-and-test-a-waves-ride-dapp-785311f58c2) on Medium. A step-by-step example of creating a simple dApp is shown on the page [Simple voting on the Waves blockchain](/en/building-apps/smart-contracts/simple-voting-on-the-waves-blockchain). - To learn more about Ride and the infrastructure for creating decentralised applications, take the [Mastering Web3 with Waves](https://stepik.org/course/54415/promo) course. After completing the course, you will receive a certificate of successful completion of the course. - Scripts can be developed with Waves Ride IDE and setting the network byte to: 'L' and setting network node to: https://tnnode2.turtlenetwork.eu/. This can be done through the settings wheel on the top right hand corner of the IDE. @@ -24,14 +24,14 @@ Start creating decentralised applications following the steps: - [Waves IDE](https://ide.wavesplatform.com/) — online application for developing and deploying applications on the blockchain. - [Surfboard](https://github.com/wavesplatform/Surfboard) — command-line interface for testing and deploying applications on the blockchain. -## Crowdfunding - -Coming soon - ## Community Get answers to your questions in the Turtle Network [group](https://t.me/turtlenetwork) in Telegram. -## Waves platform on GitHub +## TurtleNetwork platform on GitHub Turtle Network platform page on GitHub — [https://github.com/turtlenetwork](https://github.com/turtlenetwork). + +## Waves platform on GitHub + +Waves platform page on GitHub — [https://github.com/wavesplatform](https://github.com/wavesplatform). \ No newline at end of file From 3eeab83505e0607e76d69a15f7bd71c00ae127eb Mon Sep 17 00:00:00 2001 From: TheNerd Date: Thu, 18 Jan 2024 13:19:47 -0400 Subject: [PATCH 2/2] added spacing forgot to commit a while back. added spacing --- _includes/share-buttons.html | 2 -- _layouts/default.html | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/_includes/share-buttons.html b/_includes/share-buttons.html index 427e6a1..24f1d8c 100644 --- a/_includes/share-buttons.html +++ b/_includes/share-buttons.html @@ -32,8 +32,6 @@ #share-buttons > div.mail > svg {height: 14px; margin-top: 11px;} -
- Share on:
diff --git a/_layouts/default.html b/_layouts/default.html index c2dc4d9..b9d7db3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -46,6 +46,7 @@

{{ site.title | default: site.github.repo