dcrdex v0.4.3
DCRDEX v0.4.3
Apr 29, 2022
For a high level introduction to DCRDEX, please read the initial release's notes.
This is a patch release.
Highlights
Features
- Dogecoin support via dogecoind, the reference full-node. (c0a9f5e, 30a561f, 0192b3b)
- Add a Tor listener to the server. A ".onion" address may be specified with
--hiddenservice
. (eb5f3cd) - Add an onion proxy option (
--onion
) to the client. This proxy is used only for ".onion" server hosts, in contrast to the existing--torproxy
option that is used for all hosts. (5e3b755) - Do not reject confirmed swap transactions on account of a low transaction fee (57d3f0e, f7aa461)
- Litecoin now requires segwit outputs, bumping its asset version to 1. (a5b371b)
- The taker now checks for a fresh swap fee rate before making their contract transaction. This is helpful for the taker, who acts second, and thus potentially long after the match was made. (b4c47fe, 4ffe965, 666703d)
- Additional server logging for init and redeem handling. (9094faa)
Fixes
- The server proactively revoke matches based on contract expiry. This includes where any known swap contracts are expired, or in the case of MakerSwapCast where the expected taker contract would be created with a lock time in the past. These scenarios are possible if a transaction takes an extremely long time to reach the required number of confirmations. (b46796f)
- The server rejects any provided contracts that are already expired. (45f9b15)
- The client double checks expiry of their and the counterparty's contracts before acting to prevent needlessly locking funds or redeeming very close to contract expiry, which is risky. (79ccdd8)
- Various frontend fixes (d0cd27c, c1833e4, e5a9250, 5150979)
- The server will now continue to process init and redeem requests past the broadcast timeout, which is preferred since match revocation happens in a different goroutine. (de83991)
- The client begins signing an appropriate sighash in comms and asset packages rather than truncated data. The server began recognizing such signatures in the last patch release. (6aad310, f1f22fe)
- The html template builder now ignores extraneous files, only processing files with the .tmpl extension. (6d9da29)
- Better error handling when checking counterparty swap transaction confirmations. (4d0e726)
Developer
Important Notices
If upgrading from v0.2, read the Upgrading section of the v0.4.0 release notes for important information.
Code Summary
30 commits, 109 files changed, 2,725 insertions(+), 649 deletions(-)