update readme

This commit is contained in:
Peng Zhong 2018-06-28 02:02:23 +08:00
parent 04c69431fc
commit cc205b7b80
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Graphical interface to explore validators, fullnodes, and blocks for Cosmos Hub
## Backend Requirement
The Explorer is entirely stateless and currently relies on a high-throughput Cosmos Full Node to connect to. The Explorer requires both the Tendermint RPC and the Cosmos LCD REST endpoints to be available publicly through TLS-secured subdomains. The convention is `https://rpc.fullnode.com` and `https://lcd.fullnode.com`.
The Explorer is stateless and relies on a high-throughput Cosmos full node to connect to. The Explorer requires both the Tendermint RPC and the Cosmos LCD REST endpoints to be available publicly through TLS-secured subdomains. The convention is `https://rpc.fullnode.com` and `https://lcd.fullnode.com`.
To change the backend, edit the file `./src/store/modules/blockchain.js`. On the lines 5 and 6, change the `technofractal.com` part of the URL to your full node's domain name.
@ -19,7 +19,7 @@ And change the line `27` too:
const client = RpcClient("wss://rpc.technofractal.com:443")
```
**WARNING:** Every user the Explorer opens two websockets to full node in question, and will continue to spam your full node with AJAX requests until they close the page. We need a better backend solution for the Explorer! Please help if you can.
**WARNING:** Every user that visits the Explorer opens two websockets to the default full node. The user will continue to spam your full node with AJAX requests until they close the page. We need a better backend solution for the Explorer! Please help if you can.
## Build