Skip to content

v2.8.0

Compare
Choose a tag to compare
@Martin8617 Martin8617 released this 30 May 18:59
· 38 commits to main since this release
5136e29
  • Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
  • Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64

Information copied from DeFiCh/ain/releases
Compiled from Source code with Raspberry Pi OS (bullseye) @Martin8617

Mandatory Upgrade

This is a mandatory update for the upcoming Fort Canning Crunch chain upgrade. It contains a key new features that upgrades the protocol.
Fort Canning Crunch upgrade is set for block 1936000 (approx. ETA June 2, 2022) on mainnet.

Update of mainnet node to v2.8.0 before the chain upgrade block is REQUIRED.

📓 Upgrade Notes

  • For nodes that are running >= v2.6.1 and <= v2.6.2, this is a drop in upgrade. No reindex or fresh sync needed.
  • For nodes that are being restored from recent snapshot, as with all updates before: -rescan for the wallet txs and additionally -spv_resync for users who hold BTC. If either isn't used, they may not be shown in the wallet until rescanned/resynced.
  • For other nodes, one of the following is required: a fresh sync, the most recent backup from 2.6.x or latest snapshot.

Note: For nodes on 2.7.0, please see the release notes of 2.7.1 for details on the statistics being reset. If you have updated as a drop-in replacement and depend on the statistics, please ensure to resync the chain from the given blocks.

What’s Changed

🔑 Key Focus

  • Full support for token splits. The major highlight of this upgrade is to introduce token splits, auto rebalancing of the pool, vaults, auctions and user accounts. This is fully automatic and no user action is needed.
    • On token split-block:
      • Tokens in wallet: Will auto split
      • Tokens in vaults: Will auto split
      • Tokens in auctions and bids: Will auto split
      • Tokens in future swap: Will be refunded back to the wallets and auto split. DUSD will just be refunded
      • Tokens in pool pairs: Will auto migrate to new pool and be issued newer tokens.

      Note: These number of LP tokens issued will be based on the newer pool ratio, but will retain the same values.

Notables

  • Internal token system has been partially moved to attributes, as the first part of a multi-release journey.
  • The token split block will be an computation heavy block and could take anywhere between a few seconds to minutes based on the hardware of the system. Currently, it's yet to be optimised for speed, but scales out linearly based on the number of cores. Further optimisations are expected over time to improve this.

API Changes

  • listgovs: Now takes one of the additional parameters: all/live/attrs/govs/<attribute-prefix> to filter easily.
  • [Deprecated] setloantoken - Usage will be superseded by attributes system.
  • [Deprecated] setcollateraltoken - Usage will be superseded by attributes system.
  • listcollateraltokens:
    • [Deprecated field] activateAfterBlock - Usage has been superseded by attributes system.

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

How to run?

Download and untar the relevant version to your operating system, run bin/defid to start a DeFi Blockchain daemon. The client (CLI) can be found at bin/defi-cli.

💻 App (GUI) users

If you are running the desktop DeFi App, you do not have to manually update the underlying node as the app will handle it. Check https://github.com/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.