lint: add markdown linter (#5254)

This commit is contained in:
Marko
2020-08-17 16:40:50 +02:00
committed by GitHub
parent 022b255ed6
commit 42e4e8b58e
52 changed files with 515 additions and 415 deletions

View File

@@ -6,7 +6,7 @@ order: 2
## Overview
This is a quick start guide. If you have a vague idea about how <df value="tendermint">Tendermint</df>
This is a quick start guide. If you have a vague idea about how Tendermint
works and want to get started right away, continue.
## Install
@@ -18,7 +18,7 @@ Ubuntu 16.04 machine, use [this script](https://git.io/fFfOR).
WARNING: do not run this on your local machine.
```
```sh
curl -L https://git.io/fFfOR | bash
source ~/.profile
```
@@ -33,7 +33,7 @@ For manual installation, see the [install instructions](install.md)
Running:
```
```sh
tendermint init
```
@@ -41,7 +41,7 @@ will create the required files for a single, local node.
These files are found in `$HOME/.tendermint`:
```
```sh
$ ls $HOME/.tendermint
config data
@@ -58,46 +58,46 @@ Configuring a cluster is covered further below.
Start tendermint with a simple in-process application:
```
```sh
tendermint node --proxy_app=kvstore
```
and blocks will start to stream in:
```
```sh
I[01-06|01:45:15.592] Executed block module=state height=1 validTxs=0 invalidTxs=0
I[01-06|01:45:15.624] Committed state module=state height=1 txs=0 appHash=
```
Check the status with:
```
```sh
curl -s localhost:26657/status
```
### Sending Transactions
With the kvstore app running, we can send transactions:
With the KVstore app running, we can send transactions:
```
```sh
curl -s 'localhost:26657/broadcast_tx_commit?tx="abcd"'
```
and check that it worked with:
```
```sh
curl -s 'localhost:26657/abci_query?data="abcd"'
```
We can send transactions with a key and value too:
```
```sh
curl -s 'localhost:26657/broadcast_tx_commit?tx="name=satoshi"'
```
and query the key:
```
```sh
curl -s 'localhost:26657/abci_query?data="name"'
```
@@ -111,7 +111,7 @@ addresses below as IP1, IP2, IP3, IP4.
Then, `ssh` into each machine, and execute [this script](https://git.io/fFfOR):
```
```sh
curl -L https://git.io/fFfOR | bash
source ~/.profile
```
@@ -122,7 +122,7 @@ Next, use the `tendermint testnet` command to create four directories of config
Before you can start the network, you'll need peers identifiers (IPs are not enough and can change). We'll refer to them as ID1, ID2, ID3, ID4.
```
```sh
tendermint show_node_id --home ./mytestnet/node0
tendermint show_node_id --home ./mytestnet/node1
tendermint show_node_id --home ./mytestnet/node2
@@ -131,7 +131,7 @@ tendermint show_node_id --home ./mytestnet/node3
Finally, from each machine, run:
```
```sh
tendermint node --home ./mytestnet/node0 --proxy_app=kvstore --p2p.persistent_peers="ID1@IP1:26656,ID2@IP2:26656,ID3@IP3:26656,ID4@IP4:26656"
tendermint node --home ./mytestnet/node1 --proxy_app=kvstore --p2p.persistent_peers="ID1@IP1:26656,ID2@IP2:26656,ID3@IP3:26656,ID4@IP4:26656"
tendermint node --home ./mytestnet/node2 --proxy_app=kvstore --p2p.persistent_peers="ID1@IP1:26656,ID2@IP2:26656,ID3@IP3:26656,ID4@IP4:26656"