- Rename
gas
togasAmount
for tx endpoints - Add
gasAmount
andgasPrice
for tx build responses - Remove unnecessary
utxosLimit
from tx endpoints
- Fix OpenAPI version
- Upgrade Rocksdb to support Apple M1
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.
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.
- Improve mining dispatcher by @polarker in alephium#524
- Add loop for Ralph language by @Lbqds in alephium#525
- Add unit tests support for smart contracts by @polarker in alephium#526
- Add multiple return for Ralph language by @Lbqds in alephium#529
- Fix return statement for Ralph language by @Lbqds in alephium#530
- Add contract events&logs by @h0ngcha0 in alephium#531
- Fix/check function return types by @Lbqds in alephium#532
- Improve contract endpoints by @polarker in alephium#533
- Support event in contract test by @polarker in alephium#534
- Update sbt to 1.6.2 by @tdroxler in alephium#536
- Contract endpoints improvements by @polarker in alephium#535
- Fix config path in AlephiumConfigSpec by @polarker in alephium#537
- Improve protocol endpoints by @tdroxler in alephium#538
- Better openapi by @polarker in alephium#539
- Improve openapi types by @polarker in alephium#540
- Improve val for contracts by @polarker in alephium#542
- Contract lifecycle events by @h0ngcha0 in alephium#543
- Add contract inheritance by @Lbqds in alephium#544
- Fix the order of contract inheritance by @polarker in alephium#545
- Improve logging and thread pool for mining controller
- Send latest mining jobs to new mining connections always
- Add gasAmount and gasPrice to sweep endpoint
- Improve block cache
- Cosmetic updates
- Add gas info to tx building information for tx endpoints
- Increasing polling interval to 2 seconds for mining api
- Improve full node syncing
- Improve logging message for 1.2.3 fix
- Fix docker volume for wallets
- Fix height indexing for hashes
- Add docker volume for wallet
- Improve dispatcher for mining related actors
- Fix locale issue for configuration keys
- Check estimated gas for
/transactions/build
endpoint. - Make debug logging disabled by default
- Upgrade rocksdb from
5.18.4
to6.27.3
. Rocksdb will not be able to fallback to version 5 after this.
sweep-all
is replaced bysweep-active-address
andsweep-all-addresses
. Bothsweep
endpoints would try to sweep all the UTXOs with multiple transactions. No need to runsweep
endpoints multiple times./wallets/<wallet>/addresses
endpoint outputs more address information.
- Gas estimation for multi-sig and smart contract transactions.
- UTXO selection for smart contract transactions.
- User-friendly
sweep-active-address
andsweep-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
- Api key is optional if the api interface is
127.0.0.1
. - Better UTXO selection algorithm