Releases: tronprotocol/java-tron
GreatVoyage-v4.7.3(Chilon)
Notice
Non-mandatory upgrade
New Features
Core
- TIP-586 Add gRPC interfaces for resource price query (#5412).
GetBandwidthPrices
GetEnergyPrices
GetMemoFee
- TIP-592 Supplement disconnect reasons (#5392).
- Discard transactions from bad peers instead of disconnected peers (#5440).
- Optimize Stake2.0 codes and error messages (#5424, #5426).
- Accelerate bloomFilter initialization for transactions cache. Note that this optimization is disabled by default, please set
storage.txCache.initOptimization = true
to enable it (#5394, #5491, #5505, #5523, #5543). - Fix concurrency issues when generating chain inventory (#5393, #5532).
- Correct resource disorder closure behavior on
kill -15
(#5410, #5425, #5420, #5429, #5447).- Optimize database closure.
- Refine the sequence of resource closure.
Changes
- Fix expired transaction check issue when fetching transactions (#5460).
- Fix the concurrency issue of
getHeadBlockId
method (#5403). - Delete unused network configurations (#5441).
node.discovery.public.home.node
node.discovery.ping.timeout
node.p2p.pingInterval
- Acquire external IP from libp2p (#5407).
- Support stake-related transactions in the log event (#5419).
- Adjust the default value of
node.validateSignThreadNum
for signature validation threads from half of CPU cores to all cores (#5396). - Mark LiteFullNodeTool as deprecated which has been migrated to Toolkit and will be removed in the next major release (#5482).
- Enhance the query performance of
DynamicPropertiesStore
(#5378).
API
- Fix the memory inflation issue in the HTTP monitor module (#5332).
- Provide uniform rate limitation configuration
rate.limiter.global.api.qps
for all HTTP and gRPC APIs (#5502). - Fix input parameter parsing exceptions in the HTTP interfaces (#5367, #5483).
/wallet/getReward
/wallet/getBrokerage
- Add resource unit price query API for Solidity (#5451).
/walletsolidity/getbandwidthprices
- Optimize the request and response process for some interfaces (#5408).
/wallet/getavailableunfreezecount
: supportowner_address
for GET request./wallet/getcanwithdrawunfreezeamount
: processtimestamp
as 0 if not provided in GET request./wallet/getcandelegatedmaxsize
: processtype
as 0 if not provided in GET request./wallet/getblockbynum
: processnum
as 0 if not provided in GET request.
For a full rundown of the changes please consult the GreatVoyage-v4.7.3(Chilon) release milestone.
Integrity Check
All jar
files available in this release are signed via this GPG key:
- PUB: 1254 F859 D2B1 BD9F 66E7 107D F859 BCB4 4A28 290B
- UID: build@tron.network
From the download listings below you should see links to the downloadable jar
files as well as sig
signature files. To verify the authenticity of any jar
file, grab the jar
and sig
files with the same prefix name and then execute the verification process: GPG signature verification
Do not desire impossible.
---Chilon
GreatVoyage-v4.7.2(Periander)
Notice
This is a mandatory upgrade.
New Features
Core
- Network module updated to Libp2p
v1.2.0
#5017 #5304- Libp2p Support for IPv6
- Node Discovery via DNS
- P2P message snappy compression
- Connection precheck before P2P communication
- Optimize effective peer-acquiring strategy #5088
- TIP-555 Network upgrade logic optimization #5247
- TIP-541 Support canceling unstaking in Stake 2.0 #5230 #5260 #5279
- TIP-542 Resource delegating supports customizable lock period #5255 #5260 #5264
TVM
Changes
- Optimize event plugin storage logic of MongoDB #5031
- Support dynamic loading according to
node.active
andnode.passive
#5090 - Optimize block synchronization logic #5094 #5097 #5102
- Normalize HTTP URLs #5085
- Optimize block fetching under weak network #5106
- Add a new node startup mode #5011
- Add monitoring metrics for JSON-RPC #5222
- Remove auto-repair function for corrupted LevelDB data #5223
- Upgrade JUnit from
4.12
to4.13.2
#5244 - Optimize checkpoint v2 recovery process #5224
API
- Add global rate limiter #5093
- API
triggerconstantcontract
andestimateenergy
support estimation of energy consumed by creating contracts. #5079 - TIP-544 Add
data
to the HTTP interfaces interacting with smart contract. #5079 - Optimize
getStorageAt
return when querying contract created bycreate2
#5061
Integrity Check
All jar
files available in this release are signed via this GPG key:
- PUB: 1254 F859 D2B1 BD9F 66E7 107D F859 BCB4 4A28 290B
- UID: build@tron.network
From the download listings below you should see links to the downloadable jar
files as well as sig
signature files. To verify the authenticity of any jar
file, grab the jar
and sig
files with the same prefix name and then execute the verification process: GPG signature verification
Forethought in all things.
---Periander
GreatVoyage-v4.7.1.1(Pittacus)
Notice
Non-mandatory upgrade
New Features
TVM
- Optimize the update logic of
origin_energy_usage
in transaction receipts #5120
API
- TIP-534 Remove insecure APIs #5096
- HTTP(8)
createaddress
,generateaddress
easytransfer
,easytransferbyprivate
,easytransferasset
,easytransferassetbyprivate
gettransactionsign
,addtransactionsign
- gRPC(9)
CreateAddress
,GenerateAddress
EasyTransfer
,EasyTransferByPrivate
,EasyTransferAsset
,EasyTransferAssetByPrivate
GetTransactionSign
,GetTransactionSign2
,AddSign
- HTTP(8)
- Optimize the return of
GetTransactionInfoById
andGetDelegatedResourceV2
interfaces #5120 #5123
Integrity Check
All jar
files available in this release are signed via this GPG key:
- PUB: 1254 F859 D2B1 BD9F 66E7 107D F859 BCB4 4A28 290B
- UID: build@tron.network
From the download listings below you should see links to the downloadable jar
files as well as sig
signature files. To verify the authenticity of any jar
file, grab the jar
and sig
files with the same prefix name and then execute the verification process: GPG signature verification
Whatever you do, do it well.
---Pittacus
GreatVoyage-v4.7.1(Sartre)
Notice
Non-mandatory upgrade
New Features
Core
- Change the default IP of the node to solve the address verification error in the UDP message #4990
- Optimize block synchronization logic #4995 #4996 #5009
- Optimize activeNodes node adding logic #4994
Changes
- Optimize light node detection #4986
- Optimize
LevelDB
&RocksDB
log output todb.log
#4985 #5001 #5010 - Optimize the logic of event service when handling genesis block #4974
- Optimize of network processing blocks and message timeout logs #4977
API
- Remove inefficient APIs for solidity added by
Stake2.0
#4997 - Optimize APIs for resource delegation index query #8
Integrity Check
All jar
files available in this release are signed via this GPG key:
- pub: 1254 F859 D2B1 BD9F 66E7 107D F859 BCB4 4A28 290B
- uid: build@tron.network
From the download listings below you should see links to the downloadable jar
files as well as sig
signature files. To verify the authenticity of any jar
file, grab the jar
and sig
files with the same prefix name and then execute the verification process: GPG signature verification
The more sand that has escaped from the hourglass of our life, the clearer we should see through it
---Sartre
GreatVoyage-v4.7.0.1(Aristotle)
Notice
Forced upgrade
New Features
Core
- TIP-467 Stake 2.0 - the new stake mechanism #4838
- Optimize performance,lower non-heap memory usage, enhance data query performance #4740 #4756 #4792
- Add
libp2p
module as java-tron p2p network protocol implementation #4791
TVM
- TIP-491 Support dynamic energy model #4873
- TIP-474 Optimize the return value of
chainid
opcode #4863 - Add new instructions to support Stake 2.0 #4872
- Add new precompile contracts to support Stake 2.0 #4872
Changes
- Optimize Gradle built by setting JVM from 512M to 1G to improve stability of compiling #4837
- Optimize node conditional stop function, multi-condition configuring are disabled #4853 #4858
- Remove abandoned version of revokingDB #4836
- Make snapshot flush speed configurable #4834
- Integrate
LiteFullNodeTool.jar
andDBConvert.jar
intoToolkit.jar
, add database copy function toToolkit.jar
#4813 #4849 - Optimize LevelDB,RocksDB log output to tron.log #4833
- Fix the incompatibility issue between grpc-java and netty #4928
API
- Add energy estimation API:
/wallet/estimateenergy
#4873 - TIP-467 Add Stake 2.0 related APIs
/wallet/freezebalancev2
: stake TRX to obtain TRON Power (voting rights) and bandwidth or energy/wallet/unfreezebalancev2
: unstake TRX to release bandwidth and energy and at the same time TRON Power will be reduced and all corresponding votes will be canceled/wallet/delegateresource
: delegate resource/wallet/undelegateresource
: undelegate API/wallet/withdrawexpireunfreeze
: withdraw unfrozen balance API/wallet/getavailableunfreezecount
: remaining times of available unstaking API/wallet/getcanwithdrawunfreezeamount
: query the withdrawable balance at the specifiedtimestamp
/wallet/getcandelegatedmaxsize
: query the amount of delegatable resources of the specified resource Type for target addres/wallet/getdelegatedresourcev2
: query the amount of resources detail delegated by fromAddress to toAddress/wallet/getdelegatedresourceaccountindexv2
: query the resource delegation index by an account
Integrity Check
All jar
files available in this release are signed via this GPG key:
- pub: 1254 F859 D2B1 BD9F 66E7 107D F859 BCB4 4A28 290B
- uid: build@tron.network
From the download listings below you should see links to the downloadable jar
files as well as sig
signature files. To verify the authenticity of any jar
file, grab the jar
and sig
files with the same prefix name and then execute the verification process: GPG signature verification
Courage is the first of human qualities because it is the quality which guarantees the others.
---Aristotle
GreatVoyage-v4.6.0(Socrates)
Notices
Forced upgrade
New Features
Core
- TIP-461 Upgrade checkpoint mechanism to V2 in database module #4614
- TIP-476 Optimize delegate relationship index structure #4788
- TIP-387 Add transaction memo fee proposal #4758
- TIP-465 Add optimized reward algorithm proposal #4694
- Optimize the kademlia algorithm for the network module #4620 #4622
- Optimize block production priority between active and backup nodes #4630
Changes
- Optimize
LiteFullNodeTool.jar
#4607 - Merge
ArchiveManifest.jar
intoToolkit.jar
#4603 - Add prometheus metrics for network module #4626
- Add the
--help
command option #4606 - Change the unit of
timestamp
in the return value of eth_getBlockByNumber and eth_getBlockByHash from milliseconds to seconds to be consistent with ETH #4642
To move the world we must move ourselves.
---Socrates
GreatVoyage-v4.5.2(Aurelius)
Notices
Non-mandatory upgrade
New Features
Core
- TIP-428 Optimize lock competition in block processing #4551
- TIP-440 Optimize transaction cache #4538
- TIP-425 Improve
TCP
connection establishment efficiency #4549 - Optimize block generating logic #4387
- Optimize fork switching logic #4583
- Add tools for database storage #4545 #4559 #4563
API
Changes
- Improve node link stability #4542 #4540
- Improve fault-tolerance capabilities of API parameters #4556 #4560
- Optimize the
eth_estimateGas
andeth_call
JSON-RPC API #4570
The universe is change; our life is what our thoughts make it.
---Aurelius
GreatVoyage-v4.5.1(Tertullian)
Notices
Forced upgrade
New Features
Core
- TIP-391 Optimize block process and broadcasting logic #4326 #4336
- TIP-388 Optimize light node synchronization #4323
- TIP-383 Optimize transaction cache loading #4319
- TIP-382 Optimize TRC10 token performance #4392
- TIP-370 Support node specified condition stop #4325
- TIP-369 Support prometheus metric protocol interface #4337
- Add a new proposal to enable TRC10 Token optimization #4402
TVM
- TIP-397 Add a proposal to raise limit of the 13th network parameter. #4375
- Optimize the repository structure of TVM. #4375
- Optimize the stability of
TriggerContract(view/pure)
andTriggerConstantContract
interfaces #4459
Hope is patience with the lamp lit
---Tertullian
GreatVoyage-v4.4.6(David)
Notices
-
Non-mandatory upgrade
-
Update for a security vulnerability in
fastjson
https://github.com/alibaba/fastjson/wiki/security_update_20220523
two improvements are suggested:- upgrade java-tron to 4.4.6
- no upgrade. Just turn off autoType, add jvm startup parameters
-Dfastjson.parser.safeMode=true
New Features
Changes
- Upgrade fastjson version
Beauty in things exists in the mind which contemplates them.
--- David Hume
GreatVoyage-v4.4.5(Cicero)
Notices
Non-mandatory upgrade
New Features
Changes
- Optimize query interface
No one can give you better advice than yourself
---Cicero