Skip to content

Latest commit

 

History

History
117 lines (89 loc) · 4.68 KB

HISTORY.md

File metadata and controls

117 lines (89 loc) · 4.68 KB

Alephium Change Log

Unreleased

API changes

  • Rename gas to gasAmount for tx endpoints
  • Add gasAmount and gasPrice for tx build responses
  • Remove unnecessary utxosLimit from tx endpoints

1.3.2

  • Fix OpenAPI version

1.3.1

  • Upgrade Rocksdb to support Apple M1

1.3.0

API changes

Note: We introduced many breaking API changes, please refer to OpenAPI file or Swagger UI for query and response examples.

  • New endpoints /events for contract events. The endpoints are still in beta.
  • New endpoints /infos/version for node version purely.
  • Move personalized info from /infos/self-clique to a new endpoint /infos/chain-params.
  • Path renaming:
    • /transactions/decode -> /transactions/decode-unsigned-tx
    • /contracts/build-script -> /contracts/unsigned-tx/build-script
    • /contracts/build-contract -> /contracts/unsigned-tx/build-contract
  • Query and response format for several endpoints have changed to make them dev friendly.

New features

Note: The focus of 1.3.0 was new features for smart contract development.

  • Add loop, multiple return, events, inheritance to Ralph language
  • Log contract events and store them in Rocksdb
  • Support unit tests for smart contracts via API endpoints
  • Improve protocol endpoints to return full data for blocks and transactions.

All changes

1.2.8

  • Improve logging and thread pool for mining controller
  • Send latest mining jobs to new mining connections always

1.2.7

  • Add gasAmount and gasPrice to sweep endpoint

1.2.6

  • Improve block cache
  • Cosmetic updates

1.2.5

  • Add gas info to tx building information for tx endpoints
  • Increasing polling interval to 2 seconds for mining api
  • Improve full node syncing

1.2.4

  • Improve logging message for 1.2.3 fix

1.2.3

  • Fix docker volume for wallets
  • Fix height indexing for hashes

1.2.2

  • Add docker volume for wallet
  • Improve dispatcher for mining related actors
  • Fix locale issue for configuration keys

1.2.1

  • Check estimated gas for /transactions/build endpoint.
  • Make debug logging disabled by default

1.2.0

Database change

  • Upgrade rocksdb from 5.18.4 to 6.27.3. Rocksdb will not be able to fallback to version 5 after this.

API change

  • sweep-all is replaced by sweep-active-address and sweep-all-addresses. Both sweep endpoints would try to sweep all the UTXOs with multiple transactions. No need to run sweep endpoints multiple times.
  • /wallets/<wallet>/addresses endpoint outputs more address information.

New Feature

  • Gas estimation for multi-sig and smart contract transactions.
  • UTXO selection for smart contract transactions.
  • User-friendly sweep-active-address and sweep-all-addresses API endpoints.
  • Batch write for Merkle tree
  • /infos/history-hashrate endpoint for getting history hashrate
  • /infos/current-hashrate endpoint for getting current hashrate

Improvements

  • Api key is optional if the api interface is 127.0.0.1.
  • Better UTXO selection algorithm