Skip to content

Releases: tronprotocol/java-tron

GreatVoyage-v4.2.2(Lucretius)

21 Jun 17:01
d8b4066
Compare
Choose a tag to compare

Notices

Forced upgrade

New Features

Core

Changes

  • Optimize the initialization of the pre-complie contract BatchValidateSign #3836

Truths kindle light for truths.

--- Lucretius

GreatVoyage-v4.2.1(Origen)

21 May 16:07
34c3b56
Compare
Choose a tag to compare

Notices

New Features

Changes

  • Optimize the transaction history query interface. #3799
  • Optimize the transaction processing. #3799

Free will is the power of choosing good and evil.

--- Origen

GreatVoyage-v4.2.0(Plato)

27 Apr 11:01
b402e08
Compare
Choose a tag to compare

Notices

Forced upgrade

New Features

Core

  • TIP-207 Optimize the resource model where freezing TRX can only obtain one of the three resources, namely bandwidth, energy, and TRON power. #3726

TVM

Changes

  • Optimize the block synchronization. #3732

The beginning is the most important part of the work.

--- Plato

GreatVoyage-v4.1.3(Thales)

18 Mar 10:12
af0c5b0
Compare
Choose a tag to compare

Notices

Non-mandatory upgrade

New Features

Core

  • TIP-238 Sorting the pending pool transactions, SR prioritize the transactions with high packing fee. #3656

API

  • Add new APIs to support transaction query from the pending pool. #3656
    • GetTransactionFromPending (BytesMessage) returns (Transaction): Get transaction information from pending pool.
    • GetTransactionListFromPending (EmptyMessage) returns (TransactionIdList): Get the transaction id list information in pending pool.
    • GetPendingSize (EmptyMessage) returns (NumberMessage): Get the size of the pending queue.

If there is a change, there must be some thing that changes, yet does not change.

--- Thales

GreatVoyage-v4.1.2

20 Jan 08:07
@Yrp Yrp
ada332f
Compare
Choose a tag to compare

Notices

Forced upgrade

New Features

Core

  • Support to perform historical balance lookup. #3538
  • Blackhole account optimization. #3608
  • TIP-196 Reward SRs with the transaction fees charged for bandwidth and Energy. #3532

TVM

  • TIP-209 Adopt to solidity0.6.0. #3535
    • The try/catch-statement currently only support revert-style error message, other error messages will be supported in future.
  • TIP-204 Allow to change maxfeelimit. #3534

API

  • Add new APIs to support to perform a historical balance lookup. #3538
    • GetAccountBalance: perform a historical balance lookup.
    • GetBlockBalance: fetch all balance-changing operations in a block.
    • GetBurnTrxAmount: query burned TRX amount

Changes

  • Support the jitpack repository to provide dependency support and make it easy for developers to use java-tron as a dependency for their projects. #3553

GreatVoyage-v4.1.1

09 Nov 06:00
53ea878
Compare
Choose a tag to compare

Changes

GreatVoyage-v4.1.0

02 Nov 00:45
fb79e45
Compare
Choose a tag to compare

Notices

Forced upgrade

New Features

Core

  • TICP-Optimized-PBFT Introduce new TPOS consensus to speed up the confirmation of the block. #3082
  • TIP-128 Add a new node type: Lite Fullnode that can dramatically reduce the data volume of the node. #3031
  • TIP-127 Add new system contracts to support the exchange of token, including TRX and TRC-10. #3302

TVM

  • TIP-174 Add 1 new instruction (chainid) in TVM to distinguish the chains. #3351
    • CHAINID: used to get the genesis block id of the current chain.
  • TIP-175 Add 1 new instruction (selfbalance) in TVM to improve security. #3351
    • SELFBALANCE: used to get the balance of the current address.
  • TIP-176 Add altbn128 operation energy reduction in TVM. #3351

API

  • Add some APIs to get node metrics information. #3350
  • Add HTTP&gRPC APIs for pBFT. #3082
  • Add a new API GetContractInfo to get contract runtime code information. #3351
  • TIP-127 Add the APIs to support the exchange of token. #3302
    • MarketSellAsset: Create a market order
    • MarketCancelOrder: Cancel the order
    • GetMarketOrderByAccount: Get all orders for the account
    • GetMarketPairList: Get all trading pairs
    • GetMarketOrderListByPair: Get all orders for the trading pair
    • GetMarketPriceByPair: Get all prices for the trading pair
    • GetMarketOrderById: Get order by id

