Releases: tronprotocol/java-tron
Odyssey-v3.2.5
Changes
Add two convenient transfer interfaces, including EasyTransferAsset
and EasyTransferAssetByPrivate
.
Notices
This version is only for nodes which need use the new interfaces. Fullnode does not need to be upgraded.
Odyssey-v3.2.4
Changes
(#1918) Optimize Cache to improve node performance.
Notices
If block synchronization is slow, you can use this version.
Odyssey-v3.2.3
Odyssey-v3.2.2
Notice
All the node must upgrade to this version
Changes
- These two services are available only when storage.db.version=2 (See here)
- The HTTP service port is node.http.solidityPort, the default value is 8091. The RPC service port is node.rpc.solidityPort; the default value is 50061. You can modify the port in the configuration file. Http port see here, RPC port see here
- (#1811) Add a switch to save the internal transaction. The switch status can be configured via the configuration item vm.saveInternalTx, the default is false.See here
- (#1818) Add more unit test about the proposal AllowSameTokenName
- (#1803) Perfecting transaction broadcasting interface
- If there is no connection, return code: NO_CONNECTION
- If the effective connection is not enough, return code: NOT_ENOUGH_EFFECTIVE_CONNECTION
- If NO_CONNECTION or NOT_ENOUGH_EFFECTIVE_CONNECTION returns, you can rebroadcast the transaction after a while
- (#1803) Solving the problem of solidity node not synchronizing blocks
(#1807) Add a switch to control database write strategy; the default setting is false. See here
- Synchronous writing is "true", else Asynchronous writing is "false".
- Asynchronous writing significantly improves the performance of the FullNode and SolidityNode sync block.
- If asynchronous, the write is flushed from the operating system buffer cache. If the machine crashes, some recent writes may be lost. Note that if it is just the process that crashes (i.e., the machine does not reboot), no writes are lost;
- If synchronous, writes are flushed into levelDB directly. No writes are lost when the machine crashes, but it is slow.
- (#1807) Vastly improved processing block speed, especially when machine performance is poor.
- (#1807) Compress transaction space, reducing database space by 25%.
- (#1807) Add a switch to put the transaction result into the transactionHistory database; the default setting is on. See here
- Turning off the switch saves a lot of hard disk space;
- You can turn off the switch if you don't need the interface getransactioninfobyid.
Odyssey-v3.2.1.2
Fixes
- Fixed an issue where Soliditinode could not be synced(issue: #1828)
Notices
This version is only for Soliditynode which cannot synchronize blocks. Fullnode does not need to be upgraded
Odyssey-v3.2.1
Changes
(#1793) SolidityNode can use the fullnode database:
- Stop Fullnode and Soliditynode
- delete output-directory on the Soliditynode
- Copy the Fullnode database(output-directory) to the SolidityNode directory
- Start Fullnode and SolidityNode
(#1796) Add the minimum effective connections configuration for broadcasting transactions,you need to upgrade if you want to broadcast without connections. Transactions can only be broadcast if the number of effective connections is reached in the config file (node.rpc.minEffectiveConnection = 1).
Notices
This is the only difference from Odyssey-v3.2, you don't need to upgrade this version if you don't use this feature.
Odyssey-v3.2
New Features
New In-Memory Database
A new version of the in-memory database is provided. The in-memory database is safer and more stable. The database is guaranteed to be available regardless of whether the program terminates abnormally (kill -9 or other) or the machine is down. The cost is a little performance loss and higher requirements on the machine. It can be enabled in the configuration by modifying db.version=2 (the default configuration is 1, the old database), If the configuration item does not exist in your configuration file, the program will also run with dbversion=2.
TRC10 Token Support For TVM
Smart contract can be triggered with TRC10 value. TRC10 asserts can be transferred in smart contract inside. It will be more flexibility than ever.
Support Of Resource Delegation
User can freeze trx to obtain Energy for other user. so the developer who has not enough trx can ask other users to freeze trx for him to deploy and run his smart contract.
- Allow to issue token with a duplicate name,so that tokenID of the token, a long integer type data, can be as the identification of token.
- Allow to issue token with setting the decimal point, which is used to improve the accuracy.
- Add a resource capacity adjustment proposal.
- Adding transaction execution results to the transactionInfo.
- Add and fix some interfaces of GRPC and HTTP:
- Add origin_energy_limit for smart contract.
- Internal transaction support.
- Add transaction processing priority.
- Add an interface to get monitoring information of a node
Changes
- Solving the problem of simultaneous production block at the same witness.
- Resolving peer synchronization problem.
Odyssey-v3.1.3
Note
- This version improves SolidityNode block synchronization performance by turning off the index, but the interfaces
getTransactionById
,getTransactionsFromThis
andgetTransactionsToThis
will not be available, since these three interfaces depend on the index. If the SolidityNode sync block is slow, you can use this version, it will greatly speed up block synchronization. Otherwise, there is no need to upgrade this version.
Improve
- Add switch option for transaction index in solidityNode.
- Turning off the index will significantly improve the performance of the SolidityNode sync block
- If the index is turned off, the interfaces
getTransactionById
,getTransactionsFromThis
andgetTransactionsToThis
will not be available. - A new feature for SolidityNode. If you don't use an index, that is, without using the interfaces
getTransactionById
,getTransactionsFromThis
andgetTransactionsToThis
, you can copy the FullNode database to the SolidityNode to sync block. - The interface
totalTransaction
is deprecated, because this interface takes a very long time.
Using
- Need to manually modify the configuration file to turn off the index.
- To turn off index, add
index.switch = "off"
underindex.directory
in the configuration file(default value is "on", refer to the relevant configuration of this configuration file).
Odyssey-v3.1.2
Fix bug
- fix solidity block hash issue
- set default cpu time ratio to [0, 5]
Odyssey-v3.1.1
Improve
- Optimize tvm performance
- Optimize network connection stability
- Add log config
- Update some coding style
- Add more test case