Skip to content

Commit c136a26

Browse files
authored
docs: fix spelling and formatting errors (#5981)
* fix spelling and formatting errors
1 parent f7ecfc3 commit c136a26

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Recommended:
102102

103103
## Running a full node for mainnet
104104

105-
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:
105+
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:
106106

107107
```bash
108108
$ nohup java -Xms9G -Xmx9G -XX:ReservedCodeCacheSize=256m \

Tron protobuf protocol document.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ Contract and contract-related messages.
975975

976976
- message `VoteAssetContract`
977977

978-
`owner_address`: assress of contract owner.
978+
`owner_address`: address of contract owner.
979979

980980
`vote_address`: voted address of asset.
981981

@@ -1059,7 +1059,7 @@ Contract and contract-related messages.
10591059

10601060
`total_supply`: maximum of asset.
10611061

1062-
`frozen_supply`: frozen supplt of asset.
1062+
`frozen_supply`: frozen supply of asset.
10631063

10641064
`trx_num`: trx num defines token price.
10651065

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

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

1082-
`public_free_asset_net_limit`: free bandwidth limit for all acoounts.
1082+
`public_free_asset_net_limit`: free bandwidth limit for all accounts.
10831083

10841084
`public_free_asset_net_usage`: free bandwidth usage of all accounts.
10851085

1086-
`public_latest_free_net_time`: the latest bandwidth consumption time fo token transfer.
1086+
`public_latest_free_net_time`: the latest bandwidth consumption time for token transfer.
10871087

10881088
```java
10891089
message AssetIssueContract {
@@ -1131,7 +1131,7 @@ Contract and contract-related messages.
11311131

11321132
`owner_address`: owner address.
11331133

1134-
`to_address`: reveiver address.
1134+
`to_address`: receiver address.
11351135

11361136
`asset_name`: target asset name.
11371137

@@ -1461,7 +1461,7 @@ Contract and contract-related messages.
14611461
14621462
`owner_address`: address of owner.
14631463
1464-
`owner`: autuority to execute all contracts.
1464+
`owner`: authority to execute all contracts.
14651465
14661466
`witness`: used by SR for generating blocks.
14671467
@@ -1514,7 +1514,7 @@ Contract and contract-related messages.
15141514
15151515
`binding_signature`: signature to verify transaction.
15161516
1517-
`transparent_to_address`: transparent address of reveiver.
1517+
`transparent_to_address`: transparent address of receiver.
15181518
15191519
`to_amount`: amount to transparent to_address
15201520
@@ -1536,7 +1536,7 @@ Contract and contract-related messages.
15361536

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

1539-
message `SmartContract` has mutiple attributes and nested message `ABI`
1539+
message `SmartContract` has multiple attributes and nested message `ABI`
15401540

15411541
- message `SmartContract`
15421542

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

15601560
- message `Param`
15611561

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

15641564
`name`: name of the parameter.
15651565

@@ -1757,7 +1757,7 @@ message `SmartContract` has mutiple attributes and nested message `ABI`
17571757

17581758
`tree`: incremental merkle tree.
17591759

1760-
`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.
1760+
`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.
17611761

17621762
`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.
17631763

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

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

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

17871787
```java
17881788
message IncrementalMerkleVoucherInfo {
@@ -2124,13 +2124,13 @@ message `SmartContract` has mutiple attributes and nested message `ABI`
21242124

21252125
- #### Node Information
21262126

2127-
Node information is separaed into several parts and implemented by nested messages.
2127+
Node information is separated into several parts and implemented by nested messages.
21282128

21292129

21302130

21312131
- message `NodeInfo`
21322132

2133-
`beginSyncNum`: beginning block height for synchornize.
2133+
`beginSyncNum`: beginning block height for synchronize.
21342134

21352135
`block`: head block id.
21362136

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

21552155
- message `PeerInfo`:
21562156

2157-
`lastSyncBlock`: last block id for synchornize.
2157+
`lastSyncBlock`: last block id for synchronize.
21582158

21592159
`remainNum`: number of remaining blocks.
21602160

21612161
`lastBlockUpdateTime`: latest block update time .
21622162

2163-
`syncFlag`: is synchroniing or not.
2163+
`syncFlag`: is synchronizing or not.
21642164

21652165
`headBlockTimeWeBothHave`: timestamp of common head block.
21662166

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

21732173
`port`: listening port.
21742174

2175-
`nodeId`: ramdomly generated node ID
2175+
`nodeId`: randomly generated node ID
21762176

21772177
`connectTime`: connection time period from established.
21782178

shell.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The script is available in the java-tron project at [github](https://github.com/
2020
sh start.sh --run
2121
```
2222

23-
Start the servive with options.
23+
Start the service with options.
2424

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

0 commit comments

Comments
 (0)