Skip to content

fix: typos in documentation files #407

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

Open
wants to merge 6 commits into
base: master
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
28 changes: 14 additions & 14 deletions docs/api/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Nodes: FullNode

**9. Update the ratio of brokerage**
```protobuf
rpc UpdateBrokerage (UpdateBrokerageContract) returns (TransactionExtention) {}
rpc UpdateBrokerage (UpdateBrokerageContract) returns (TransactionExtension) {}
```
Nodes: FullNode

Expand Down Expand Up @@ -244,19 +244,19 @@ Nodes: FullNode and SolidityNode

**37. Deploy a smart contract**
```protobuf
rpc DeployContract (CreateSmartContract) returns (TransactionExtention) {}
rpc DeployContract (CreateSmartContract) returns (TransactionExtension) {}
```
Nodes: FullNode and SolidityNode

**38. Trigger a smart contract**
```protobuf
rpc TriggerContract (TriggerSmartContract) returns (TransactionExtention) {}
rpc TriggerContract (TriggerSmartContract) returns (TransactionExtension) {}
```
Nodes: FullNode

**39. Create a shielded transaction**
```protobuf
rpc CreateShieldedTransaction (PrivateParameters) returns (TransactionExtention) {}
rpc CreateShieldedTransaction (PrivateParameters) returns (TransactionExtension) {}
```
Nodes: FullNode

Expand Down Expand Up @@ -334,7 +334,7 @@ Nodes: FullNode

**52. Create a shielded transaction without using ask**
```protobuf
rpc CreateShieldedTransactionWithoutSpendAuthSig (PrivateParametersWithoutAsk) returns (TransactionExtention) {}
rpc CreateShieldedTransactionWithoutSpendAuthSig (PrivateParametersWithoutAsk) returns (TransactionExtension) {}
```
Nodes: FullNode

Expand Down Expand Up @@ -401,13 +401,13 @@ Nodes: FullNode

**63. Create an market order**
```
rpc MarketSellAsset (MarketSellAssetContract) returns (TransactionExtention) {};
rpc MarketSellAsset (MarketSellAssetContract) returns (TransactionExtension) {};
```
Nodes: FullNode

**64. Cancel the order**
```
rpc MarketCancelOrder (MarketCancelOrderContract) returns (TransactionExtention) {};
rpc MarketCancelOrder (MarketCancelOrderContract) returns (TransactionExtension) {};
```
Nodes: FullNode

Expand Down Expand Up @@ -461,31 +461,31 @@ Nodes: FullNode and SolidityNode

**73. Freeze TRX**
```protobuf
rpc FreezeBalanceV2 (FreezeBalanceV2Contract) returns (TransactionExtention) {}
rpc FreezeBalanceV2 (FreezeBalanceV2Contract) returns (TransactionExtension) {}
```
Nodes: FullNode

**74. UnFreeze TRX**
```protobuf
rpc UnfreezeBalanceV2 (UnfreezeBalanceV2Contract) returns (TransactionExtention) {}
rpc UnfreezeBalanceV2 (UnfreezeBalanceV2Contract) returns (TransactionExtension) {}
```
Nodes: FullNode

**75. Withdraw Staked TRX**
```protobuf
rpc WithdrawExpireUnfreeze (WithdrawExpireUnfreezeContract) returns (TransactionExtention) {}
rpc WithdrawExpireUnfreeze (WithdrawExpireUnfreezeContract) returns (TransactionExtension) {}
```
Nodes: FullNode

**76. Delegate Resource**
```protobuf
rpc DelegateResource (DelegateResourceContract) returns (TransactionExtention) {}
rpc DelegateResource (DelegateResourceContract) returns (TransactionExtension) {}
```
Nodes: FullNode

**77. UnDelegate Resource**
```protobuf
rpc UnDelegateResource (UnDelegateResourceContract) returns (TransactionExtention) {}
rpc UnDelegateResource (UnDelegateResourceContract) returns (TransactionExtension) {}
```
Nodes: FullNode

