Browse Source

remove extra line breaks

feat/emotion-core-ui
Jason Schrader 5 years ago
committed by Thomas Osmonson
parent
commit
0a7afb8e87
  1. 19
      src/pages/stacks-blockchain/testnet-node.md

19
src/pages/stacks-blockchain/testnet-node.md

@ -13,27 +13,23 @@ images:
## Introduction ## Introduction
The Stacks 2.0 testnet is currently in development. As part of the testnet, you can run a node and connect it to a The Stacks 2.0 testnet is currently in development. As part of the testnet, you can run a node and connect it to a public network. This guide will walk you through downloading and running your own node in the testnet network.
public network. This guide will walk you through downloading and running your own node in the testnet network.
### Prerequisites ### Prerequisites
Note: If you use Linux, you may need to manually install [`libssl-dev`](https://wiki.openssl.org/index.php/Libssl_API) Note: If you use Linux, you may need to manually install [`libssl-dev`](https://wiki.openssl.org/index.php/Libssl_API) and other packages. In your command line, run the following to get all packages:
and other packages. In your command line, run the following to get all packages:
```bash ```bash
sudo apt-get install build-essential cmake libssl-dev pkg-config sudo apt-get install build-essential cmake libssl-dev pkg-config
``` ```
Ensure that you have Rust installed. If you are using macOS, Linux, or another Unix-like OS, run the following. If you Ensure that you have Rust installed. If you are using macOS, Linux, or another Unix-like OS, run the following. If you are on a different OS, follow the [official Rust installation guide](https://www.rust-lang.org/tools/install).
are on a different OS, follow the [official Rust installation guide](https://www.rust-lang.org/tools/install).
```bash ```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
``` ```
If Rust is already installed, you might see this prompt. Select 'Proceed with Installation' to make sure you have the If Rust is already installed, you might see this prompt. Select 'Proceed with Installation' to make sure you have the latest version installed.
latest version installed.
![rustup prompt](/images/rust-install.png) ![rustup prompt](/images/rust-install.png)
@ -69,16 +65,13 @@ Back in the command line, run:
stacks-node argon stacks-node argon
``` ```
The first time you run this, you'll see some logs indicating that the Rust code is being compiled. Once that's done, you The first time you run this, you'll see some logs indicating that the Rust code is being compiled. Once that's done, you should see some logs that look something like the this:
should see some logs that look something like the this:
``` ```
INFO [1588108047.585] [src/chainstate/stacks/index/marf.rs:732] First-ever block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 INFO [1588108047.585] [src/chainstate/stacks/index/marf.rs:732] First-ever block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206
``` ```
Awesome! Your node is now connected to the testnet network. Your node will receive new blocks when they are produced, Awesome! Your node is now connected to the testnet network. Your node will receive new blocks when they are produced, and you can use your [node's RPC API](/core/smart/rpc-api) to send transactions, fetch information for contracts and accounts, and more.
and you can use your [node's RPC API](/core/smart/rpc-api) to send transactions, fetch information for contracts and
accounts, and more.
### Mine Stacks token ### Mine Stacks token

Loading…
Cancel
Save