Changes

  • TIP-127 Add market order detail into transactionInfo. #3302
  • Update docker deployment. #3330
  • Optimize TVM instruction CREATE2. #3351
  • Fix encoding problem in HTTP API when visible is set to true. #3469
  • Fix the event filter config not work. #3401
  • Fix an issue in the type DataWord. #3472

GreatVoyage-v4.0.2

02 Nov 01:35
@Yrp Yrp
Compare
Choose a tag to compare

Changes

Fix an issue in the type DataWord. Updates are available here.

GreatVoyage-v4.0.1

29 Jul 15:15
19f9780
Compare
Choose a tag to compare

Release Note:

Notices

Forced upgrade.

Changes

  • Improves the java-Tron upgrade mechanism and achieves more efficient decentralized governance (#3314).

GreatVoyage-v4.0.0

07 Jul 13:11
@Yrp Yrp
742f321
Compare
Choose a tag to compare

Release 4.0 has implemented the shielded TRC-20 contract, which can hide the source address, destination address, and the token amount for TRC-20 transactions and provide users with better privacy. The shielded TRC-20 contract has three core functions: mint, transfer and burn. mint is used to transform the public TRC-20 token to shielded token; transfer is used for shielded token transactions; burn is used to transform the shielded token back to the public TRC-20 token. To support the shielded TRC-20 contract, four new zero-knowledge instructions (verifyMintProof, verifyTransferProof, verifyBurnProof and pedersenHash) are added in TVM, which make it convenient to provide privacy for arbitrary TRC-20 contract.

Notices

Forced upgrade

New features

  • Add 4 new instructions (verifyMintProof, verifyTransferProof, verifyBurnProof and pedersenHash) in TVM to support TRC20 shielded transactions based on zk-SNARKs (#3172).

    • verifyMintProof: used to validate the zero-knowledge proof for mint function.
    • verifyTransferProof: used to validate the zero-knowledge proof for transfer function.
    • verifyBurnProof: used to validate the zero-knowledge proof for burn function.
    • pedersenHash: used to compute the Pedersen hash.
  • Update the initial parameters of zk-SNARKs scheme generated by the MPC Torch (#3210).

  • Add the APIs to support shielded TRC-20 contract transaction (#3172).

    1. Create shielded contract parameters

    rpc CreateShieldedContractParameters (PrivateShieldedTRC20Parameters) returns (ShieldedTRC20Parameters) {}

    2. Create shielded contract parameters without ask

    rpc CreateShieldedContractParametersWithoutAsk (PrivateShieldedTRC20ParametersWithoutAsk) returns (ShieldedTRC20Parameters) {}

    3. Scan shielded TRC20 notes by ivk

    rpc ScanShieldedTRC20NotesByIvk (IvkDecryptTRC20Parameters) returns (DecryptNotesTRC20) {}

    4. Scan shielded TRC20 notes by ovk

    rpc ScanShieldedTRC20NotesByOvk (OvkDecryptTRC20Parameters) returns (DecryptNotesTRC20) {}

    5. Check if the shielded TRC20 note is spent

    rpc IsShieldedTRC20ContractNoteSpent (NfTRC20Parameters) returns (NullifierResult) {}

    6. Get the trigger input for the shielded TRC20 contract

      rpc GetTriggerInputForShieldedTRC20Contract (ShieldedTRC20TriggerContractParameters) returns (BytesMessage) {}
  • Support the ovk to scan the transparent output of burn transaction (#3203).

  • Support the burn transaction with zero or one shielded output (#3224).

  • Add data field in transaction log trigger class for future memo note (#3200).

The following TIPs are implemented in this release:

  • TIP-135: Shielded TRC-20 contract standards, guarantee the privacy of the shielded transfer of TRC-20 tokens.
  • TIP-137: Implements three zero-knowledge proof instructions in TVM to support the shielded TRC-20 contract (#3172).
  • TIP-138: Implements the Pedersen hash computation instruction in TVM to support the shielded TRC-20 contract (#3172).

Changes

  • Check if null before getInstance when get transaction info from DB to fix exception of getTransactioninfoByBlkNum (#3165).