github ElementsProject/peerswap v4.0rc1

latest release: v3.99
18 days ago

Key Updates

1. Protocol Version Upgrade

  • The protocol version has been upgraded to v4.
  • Important: Swaps are now exclusively supported between peers using the same protocol version. To maintain compatibility, all peers must update to v4.

2. LBTC Swap Support via LWK

  • Added support for LBTC swaps through lwk, removing the dependency on elementsd.
  • This update reduces memory requirements for deploying Peerswap by approximately 3–4 GB, making it more lightweight and efficient.

Pros

  • Lightweight: Minimal RAM and storage space needed.
  • Ease of Setup: Simplifies deployment by eliminating the need for a full Elements node.

Cons

  • Beta Software: LWK is currently in beta, which may result in reduced stability or reliability compared to elementsd.
  • Outsourced Verification: Utilizes third-party services for blockchain verification instead of self-verification.
  • Shared Public Service: By default, connects to a public service shared with other users, potentially impacting performance.

3. Confidential Transaction Discounts

  • Implemented support for confidential transaction discounts, significantly lowering costs associated with LBTC swaps.

4. Stability Improvements

  • This release includes various fixes and optimizations aimed at improving stability and reliability.

Note

Please refer to the upgrade procedure guide for detailed instructions on upgrading safely.
It is especially important to ensure you have no active swaps before upgrading. Following this procedure will help prevent potential issues during the transition.

Release Status

While most aspects of PeerSwap are considered stable, support for LWK remains experimental/beta in this release(v4.0rc1).
Users exploring LWK as a backend option are encouraged to report any issues or provide feedback to aid in refining future releases.

Changelog

For a comprehensive list of changes and improvements, please refer to the detailed changelog below.

New Contributors

Special thanks

Special thanks to ZmnSCPxj for specification review a while ago.

Full Changelog: v0.2.97...v4.0.0

Don't miss a new peerswap release

NewReleases is sending notifications on new releases.