Skip to content

Commit

Permalink
guide to vote revised and format revised
Browse files Browse the repository at this point in the history
  • Loading branch information
ybhgenius committed Jul 10, 2018
1 parent 3f2c630 commit 22313e2
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 4 deletions.
Binary file added English_Documentation/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Questions regarding error occurrences/messages for Super Nodes

17:02:42.699 INFO [o.t.c.s.WitnessService] Try Produce Block
 17:02:42.699 INFO [o.t.c.s.WitnessService] Not sync


A: A: This message means your node is not in sync with the network. To start produce blocks, you need to be in sync. Check your clock height with the command:
A: This message means your node is not in sync with the network. To start produce blocks, you need to be in sync. Check your block height with the command:

- tail -f logs/tron.log |grep "MyheadBlockNumber"

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

![](https://raw.githubusercontent.com/ybhgenius/Documentation/master/images/Blockchain-Explorer/Guide_for_voting_on_Blockchain_Explorer/6.png)

## 6. Only users with TRX are allowed to vote. 10,000TRX can be claimed at the bottom of the account page to vote and only one claim can be made by every account. Once TRX is successfully claimed, account balance can be viewed in WALLET.
## 6. Only users with TRX are allowed to vote. Request of free testing TRX is only supported on the testnest at https://test.tronscan.org/#/. 10,000TRX can be claimed at the bottom of the account page to vote and only one claim can be made by every account. Once TRX is successfully claimed, account balance can be viewed in WALLET.

![](https://raw.githubusercontent.com/ybhgenius/Documentation/master/images/Blockchain-Explorer/Guide_for_voting_on_Blockchain_Explorer/testnet.png)

Expand Down
Binary file not shown.
Binary file not shown.
Binary file added English_Documentation/TRON_Protocol/.DS_Store
Binary file not shown.
Binary file not shown.
4 changes: 3 additions & 1 deletion TRX/grpc-gateway-http.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
you will need to deploy a [grpc-gateway](https://github.com/tronprotocol/grpc-gateway/blob/master/README.md)
# TRON GRPC-Gateway-HTTP

You will need to deploy a [grpc-gateway](https://github.com/tronprotocol/grpc-gateway/blob/master/README.md)

The grpc-gateway will encode the bytes fields defined in proto into base64 format. For input parameters in bytes format, you should encode in into base64 format, and for output parameters in bytes format, you should decode it into base64 format for subsequent processing. We provide a encoding/decoding tool which you can download from https://github.com/tronprotocol/tron-demo/blob/master/TronConvertTool.zip.

Expand Down
2 changes: 2 additions & 0 deletions TRX_CN/grpc-gateway-http.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TRON GRPC-Gateway-HTTP

需要部署grpc-gateway,详情请见:[grpc-gateway文档](https://github.com/tronprotocol/grpc-gateway/blob/master/README.md)

grpc-gateway会自动把proto中的bytes字段转换为base64编码。所以如果输入参数是bytes类型,需要首先转化为base64编码,再发送请求;如果输出参数是bytes类型,请用base64解码该参数,再做后续处理。 Tron提供了一个编解码的工具,下载地址是:https://github.com/tronprotocol/tron-demo/blob/master/TronConvertTool.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

![](https://raw.githubusercontent.com/ybhgenius/Documentation/master/images/Blockchain-Explorer/Guide_for_voting_on_Blockchain_Explorer/6.png)

## 6. 只有拥有TRX时才能投票,账户页面底部可领取10000TRX进行投票。每个账户只能申请一次TRX,领取成功后可去WALLET中查看账户详情。

## 6. 只有拥有TRX时才能投票,目前仅测试网可以支持免费领取TRX,登陆测试网https://test.tronscan.org/#/,账户页面底部可领取10000TRX进行投票。每个账户只能申请一次TRX,领取成功后可去WALLET中查看账户详情。


![](https://raw.githubusercontent.com/ybhgenius/Documentation/master/images/Blockchain-Explorer/Guide_for_voting_on_Blockchain_Explorer/testnet.png)

Expand Down

0 comments on commit 22313e2

Please sign in to comment.