From 50100fa9c60b019b6edc25fe1772771de53c2679 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:54:55 +0200 Subject: [PATCH 1/4] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bdb0877d70b..0172aae90dc 100644 --- a/README.md +++ b/README.md @@ -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 \ From 05e2e85c3537bade88adcc23c9c65a4f62500c68 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:57:16 +0200 Subject: [PATCH 2/4] fix typo --- shell.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.md b/shell.md index e457be3c790..1f632e75a44 100644 --- a/shell.md +++ b/shell.md @@ -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 From 988d9bb0c9afe848796269c16d6d8e41c74c6213 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:04:17 +0200 Subject: [PATCH 3/4] fix typos --- Tron protobuf protocol document.md | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Tron protobuf protocol document.md b/Tron protobuf protocol document.md index 2ba2c3113a3..bd625c44adf 100644 --- a/Tron protobuf protocol document.md +++ b/Tron protobuf protocol document.md @@ -478,7 +478,7 @@ Transaction and transaction-related messages. ```java enum code { - SUCESS = 0; + SUCCESS = 0; FAILED = 1; } ``` @@ -509,7 +509,7 @@ Transaction and transaction-related messages. ```java message Result { enum code { - SUCESS = 0; + SUCCESS = 0; FAILED = 1; } enum contractResult { @@ -638,7 +638,7 @@ Transaction and transaction-related messages. message Result { enum code { - SUCESS = 0; + SUCCESS = 0; FAILED = 1; } enum contractResult { @@ -698,7 +698,7 @@ Transaction and transaction-related messages. ```java enum code { - SUCESS = 0; + SUCCESS = 0; FAILED = 1; } ``` @@ -760,7 +760,7 @@ Transaction and transaction-related messages. ```java message TransactionInfo { enum code { - SUCESS = 0; + SUCCESS = 0; FAILED = 1; } message Log { @@ -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. @@ -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. @@ -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 { @@ -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. @@ -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. @@ -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 @@ -1536,7 +1536,7 @@ Contract and contract-related messages. ### Smart Contract -message `SmartContract` has mutiple attributes and nested message `ABI` +message `SmartContract` has multiple attributes and nested message `ABI` - message `SmartContract` @@ -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. @@ -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. @@ -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 { @@ -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. @@ -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. @@ -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. From 274116ba75063cd4fb4634e54e6650f986cb979f Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:56:49 +0200 Subject: [PATCH 4/4] revert change --- Tron protobuf protocol document.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tron protobuf protocol document.md b/Tron protobuf protocol document.md index bd625c44adf..d8e621ed69a 100644 --- a/Tron protobuf protocol document.md +++ b/Tron protobuf protocol document.md @@ -478,7 +478,7 @@ Transaction and transaction-related messages. ```java enum code { - SUCCESS = 0; + SUCESS = 0; FAILED = 1; } ``` @@ -509,7 +509,7 @@ Transaction and transaction-related messages. ```java message Result { enum code { - SUCCESS = 0; + SUCESS = 0; FAILED = 1; } enum contractResult { @@ -638,7 +638,7 @@ Transaction and transaction-related messages. message Result { enum code { - SUCCESS = 0; + SUCESS = 0; FAILED = 1; } enum contractResult { @@ -698,7 +698,7 @@ Transaction and transaction-related messages. ```java enum code { - SUCCESS = 0; + SUCESS = 0; FAILED = 1; } ``` @@ -760,7 +760,7 @@ Transaction and transaction-related messages. ```java message TransactionInfo { enum code { - SUCCESS = 0; + SUCESS = 0; FAILED = 1; } message Log {