Expand All @@ -508,7 +508,7 @@ Nodes: FullNode
```
**81.  Cancel UnFreeze**
```protobuf
rpc CancelAllUnfreezeV2 (CancelAllUnfreezeV2Contract) returns (TransactionExtention) {}
rpc CancelAllUnfreezeV2 (CancelAllUnfreezeV2Contract) returns (TransactionExtension) {}
```
Nodes: FullNode

Expand All @@ -528,4 +528,4 @@ Nodes: FullNode
```protobuf
rpc GetMemoFee (EmptyMessage) returns (PricesResponseMessage) {}
```
Nodes: FullNodes
Nodes: FullNodes
2 changes: 1 addition & 1 deletion docs/clients/wallet-cli-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ wallet> getaccount TSzdGHnhYnQKFF4LKrRLztkjYAvbNoxnQ8
"address": "TSzdGHnhYnQKFF4LKrRLztkjYAvbNoxnQ8",
"balance": 2665198240,
"create_time": 1650363711000,
"latest_opration_time": 1653578769000,
"latest_operation_time": 1653578769000,
"latest_consume_free_time": 1651228080000,
"account_resource": {
"latest_consume_time_for_energy": 1653578769000
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started/getting_started_with_javatron.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Result:
"address": "TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM",
"balance": 93643857919,
"create_time": 1619681898000,
"latest_opration_time": 1655358327000,
"latest_operation_time": 1655358327000,
"is_witness": true,
"asset_issued_name": "TestTRC10T",
"latest_consume_free_time": 1652948766000,
Expand Down
2 changes: 1 addition & 1 deletion docs/mechanism-algorithm/shielded-TRC20-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The technical implementation is based on zk-SNARK(Zero-Knowledge Succinct Non-In

### Usage Guide

1. The sender needs to create an ordianry account by api. The account is used to trigger the shielded TRC-20 contract, so it should has some trx to pay the transaction fee.
1. The sender needs to create an ordinary account by api. The account is used to trigger the shielded TRC-20 contract, so it should has some trx to pay the transaction fee.

2. The sender should create the shielded address, which is used to send and receive the shielded TRC-20 notes.

Expand Down
4 changes: 2 additions & 2 deletions docs/releases/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ Source code:https://github.com/tronprotocol/java-tron/pull/4045
In GreatVoyage-v4.4.0 (Rousseau), the following optimizations have been introduced to the `TriggerConstantContract` interface:
- Execute contract creation when `ContractAddress` is empty
- Remove the check of the incoming parameters `callvalue` and `tokenvalue`
- The log list and internal transaction list are added to `TransactionExtention`
- The log list and internal transaction list are added to `TransactionExtension`

Source Code: https://github.com/tronprotocol/java-tron/pull/4032

Expand Down Expand Up @@ -1916,7 +1916,7 @@ GreatVoyage-v4.3.0 (Bacon) provides a new ABI type Error, which is a custom erro

### API

#### 1. Add a New Field: `energy_used` in `TransactionExtention`
#### 1. Add a New Field: `energy_used` in `TransactionExtension`
Users cannot forecast the energy usage of smart contract transactions in versions earlier to GreatVoyage-v4.3.0 (Bacon).
The version of GreatVoyage-v4.3.0 (Bacon) adds the `energy_used` field to the `TransactionExtension`. When the user invokes the contract method via `TriggerConstantContract`, a sandbox environment based on the most recently synchronized block at the current node is created to supply TVM with this method call. Following the execution, the actual energy consumption figure is written to the `energy_used` field(this operation will not generate an on-chain transaction, nor will it change the status of the current node).

Expand Down
2 changes: 1 addition & 1 deletion docs/using_javatron/toolkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ $ nohup java -Xms9G -Xmx9G -XX:ReservedCodeCacheSize=256m \
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 \
-jar FullNode.jar -c main_net_config.conf >> start.log 2>&1 &

# Super representitive's FullNode
# Super representative's FullNode
$ nohup java -Xms9G -Xmx9G -XX:ReservedCodeCacheSize=256m \
-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m \
-XX:MaxDirectMemorySize=1G -XX:+PrintGCDetails \
Expand Down