github tronprotocol/java-tron GreatVoyage-v4.1.0

4 years ago

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

Don't miss a new java-tron release

NewReleases is sending notifications on new releases.