2021-03-23 19:40:22 -04:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
## [Unreleased]
2021-04-29 04:50:49 -04:00
### Fixed
- An issue where both the ASB and the CLI point to the same default directory `xmr-btc-swap` for storing data.
2021-04-29 21:01:30 -04:00
The asb now uses `xmr-btc-swap/asb` and the CLI `xmr-btc-swap/cli` as default directory.
2021-04-29 04:50:49 -04:00
This is a breaking change.
2021-04-29 21:01:30 -04:00
If you want to access data created by a previous version you will have to rename the data folder or one of the following:
1. For the CLI you can use `--data-dir` to point to the old directory.
2. For the ASB you can change the data-dir in the config file of the ASB.
2021-04-29 04:50:49 -04:00
2021-04-17 03:23:09 -04:00
## [0.5.0] - 2021-04-17
2021-04-14 20:16:34 -04:00
### Changed
2021-04-17 02:51:41 -04:00
- The quote protocol returns JSON encoded data instead of CBOR.
2021-04-14 20:16:34 -04:00
This is a breaking change in the protocol handling, old CLI versions will not be able to process quote requests of ASBs running this version.
2021-04-14 20:15:11 -04:00
### Fixed
2021-04-08 04:56:26 -04:00
2021-04-14 20:15:11 -04:00
- An issue where concurrent swaps with the same peer would cause the ASB to handle network communication incorrectly.
To fix this, all messages are now tagged with a unique identifier that is agreed upon at the start of the swap.
This is a breaking change in the network layer and hence old versions are not compatible with this version.
We advise to also not resume any swaps that have been created with an older version.
It is recommended to reset / delete the database after upgrading.
2021-04-14 20:16:34 -04:00
- An issue where the CLI would not reconnect to the ASB in case the network connection dropped.
We now attempt to re-establish the connection using an exponential backoff but will give up eventually after 5 minutes.
2021-04-08 04:56:26 -04:00
2021-04-07 20:02:13 -04:00
### Added
- Websocket support for the ASB.
The ASB is now capable to listen on both TCP and Websocket connections.
Default websocket listening port is 9940.
2021-04-21 21:33:36 -04:00
- Tor support as an optional feature.
2021-04-28 02:04:25 -04:00
If ASB detects that Tor's control port is open, a hidden service is created for
the network it is listening on (currently 2).
2021-04-21 21:33:36 -04:00
The Tor control port as well as Tor socks5 proxy port is configurable.
2021-04-07 20:02:13 -04:00
2021-04-06 04:20:31 -04:00
## [0.4.0] - 2021-04-06
2021-03-30 00:40:59 -04:00
### Changed
- The `resume` command of the `swap` CLI no longer require the `--seller-peer-id` parameter.
This information is now saved in the database.
2021-03-23 19:40:22 -04:00
### Added
- A changelog file.
2021-03-26 00:38:30 -04:00
- Automatic resume of unfinished swaps for the `asb` upon startup.
Unfinished swaps from earlier versions will be skipped.
2021-03-31 22:00:15 -04:00
- A configurable spread for the ASB that is applied to the asking price received from the Kraken price ticker.
The default value is 2% and can be configured using the `--ask-spread` parameter.
See `./asb --help` for details.
2021-03-23 19:40:22 -04:00
2021-04-01 00:13:29 -04:00
### Changed
- Require the buyer to specify the connection details of the peer they wish to swap with.
Throughout the public demo phase of this project, the CLI traded with us by default if the peer id and multiaddress of the seller were not specified.
Having the defaults made it easy for us to give something to the community that can easily be tested, however it is not aligned with our long-term vision of a decentralised network of sellers.
We have removed these defaults forcing the user to specify the seller they wish to trade with.
2021-03-24 23:03:00 -04:00
### Fixed
2021-03-31 20:31:05 -04:00
- An [issue ](https://github.com/comit-network/xmr-btc-swap/issues/353 ) where the `swap` CLI would fail on systems that were set to a locale different than English.
A bad readiness check when waiting for `monero-wallet-rpc` to be ready caused the CLI to hang forever, preventing users from perform a swap.
2021-03-24 23:03:00 -04:00
2021-03-24 03:30:55 -04:00
### Security
- Fixed an issue where Alice would not verify if Bob's Bitcoin lock transaction is semantically correct, i.e. pays the agreed upon amount to an output owned by both of them.
Fixing this required a **breaking change** on the network layer and hence old versions are not compatible with this version.
2021-04-17 03:23:09 -04:00
[Unreleased]: https://github.com/comit-network/xmr-btc-swap/compare/0.5.0...HEAD
[0.5.0]: https://github.com/comit-network/xmr-btc-swap/compare/0.4.0...0.5.0
2021-04-06 06:09:42 -04:00
[0.4.0]: https://github.com/comit-network/xmr-btc-swap/compare/v0.3...0.4.0