Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@vsuharnikov vsuharnikov released this 25 Dec 09:10
· 654 commits to master since this release
6730971

In this release

This release contains bug fixes and improvements with a fresh Node's version dependency.

Migration

Some changes are required for configs.

  1. akka.kafka section is obsolete. Please remove it, if you have.

  2. Settings from akka.kafka.consumer.kafka-clients are moved to waves.dex.events-queue.kafka.consumer.client. If you hadn't such settings, just ignore this.

  3. Settings from akka.kafka.producer.kafka-clients are moved to waves.dex.events-queue.kafka.producer.client. If you hadn't such settings, just ignore this.

  4. There are some changes in waves.dex.events-queue.kafka:

    1. consumer.buffer-size was renamed to consumer.max-buffer-size
    2. consumer.min-backoff, consumer.max-backoff and producer.buffer-size was removed

Also it is recommended to enable broadcast-until-confirmed:

# Enables transaction rebroadcasting until if confirmed on blockchain
waves.dex.exchange-transaction-broadcast.broadcast-until-confirmed = yes

And tune Kafka's clients configuration for production, if you use Kafka's queue and have issues with not working places and cancels:

waves.dex.events-queue.kafka {
  consumer.client.connections.max.idle.ms = 30000
  producer.client.connections.max.idle.ms = 30000
}

Changes

The NODE dependency is updated to 1.1.6

New

Distinguishing limit and market orders in order history requests (#130). Added "orderType" in JSON responses of:

* getAssetPairAndPublicKeyOrderHistory - `GET /matcher/orderbook/{amountAsset}/{priceAsset}/publicKey/{publicKey}`
* getPublicKeyOrderHistory - `GET /matcher/orderbook/{publicKey}`
* Admin's getAllOrderHistory - `GET /matcher/orders/{address}`

Fixes

  • Solved multiple issues those lead to unexpected orders cancellation;
  • Release a reserved balance if the placement is failed to save to the queue;

Other improvements

  • A new client for Kafka's queue with better tuned settings by default. Uses less TCP/IP connections, works well for massive cancels;
  • We removed the InvalidRateInput error with code 20971521 and introduced more general error InvalidJson with code 1048577.

SHA256 Checksums

9b80c48638061f4c3c1eef7220d423d53d4982ff98d6a62a0818ce72f0d1e528 dex-1.1.0.tgz
f88828f1b2a8c36b02bdb4cf6af8817693641cc5981070d4d5214259f5bf4a9d dex_1.1.0_all.deb
1d3115d09a2b8f8c716bf37b94ba1ddc29557f7c906e0338027e338a64643b56 dex-testnet-1.1.0.tgz
153b2b7d2edf56941eb58b6f95ddfe04962f0a8687fd9fdd2d04d5f6d5527303 dex-testnet_1.1.0_all.deb
5480712dd46ad12a27cdddd2eb3fbbe8b3e154bb5c287517e7cfff8cb9c648e0 dex-stagenet-1.1.0.tgz
893edbb875f835bd08577aa375b3008ad658fb785de24962132987375269309e dex-stagenet_1.1.0_all.deb