Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typos #5981

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Recommended:

## Running a full node for mainnet

Full node has full historical data, it is the entry point into the TRON network , it can be used by other processes as a gateway into the TRON network via HTTP and GRPC endpoints. You can interact with the TRON network through full node:transfer assets, deploy contracts, interact with contracts and so on. `-c` parameter specifies a configuration file to run a full node:
Full node has full historical data, it is the entry point into the TRON network, it can be used by other processes as a gateway into the TRON network via HTTP and GRPC endpoints. You can interact with the TRON network through full node:transfer assets, deploy contracts, interact with contracts and so on. `-c` parameter specifies a configuration file to run a full node:

```bash
$ nohup java -Xms9G -Xmx9G -XX:ReservedCodeCacheSize=256m \
Expand Down
32 changes: 16 additions & 16 deletions Tron protobuf protocol document.md
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ Contract and contract-related messages.

- message `VoteAssetContract`

`owner_address`: assress of contract owner.
`owner_address`: address of contract owner.

`vote_address`: voted address of asset.

Expand Down Expand Up @@ -1059,7 +1059,7 @@ Contract and contract-related messages.

`total_supply`: maximum of asset.

`frozen_supply`: frozen supplt of asset.
`frozen_supply`: frozen supply of asset.

`trx_num`: trx num defines token price.

Expand All @@ -1079,11 +1079,11 @@ Contract and contract-related messages.

`free_asset_net_limit`: free bandwidth limit each account owns when transfers asset.

`public_free_asset_net_limit`: free bandwidth limit for all acoounts.
`public_free_asset_net_limit`: free bandwidth limit for all accounts.

`public_free_asset_net_usage`: free bandwidth usage of all accounts.

`public_latest_free_net_time`: the latest bandwidth consumption time fo token transfer.
`public_latest_free_net_time`: the latest bandwidth consumption time for token transfer.

```java
message AssetIssueContract {
Expand Down Expand Up @@ -1131,7 +1131,7 @@ Contract and contract-related messages.

`owner_address`: owner address.

`to_address`: reveiver address.
`to_address`: receiver address.

`asset_name`: target asset name.

Expand Down Expand Up @@ -1461,7 +1461,7 @@ Contract and contract-related messages.

`owner_address`: address of owner.

`owner`: autuority to execute all contracts.
`owner`: authority to execute all contracts.

`witness`: used by SR for generating blocks.

Expand Down Expand Up @@ -1514,7 +1514,7 @@ Contract and contract-related messages.

`binding_signature`: signature to verify transaction.

`transparent_to_address`: transparent address of reveiver.
`transparent_to_address`: transparent address of receiver.

`to_amount`: amount to transparent to_address

Expand All @@ -1536,7 +1536,7 @@ Contract and contract-related messages.

### <span id="smartc">Smart Contract</span>

message `SmartContract` has mutiple attributes and nested message `ABI`
message `SmartContract` has multiple attributes and nested message `ABI`

- message `SmartContract`

Expand All @@ -1559,7 +1559,7 @@ message `SmartContract` has mutiple attributes and nested message `ABI`

- message `Param`

`indexed`: `true` if the field is part of the log’s topics, `false` if it one of the log’s data segment.
`indexed`: `true` if the field is part of the log’s topics, `false` if it is one of the log’s data segment.

`name`: name of the parameter.

Expand Down Expand Up @@ -1757,7 +1757,7 @@ message `SmartContract` has mutiple attributes and nested message `ABI`

`tree`: incremental merkle tree.

`filled`: this is a array, it contains the root of the subtree which can be combined with the param tree to be a new merkle tree.
`filled`: this is an array, it contains the root of the subtree which can be combined with the param tree to be a new merkle tree.

`cursor`: the node that can be combined to a subtree, when they are combined to a subtree, compute its root and put it into the filled.

Expand All @@ -1782,7 +1782,7 @@ message `SmartContract` has mutiple attributes and nested message `ABI`

`vouchers`: this is an array, each items represents the merklevoucher of the outputpoint.

`paths`: his is an array each items represents the path of the outputpoint.
`paths`: this is an array each items represents the path of the outputpoint.

```java
message IncrementalMerkleVoucherInfo {
Expand Down Expand Up @@ -2124,13 +2124,13 @@ message `SmartContract` has mutiple attributes and nested message `ABI`

- #### Node Information

Node information is separaed into several parts and implemented by nested messages.
Node information is separated into several parts and implemented by nested messages.



- message `NodeInfo`

`beginSyncNum`: beginning block height for synchornize.
`beginSyncNum`: beginning block height for synchronize.

`block`: head block id.

Expand All @@ -2154,13 +2154,13 @@ message `SmartContract` has mutiple attributes and nested message `ABI`

- message `PeerInfo`:

`lastSyncBlock`: last block id for synchornize.
`lastSyncBlock`: last block id for synchronize.

`remainNum`: number of remaining blocks.

`lastBlockUpdateTime`: latest block update time .

`syncFlag`: is synchroniing or not.
`syncFlag`: is synchronizing or not.

`headBlockTimeWeBothHave`: timestamp of common head block.

Expand All @@ -2172,7 +2172,7 @@ message `SmartContract` has mutiple attributes and nested message `ABI`

`port`: listening port.

`nodeId`: ramdomly generated node ID
`nodeId`: randomly generated node ID

`connectTime`: connection time period from established.

Expand Down
2 changes: 1 addition & 1 deletion shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The script is available in the java-tron project at [github](https://github.com/
sh start.sh --run
```

Start the servive with options.
Start the service with options.

```
sh start.sh --run -j /data/FullNode.jar -c /data/config.conf -d /data/output-directory
Expand Down