docs: update .vuepress/config.js (#5043)

## Description

![image](https://user-images.githubusercontent.com/1021101/86193320-7aa13200-bb00-11ea-95ac-aa6468ab7f46.png)


### Next steps:
- [x] bump vuepress-theme-cosmos version
- [x] tweak config.js
- [x] update color variables
- [x] sh, shell → bash for syntax highlighting
This commit is contained in:
Cyrus Goh
2020-07-01 06:43:35 +00:00
committed by GitHub
parent 92a361b1e3
commit 5d4eee2eea
17 changed files with 901 additions and 860 deletions
@@ -38,7 +38,7 @@ https://pkg.go.dev/github.com/tendermint/tendermint/light?tab=doc#TrustOptions
One way to obtain semi-trusted hash & height is to query multiple full nodes
and compare their hashes:
```sh
```bash
$ curl -s https://233.123.0.140:26657:26657/commit | jq "{height: .result.signed_header.header.height, hash: .result.signed_header.commit.block_id.hash}"
{
"height": "273",
@@ -54,7 +54,7 @@ can be tracked back to a block header by a proof will be verified before
passing them back to the caller. Other than that, it will present the same
interface as a full Tendermint node.
```sh
```bash
$ tendermint light supernova -p tcp://233.123.0.140:26657 \
-w tcp://179.63.29.15:26657,tcp://144.165.223.135:26657 \
--height=10 --hash=37E9A6DD3FA25E83B22C18835401E8E56088D0D7ABC6FD99FCDC920DD76C1C57
@@ -124,7 +124,7 @@ If, after skimming through the logs, things are not clear still, the next thing
to try is querying the `/status` RPC endpoint. It provides the necessary info:
whenever the node is syncing or not, what height it is on, etc.
```sh
```bash
curl http(s)://{ip}:{rpcPort}/status
```
@@ -132,7 +132,7 @@ curl http(s)://{ip}:{rpcPort}/status
state (proposer, latest validators, peers states). From it, you should be able
to figure out why, for example, the network had halted.
```sh
```bash
curl http(s)://{ip}:{rpcPort}/dump_consensus_state
```
+3 -3
View File
@@ -106,7 +106,7 @@ definition](https://github.com/tendermint/tendermint/blob/master/types/genesis.g
To run a Tendermint node, use:
```sh
```bash
tendermint node
```
@@ -115,7 +115,7 @@ By default, Tendermint will try to connect to an ABCI application on
another window. If you don't, kill Tendermint and run an in-process version of
the `kvstore` app:
```sh
```bash
tendermint node --proxy_app=kvstore
```
@@ -129,7 +129,7 @@ in-process with Tendermint if it's written in Go. If your app is not written in
Go, run it in another process, and use the `--proxy_app` flag to specify the
address of the socket it is listening on, for instance:
```sh
```bash
tendermint node --proxy_app=/var/run/abci.sock
```