Skip to content

Releases: ExchangeUnion/xud

v1.2.6

28 Jan 14:28
Compare
Choose a tag to compare

v1.2.5

28 Jan 14:20
Compare
Choose a tag to compare
chore(release): 1.2.5

v1.2.4

06 Dec 07:46
Compare
Choose a tag to compare

This release fixes a bug where fully removing an order via RemoveOrder would return the entire quantity of the order as the remaining quantity instead of zero.

Bug Fixes

v1.2.3

04 Dec 06:19
66901af
Compare
Choose a tag to compare

1.2.3 (2020-12-03)

This release includes several fixes, including a regression bug relating to disconnecting offline peers from 1.2.1, as well as a new call & cli command to change the xud master password.

Bug Fixes

Features

v1.2.2

24 Nov 10:28
Compare
Choose a tag to compare

This release includes a critical bug fix for replace order functionality. In addition, a new rpc call GetMnemonic has been added that can be used to retrieve the master seed mnemonic for xud at runtime after an xud node has been created.

Bug Fixes

Features

v1.2.1

19 Nov 16:31
Compare
Choose a tag to compare

This maintenance release includes a number of features, most significantly it switches xud to use lnd's new sendpaymentv2 call to prepare for multi-channel trades. It also improves xud's shutdown behavior and fixes several bugs.

Bug Fixes

Features

v1.2.0

16 Oct 05:09
ed0ac6e
Compare
Choose a tag to compare

1.2.0 (2020-10-16)

This release includes a number of fixes and features, most significantly related to Connext integration.

  • Inbound collateral from the Connext node is now dynamically requested upon orders being placed that receive a Connext currency.
  • Keep track of inbound and outbound amounts reserved by standing orders in the orderbook, and expose these amounts on the TradingLimits call.

