Skip to content

v2.7.1

Compare
Choose a tag to compare
@prasannavl prasannavl released this 20 May 16:00
· 1185 commits to master since this release
5de8a22

Recommended Upgrade

This is an optional, but recommended upgrade. Due to a bug on getgovheight TX, there was an accidental deletion of attributes from the node index on block 1896000. This resulted in statistical information being reset entirely. This update fixes the stats again.

Impact on the older nodes:

  • The consensus is still correct, and old nodes can continue to function, as is - if statistical info is not a concern.
  • getburninfo information that's based on attributes will be reset. Eg: DFI payback
  • listgovs => All of v0/live/economy/ information will reset and appear to have started from 0 from block 1896000.

Upgrade Notes

  • If node is above block 1896000, an invalidation to a block before this and reconsideration back to the tip is required to fix the stats again. Otherwise, it will still continue to display incorrect information.
  • Eg: After upgrade:
    • defi-cli invalidateblock c72d93b9897bbbebed505d8b23293fbcae5be5a767c6fbc4d67d25510d1b4066 followed by
    • defi-cli reconsiderblock c72d93b9897bbbebed505d8b23293fbcae5be5a767c6fbc4d67d25510d1b4066
      Will fix the stats information again.
  • Fresh sync or any snapshots below 1896000 should work as expected without any intervention.

Key highlights

🚀 Features

🐛 Bug Fixes

  • test: Prevent wallet resubmitting TX after rollback @Bushstar (#1239)
  • Test/payback v2 multiple error @hidiego (#1183)
  • Add -isysroot to macOS native compile flags @Jouzo (#1203)
  • Update test cases to remove deprecatedHeight usage. @shohamc1 (#1204)
  • Fix typos @hidiego (#1212)
  • Revert "Fix dex loan token burns" @prasannavl (#1193)

🧰 Maintenance

How to run?

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

DeFi 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/DeFiCh/app/releases for the latest releases.