Java implementation of the Tron whitepaper
LGPL-3.0 License
Bot releases are visible (Hide)
Published by Yrp almost 6 years ago
Published by Yrp almost 6 years ago
All the node must upgrade to this version
- 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
- 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
- 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.
- 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.
Published by Yrp almost 6 years ago
Published by Yrp almost 6 years ago
(#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).
This is the only difference from Odyssey-v3.2, you don't need to upgrade this version if you don't use this feature.
Published by olenheim almost 6 years ago
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.
Smart contract can be triggered with TRC10 value. TRC10 asserts can be transferred in smart contract inside. It will be more flexibility than ever.
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.
Published by Yrp almost 6 years ago
getTransactionById
, getTransactionsFromThis
and getTransactionsToThis
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.getTransactionById
, getTransactionsFromThis
and getTransactionsToThis
will not be available.getTransactionById
, getTransactionsFromThis
and getTransactionsToThis
, you can copy the FullNode database to the SolidityNode to sync block.totalTransaction
is deprecated, because this interface takes a very long time.index.switch = "off"
under index.directory
in the configuration file(default value is "on", refer to the relevant configuration of this configuration file).Published by huzhenyuan about 6 years ago
Published by huzhenyuan about 6 years ago
Published by Yrp about 6 years ago
Published by zhaohong about 6 years ago
1、Optimize TVM performance
2、Recalc size of transaction result
3、Create contract using child deposit
4、comment out precompile instance
Published by zhaohong about 6 years ago
Notice
SR should fully test this version on test net before updating to this version.
Odyssey 3.0 Official Version Features
Introduction of TVM Features
Published by Yrp about 6 years ago
Published by Yrp about 6 years ago
Release v2.0.8 adds optimizations to the querying system, and does not need to delete the database compared to 2.0.7.
We recommend everyone update to the latest release, but it is not mandatory for Super Representatives.
Published by Yrp about 6 years ago
Solidity Node using this version need to delete the database compared to Odyssey-v2.0.8. This is the only difference between the two versions. If you don't want to delete the database, you can use Odyssey-v2.0.8 please.
Release v2.0.7 adds optimizations to the querying system.
We recommend everyone update to the latest release, but it is not mandatory for Super Representatives.
Published by zhaohong over 6 years ago
Release v2.0.6 adds new functionality and fixes some non-critical issues.
We recommend everyone update to the latest release, but it is not mandatory for Super Representatives.
Published by zhaohong over 6 years ago
leave message.
Published by zhaohong over 6 years ago
Published by zhaohong over 6 years ago
Published by nanfengpo over 6 years ago
test net Configuration File
Published by zhaohong over 6 years ago
add backup feature