Bug Fixes

  • cli: switch getbalance table columns (#1931) (49c8c18), closes #1930
  • orderbook: don't remove 0 quantity w/ hold (#1921) (5f3793a)
  • bold link, mm link (#1873) (54bd9ce)
  • checking for invoice support on lnd clients while verifying connection (4c26aff)
  • don't activate unsupported pairs with peers (0fe2d66)
  • grpc throws error for addpair/withdraw for wrong argument (#1844) (48a0a33)
  • handling insufficient balance errors for swap clients (246889b)
  • implemented showing all pairs instead of active ones for listpeers (206dad0)
  • listorders limit displays first orders instead of last (#1883) (e101e6f)
  • propagating currencies and pairs on database if initDB true even DB is filled (17c7cb5)
  • propagating nodes on database if initDB true even DB is filled (#1907) (246136e)
  • xudrpc GetBalanceResponse json_name (#1909) (26f89e6)
  • connext: avoid scientific notation for amount (#1905) (cc1e689)
  • connext: display error message for 400 status code (#1911) (b4e1858)
  • connext: remove BigInt to avoid precision loss (#1893) (d9ddd1c)
  • order invalidation only be sent to peers with active pair (#1530) (#1890) (0dc85bd)

Features

v1.1.0

28 Sep 18:47
Compare
Choose a tag to compare

1.1.0 (2020-09-28)

Most notable features of this release:

  • Xud now automatically requests inbound liquidity for connext currencies (ETH/ERC20) and prevents orders from entering the orderbook until there is sufficient inbound liquidity to cover the order. This "smart collateralization" feature considerably increases the likelihood that the orders can be executed successfully.
  • The DAI token and USDT/DAI trading pair have been enabled by default.

Bug Fixes

  • bold link, mm link (#1873) (54bd9ce)
  • don't activate unsupported pairs with peers (0fe2d66)
  • grpc throws error for addpair/withdraw for wrong argument (#1844) (48a0a33)
  • handling insufficient balance errors for swap clients (246889b)
  • implemented showing all pairs instead of active ones for listpeers (206dad0)
  • listorders limit displays first orders instead of last (#1883) (e101e6f)
  • order invalidation only be sent to peers with active pair (#1530) (#1890) (0dc85bd)
  • propagating nodes on database if initDB true even DB is filled (#1907) (246136e)
  • xudrpc GetBalanceResponse json_name (#1909) (26f89e6)
  • connext: avoid scientific notation for amount (#1905) (cc1e689)
  • connext: display error message for 400 status code (#1911) (b4e1858)
  • connext: remove BigInt to avoid precision loss (#1893) (d9ddd1c)

Features

  • connext: reject app install for transfers without status field (#1863) (519aa54)
  • connext: request collateral for order amount (75078c0), closes #1845
  • orderbook: better replace order hold message (b7fa00a)
  • rpc: show connext status on create/restore node (#1902) (82e16a5)
  • simnet: add DAI (#1915) (35e85b3)
  • sat_per_byte custom fee for openchannel (#1832) (b56ad98), closes #1829
  • connext: unlock expired transfer apps (#1857) (023434d)
  • logging: order holds on trace level (#1865) (5e3ad04)
  • orderbook: log error message on remove order (#1901) (788490f)
  • p2p: don't log empty order packets (#1871) (1b6d6d6)
  • p2p: increase reconnection delay backoff (#1870) (44af197)
  • rpc: add txid to open/close channel response (0669a3f), closes #1860
  • simnet: change USDT contract address (#1912) (0a2bdfd)
  • simnet: upgrade simnet USDT contract address (#1906) (7e5f8ef)

v1.0.1

08 Sep 06:01
d04e4bd
Compare
Choose a tag to compare

1.0.1 (2020-09-08)

Features

  • connext: reject app install for transfers without status field (#1863) (519aa54)
  • connext: unlock expired transfer apps (#1857) (023434d)
  • logging: order holds on trace level (#1865) (5e3ad04)
  • orderbook: better replace order hold message (b7fa00a)
  • p2p: don't log empty order packets (#1871) (1b6d6d6)
  • p2p: increase reconnection delay backoff (#1870) (44af197)

v1.0.0

01 Sep 19:57
31bf1ff
Compare
Choose a tag to compare

xud 1.0.0 (2020-09-01)

This is the first major release of xud. This release contains several key fixes and features designed to improve stability and the likelihood of successful swaps when trading with peers.

Release Notes

Connext

This version continues expanding support for Connext. Tokens can now be withdrawn from one's Connext balance to an on-chain address. Collateral is automatically requested from the Connext node upon depositing tokens to allow for incoming payments to succeed on the first try.

It also handles and prevents an edge case that could have caused xud to crash if Connext receives an expected incoming transfer twice.

Order Book

The decentralized order book has had some improvements to make it more robust. "Dust" orders - where at least one side of a trade may be for an amount so small that it doesn't meet minimum HTLC sizes - are automatically removed from the order book. Previously, fragments of partially filled or removed orders may have been left over and remained in the order book despite being effectively untradeable.

This version also improves the logic for adding back orders that failed to swap. Orders - or portions thereof - are removed from the order book as they are matched. However, if they are not swapped successfully then xud (unless being run in "strict" mode) will add them back to the order book so that they may be traded again by a future order, perhaps after correcting temporary network or channel management issues that may have caused the first swap attempt to fail. We've fixed this logic to ensure we always add back peer orders that fail a swap. On the other hand, we've also added checks to ensure we don't add back an order that is no longer valid - as may be the case when an order is canceled by a peer while we were attempting to swap it.

Order Replacement

Order replacement has been supported since early pre-release versions of xud and is a handy way to update existing orders in response to changing market conditions. However, on the network layer, order replacements were communicated to peers via two separate packets - one to remove the old order and one to add the new one replacing it. This allowed for the possibility of delays or inconsistency as the two packets may arrive or be processed at different times. This version supports replacing orders in a single packet, with the aim of making order replacement as atomic as possible both locally and on the xud network.

Failed Swap Monitoring

Xud has a Swap Recovery module that was originally designed to recover swaps that were in progress during an unexpected crash, with the goal of ensuring that we claim any payments we are expecting from swaps. Over time this same module was used to monitor swaps that xud would deem as "failed" but where HTLCs were still pending. If an outgoing HTLC was eventually claimed by an unscrupulous peer, xud would claim its corresponding incoming payment.

This version goes back to Swap Recovery handling only swaps that were aborted due to an unexpected crash. Similar logic has been added to monitor pending HTLCs for active swaps separately. Swaps now remain "active" as long as any HTLCs exist, and the corresponding orders held in limbo until these HTLCs reach a final resolution. This ensures that orders cannot be double filled. Peers that we detect to have settled an old HTLC are immediately banned, as this is recognized as intentional malicious behavior that may exploit the free option problem.

Changelog

The full list of changes since the last release are listed below.

Bug Fixes

  • connext: convert contract addresses to eip55 standard (e08d43c)

  • connext: prevent duplicate htlcAccepted evts (#1854) (aa3027a), closes #1851

  • orderbook: add back fully matched orders (1024b72), closes #1816

  • orderbook: prevent stuck replace order holds (#1842) (984e064), closes #1835

  • orderbook: reject all dust peer orders (8a1c816)

  • improve HttpServer error logging (67ddfa4)

  • restrict reputation events in non-strict mode (#1808) (0d20cd3), closes #1802

  • strict command arg (a26d67d)

  • service: replace order id (582a49b)

Code Refactoring

Features

BREAKING CHANGES

  • removes raiden support & p2p packet fields