You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 11, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: docs/Frequently_Asked_Questions.rst
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,9 @@ Questions regarding operation in public networks
56
56
Is a good practice to limit JVM heap size to fit inside one NUMA region (Around 1 TB on the bigger machines). If its JVM spans NUMA regions, GC will take much longer.
57
57
58
58
2. Q: What performance does a processor need to have in order to run the node software?
59
-
A: At least 2 core CPUs are required to run a full node, at the minimum performance. On a private environment, with lower number of transactions, you can will be fine running on 4 CPU cores. So, the CPU performance will depends on the network request. You will need to monitor your machine to decide the best requirements. In the PUBLIC NETWORK, TRON recommend at least 64CPU cores machine for a Super Representative to be approved.
59
+
A: At least 2 core CPUs are required to run a full node, at the minimum performance. If you are running on a private environment, with fewer transactions, then you will be fine with 4 CPU cores. So, the amount of network requests determines the CPU performance required to run the nodes. You will need to monitor your machine to decide the best requirements. In the PUBLIC NETWORK, TRON recommends to run a machine with at least 64 CPU cores for a Super Representative to become an approved applicant.
60
60
61
-
3.Q: What ports should be open to public network?
61
+
3.Q: What ports should be opened to be externally accessible?
62
62
A: 18888 and 50051 are the two default ports.
63
63
64
64
4. Q: What amount of data traffic can I expect? Will the data to be spread out to many hosts or will it be enough to just provide several nodes myself?
@@ -87,7 +87,7 @@ Questions regarding block generation by Super Nodes
87
87
A: Yes, Super Nodes produce blocks in rotation. Within current testing environment, one block is produced every 3 seconds.
88
88
89
89
2. Q: If a Super Node cannot connect to the TRON network, how long will it take to be able to connect to the network again?
90
-
A: An SR’s reconnection speed depends only on its recovery and has nothing to do with the network.
90
+
A: A: An SR's recovery depends only on it's connection speeds and it has nothing to do with the TRON network.
91
91
92
92
3. Q: What’s the formula of the miss rate of Super Nodes’ block production?
93
93
A: “The number of blocks which supposedly should have been produced but aren't” will be taken into account. The number will keep accumulating and not be cleared.
@@ -134,10 +134,10 @@ Questions on the Super Representatives election
134
134
A: Results are updated every 6 hours, which will be announce only after this round of voting.
135
135
136
136
2. Q: The amount of votes one holds is equivalent to the amount of his/her holding of TRX, so one vote can be made for one TRX, right? And the vote can be made to more than one Super Representative candidate?
137
-
A: A: Every TRX equals one vote can only be casted for one candidate. However, if you have more then one TP( or frozen TRX), you can spread the votes among all the candidates you want to.
137
+
A: Every TRX equals one vote can only be casted for one candidate. However, if you have more than one TP( or frozen TRX), you can spread the votes among all the candidates you want to.
138
138
139
139
3. Q: Since TRX is required to obtain the right to vote, do we need to deposit a certain amount of TRX into Tronscan wallet?
140
-
A: Yes, TRX deposit is needed for application for witness node and for voting.But you don’t necessarily have to use the Tronscan wallet. The ledger is kept on the blockchain and wallets are only used for viewing.
140
+
A: Yes, you need to have TRX in order to be able to freeze them. But no, since your balance is held on the blockchain and not on Tronscan you can use any other wallet or means to freeze your TRX.
141
141
142
142
4. Q: Is there a threshold for the daily election of 27 Super Representatives? Or is it encouraged to compete freely?
143
143
A: Free competition. Solicit the votes if you want them. Due to the existence of the GR system, an SR needs at least 100 million votes to replace a GR. There is no reward for GRs’ work.
@@ -181,7 +181,7 @@ Others
181
181
A: Yes. It can be found in our Github documentation, please check https://github.com/tronprotocol/Documentation/blob/master/English_Documentation/TRON_Protocol/TRON_Wallet_RPC-API.md
182
182
183
183
6. Q: Can Solidity Node and Full Node be employed on the same machine? Since we can’t specify data directory, will there be consequences to the two nodes’ sharing data?
184
-
A: You actually can specify data directory, config file paramter: db.directory = "database", and index.directory = "index". But you can also have FullNode.jar and SolidityNode.jar running in difefrent directories, and have the data and log fiels totally separated. Remember to change the ports on config.conf, as two applications cant run on the same port.
184
+
A: You actually can specify data directory, config file parameter: db.directory = "database", and index.directory = "index". But you can also run FullNode.jar and SolidityNode.jar in different directories, and totally separate the data and log files. Remember to change the ports on config.conf, as two applications can't run on the same port.
185
185
186
186
7. Q: Without Txid, how can we tell the users to inquire the transaction after our transfer?
187
187
A: You can use transaction hash as TXID.
@@ -193,7 +193,7 @@ Others
193
193
A: Solidity Nodes are set up for the storage of irrevocable blocks, a few blocks behind Full Nodes, so they are more suitable for the confirmation of transfer. You can connect to both Solidity Node and Full Node through gateway.
194
194
195
195
10. Q: Listaccounts is a list of all addresses in the network?
196
-
A: For now, yes. But we are uncertain if that’s going to change, because we need to further think it through as the address base if enormous.
196
+
A: For now, yes. But that may change, as it requires further discussion if the address base becomes enormous.
197
197
198
198
11. Q: How many decimal places are there for the balance?
Parameters:To_address is the transfer transfer address, converted to a hex string; owner_address is the transfer transfer address, converted to a hex string; amount is the transfer amount
2092
+
Parameters:To_address is the transfer address, converted to a hex string; owner_address is the transfer transfer address, converted to a hex string; amount is the transfer amount
2093
2093
Return value:Transaction contract data
2094
2094
2095
2095
/wallet/gettransactionsign
@@ -2105,7 +2105,7 @@ wallet/broadcasttransaction
2105
2105
Function:Broadcast the signed transaction
2106
2106
demo:curl -X POST http://127.0.0.1:8090/wallet/broadcasttransaction -d '{"signature":["97c825b41c77de2a8bd65b3df55cd4c0df59c307c0187e42321dcc1cc455ddba583dd9502e17cfec5945b34cad0511985a6165999092a6dec84c2bdd97e649fc01"],"txID":"454f156bf1256587ff6ccdbc56e64ad0c51e4f8efea5490dcbc720ee606bc7b8","raw_data":{"contract":[{"parameter":{"value":{"amount":1000,"owner_address":"41e552f6487585c2b58bc2c9bb4492bc1f17132cd0","to_address":"41d1e7a6bc354106cb410e65ff8b181c600ff14292"},"type_url":"type.googleapis.com/protocol.TransferContract"},"type":"TransferContract"}],"ref_block_bytes":"267e","ref_block_hash":"9a447d222e8de9f2","expiration":1530893064000,"timestamp":1530893006233}}'
2107
2107
Parameters:Signed Transaction contract data
2108
-
Return value:broadcast success or faiilure
2108
+
Return value:broadcast success or failure
2109
2109
2110
2110
wallet/updateaccount
2111
2111
Function:Modify account name
@@ -2162,7 +2162,7 @@ Return value:Token transfer Transaction raw data
2162
2162
wallet/easytransfer
2163
2163
Function: Easily transfer from an address using the password string. Only works with accounts created from createAddress
2164
2164
Demo: curl -X POST http://127.0.0.1:8090/wallet/easytransfer -d '{"passPhrase": "7465737470617373776f7264","toAddress": "41D1E7A6BC354106CB410E65FF8B181C600FF14292", "amount":10}'
2165
-
Parameters: passPhrase is the password, converted from ascii to hex. toAddress is the recipient address, converted into a hex string; amount is the amount of TRX to transfer in SUN.
2165
+
Parameters: passPhrase is the password, converted from ascii to hex. toAddress is the recipient address, converted into a hex string; amount is the amount of TRX 'to transfer expressedin SUN.
2166
2166
Warning: Please control risks when using this API. To ensure environmental security, please do not invoke APIs provided by other or invoke this very API on a public network.
2167
2167
2168
2168
wallet/easytransferbyprivate
@@ -2212,7 +2212,7 @@ demo:curl -X POST http://127.0.0.1:8090/wallet/freezebalance -d '{
2212
2212
Parameters:
2213
2213
owner_address is the address that is freezing trx account,converted to a hex string
2214
2214
frozen_balance is the number of frozen trx
2215
-
frozen_duration is the duration in days to be frozem
2215
+
frozen_duration is the duration in days to be frozen
0 commit comments