Skip to content

v3.1.1

Compare
Choose a tag to compare
@Martin8617 Martin8617 released this 15 Dec 09:18
· 13 commits to main since this release
d454c04
  • 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 @Martin8617

Recommended Upgrade

This is a recommended update that fixes a crash in 3.0.x that gets the chain to be stuck on valid TXs.

Important Info:

  • 3.0.x nodes continue to be supported in the network.
  • There is no requirement to upgrade to be a part of the network either to stake or validate.
  • The key purpose of v3.1.1 was to align the network quickly and prevent network splits in the interim and synchronise the network.
  • The bug was caused due to a missing revert in the implementation for DeFiCh/dfips#228. This feature has now been turned off is not expected to be enabled until the next planned network upgrade.

📓 Upgrade Notes

  • For nodes >=3.1.0, it's a drop-in upgrade.
  • For nodes >=3.0.x, one of the following is required:
    • Sync from any of snapshots from the DeFiChain team (below)
    • Any of your own snapshots or data backups before block 2480466: b41a1d51d80381d3b14be24bc8b2a5524e1c698f5d7cffe5ec4f7b6807ce935a.
    • Fresh sync.
  • 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 snapshot.

🔢 Network Snapshots

Network state of mainnet of the current longest chain from https://defiscan.live/:

2480535: 588c270f7c3bcadf355982f395da39caddc8b0018e5c3bd3e2cdfc76ddf9cb24
2480575: c9166f806ff39b1dba64fb08ccadc16093315455cd7f7109a170030772706313
2480618: 25017f40f3035e80e9d0748cedac78112b9338dbae01d6a862058a17343924ce

Tips:

  • To check if you're on the right chain:
./defi-cli getblockhash 2480535
  • To get on the right chain if you aren't:
./defi-cli invalidateblock $(defi-cli getblockhash 2480535)
./defi-cli clearbanned
./defi-cli reconsiderblock 588c270f7c3bcadf355982f395da39caddc8b0018e5c3bd3e2cdfc76ddf9cb24

🐛 Bug Fixes

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.