This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
Releases: get10101/itchysats
Releases · get10101/itchysats
0.4.21
Added
- Allow maker to provide extended private key as argument when starting. This key will be used to derive the internal wallet according to Bip84
- Added new HTTP endpoint to manually trigger a wallet sync under
/api/sync
- Added manual wallet sync button to the UI to allow the user to trigger a manual sync
- Added new endpoint to maker and taker to get the daemon version under
/api/version
- Added an info box in taker-ui to show if a new version is available
Changed
- Migrate away from JSON blobs in the DB to a more normalized database for RolloverCompleted events
- Use sled database for wallet. The wallet file is stored in your data-dir as either
maker-wallet
for the maker andtaker-wallet
for the taker respectively - Rollover using the
libp2p
connection - Improve the rollover protocol for resilience. Allow rollovers from a previous
commit-txid
and record a snapshot of the complete fee after each rollover - Collaborative settlement using the
libp2p
connection - Improve the collaborative settlement protocol for resilience. Exchange signatures to allow the taker to publish the collaborative settlement transaction at the end of the protocol.
Fixed
- An issue where the stored revoke commit adaptor signature was not stored correctly. We now correctly pick the adaptor signature from the previous
Dlc
.
0.4.20.1
Maker patch release
Fix TCP socket write
0.4.20
Patch release for the maker. The taker is not affected by these changes.
Fixes
- An issue where the maker was unable to take a proper decision to dispatch to legacy or libp2p protocol handling based on the
peer_id
. The code now tries to use libp2p and if we run into an error we fallback to the legacy protocol handling if we don't have apeer_id
for the CFD in the database.
0.4.19
Added
- A QR code for the ItchySats wallet that can be scanned to retrieve the current address.
ITCHYSATS_ENV
variable that defines different environment of running ItchySats (Umbrel, RaspiBlitz, Docker, Binary)
Changed
- The API for retrieving offers now returns
leverage_details
which is a set of leverages including pre-computed values for margin, liquidation price and initial funding fee. - Taker can choose a leverage provided the maker offers a selection of leverage.
- Rollback that a second connection of a taker would steal the old connection
- The rollover protocol is handled over the libp2p connection. The maker supports both legacy and libp2p requests for rolling over.
Fixed
- An issue where the maker's libp2p ping actor panicked upon startup.
- An issue where fees were not handled correctly in
maia
that could result in invalid transactions.
0.4.18
0.4.17
0.4.16
0.4.15
Changed
- Taker UI: Layout fixes and move the taker-id into a separate modal.
Fixed
- An issue where the
payout
andP/L
for closed positions was returned incorrectly (based on the current price). - An issue where the position metrics recorded an error for CFDs with a weird combinations of events.
- An issue where a CET for a liquidated position could not be published because a
Txout
with a value of0
.
0.4.14
0.4.13
Added
- Maker only: Add new metric under
{maker_url}/api/metrics
which shows the quantity of total positions - Maker only: Add new metric under
{maker_url}/api/metrics
which shows the number of total positions - Taker UI: Add initial onboarding tour that steps the taker through the user interface and ends in the wallet.
- Taker UI: Add link to the FAQ (frequently asked questions) documentation.
- Taker UI: Add Feedback-fish that allows users to submit feedback through a form.
- API changes: maker and taker HTTP Api changed to let the taker chose between multiple leverages
- maker:
/api/offer
: has an additional fieldleverage_choices: Vec<Leverage>
- taker:
/api/cfd/order
: has an additional fieldleverage: Leverage
, i.e. the leverage selected by the taker - both:
/api/feed/long_offer
&&/api/feed/short_ofer
: instead of a single leverage it now returns a list of leverages (leverage_choices
) - network: an additional field
leverage
was added towire::MakerToTaker::TakeOffer
. - network: an additional field
leverage_choices
was added toOrder
which is sent from maker to taker when he created a new offer.
The fieldleverage
was deprecated.
Changed
- Taker UI: Navigation improvements to more easily find the wallet.
- Taker binary: Automatically open the user interface in the default browser upon startup (includes credentials).
- Move failed CFDs (CFDs that were either rejected or the contract setup failed) into a separate table.