Skip to content

Releases: Martin8617/Defi-Node-for-Raspberry-Pi

v4.x.x

02 Dec 09:59
6c8e06b
Compare
Choose a tag to compare

The official DeFiChain client release of the Defi Node is available for the Raspberrys since version 4.0.0.

You can check for official DeFiChain releases for latest downloadable installers for Raspberry Pi.

Download the file for aarch64-linux.

v3.2.8

19 Mar 18:30
6c8e06b
Compare
Choose a tag to compare
  • 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

🔑 Key Highlights

  • Security improvements

    • Rate limit ADDR P2P messages.
      • This prevents a potential DoS attack vector where malicious actors can cause resource exhaustion of the node host.
  • Performance improvements

    • -walletfastselect flag can be used to speed up UTXO selection for large wallets
      • This only works for simple utxo unlock scripts.
      • Using this option will fail to select complex scripts unlock scripts like multi-sig.
      • This can be set as a global default in defid or passed to defi-cli to set per-request context.

📓 Upgrade Notes

For >= 3.2.4, no reindex needed. Drop-in upgrade.
For >= 3.2.0 and <= 3.2.3, reindex is recommended, but optional and can be drop-in upgrade.
For nodes >=3.0.x, one of the following is required:
Sync from any of snapshots from the DeFiChain team (below)
For all other updates, one of the following is required: a fresh sync, the most recent snapshot.
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.

🚩 Flag Changes

  • Both defi-cli and defid:
    • Added:
      • walletfastselect
      • walletcoinoptskipsolvable
      • walletcoinopteagerselect
  • defid:
    • Added:
      • maxaddrratepersecond
      • maxaddrprocessingtokenbucket

🔁 RPC Changes

  • getpeerinfo:
    • Added:
      • addr_processed
      • addr_rate_limited

🔢 Network Snapshots

What's Changed

🚀 Features

✔️ Commits

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.

v3.2.7

08 Mar 09:01
f46640b
Compare
Choose a tag to compare
  • 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

🔑 Key Highlights

  • Stability fixes:
    • Fixes missing tokens on the balance RPCs in edge cases even though consensus level balances were unaffected.
    • Issue: Nodes missed to index a cascaded chain of calculation that resulted from spent governance voting reward tokens
  • Performance improvements:
    • getburninfo calculation is now done in parallel and is memoized on first call. Only the differential heights is recalculated making it much cheaper to be called.
    • Validation of vault liquidation logic is now done in parallel when hardware supports it and should result in visible improvements on the sync performance with more hardware cores.
  • Additional internal refactors and synchronization improvements

📓 Upgrade Notes

  • For >= 3.2.4, no reindex needed. Drop-in upgrade.
    • Reindex is optional, however recommended for wallets affected by DeFiCh/ain#1763
  • For >= 3.2.0 and <= 3.2.3, reindex is recommended, but optional and can be drop-in upgrade.
  • For nodes >=3.0.x, one of the following is required:
    • Sync from any of snapshots from the DeFiChain team (below)
  • For all other updates, one of the following is required: a fresh sync, the most recent snapshot.
  • 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.

🔁 RPC Changes

  • Undocumented API for advanced uses only: votegovbatch

📓 Additional Notes

  • While this release includes many performance improvements, a consequence of DeFiCh/ain#1789 is that listaccounts and gettokenbalances APIs is expected to be slower due to a set of band aids that are applied. These are temporary band aids that will be removed in one of the future releases - has been used for now to workaround the source indexing issue without having to touch consensus related code paths to take the safer approach.

🔢 Network Snapshots

What’s Changed

🚀 Features

✔️ Commits

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.

v3.2.5

24 Feb 13:04
65b6458
Compare
Choose a tag to compare
  • 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

📓 Upgrade Notes

  • For >= 3.2.0 and <= 3.2.4, reindex is recommended, but optional and can be drop in-upgrade.
    • reindex fixes edge cases where some entries were missing in the outputs of listaccounthistory (fixed in: DeFiCh/ain#1700) and account history related RPC. This does not affect consensus, UTXOs or account balances.
  • 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).
  • For all other updates, one of the following is required: a fresh sync, the most recent snapshot.
  • 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.

🔢 Network Snapshots

What’s Changed

🚀 Features

  • Added -dftxworkers=<0/N>: No. of threads in the thread pool for DFTx worker task pool. 0 = automatic.
  • Added -txordering=entrytime/fee/mixed: mixed uses a random selection of entrytime or fee ordering.

🔑 Key Highlights

✔️ Commits

Full Changelog: v3.2.4...v3.2.5

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.

v3.2.4

11 Feb 17:05
33200fa
Compare
Choose a tag to compare
  • 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

  • Refactor of history database writers and inclusion of vault collateral changes in vault history
  • Remove left over amounts belonging to a closed vault in loan balances on vault closure
  • Correction to stats in listgovproposalvotes and listgovproposal
  • Support voting by owner or operator address in votegov
  • Fix for staker crash during invalidateblock call
  • Fix for getcustomtx crash when calling on a creategovvoc transaction still in mempool

📓 Upgrade Notes

  • For >= 3.2.0, it is 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).
  • For all other updates, one of the following is required: a fresh sync, the most recent snapshot.
  • 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.
  • Users that rely on account, vault or burn history, may want to run their node with -reindex due to a bug fixed in this release that would delete the history of the last six blocks on startup.

What’s Changed

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

🔁 RPC Changes

getgovproposal

  • Fixed
    • Argument parsing error.
  • New output fields added
    • votesNo - number of no votes
    • votesNeutral - number of neutral votes
    • votesInvalid - number of invalid votes (votes by ineligible masternodes)
    • feeRedistributionPerVote - DFI redistributed per voter
    • feeRedistributionTotal - total DFI redistributed to voters
    • approvalThreshold - threshold for number of yes votes for proposal to pass

listgovproposalvotes

  • Fixed
    • cycle is set to 1 instead of the current cycle when argument is not set.
    • Argument parsing error.
  • New output field added
    • valid: Validity of vote.
    • Note: This is not finalised until the voting period is completed, results may change over time if active masternodes resign before the completion height.
  • New arguments
    • aggregate: Returns aggregate voting information about one or more proposals.
    • If no proposal ID is sent, voting information for all of the current proposals are returned.
    • valid (default: true): filter results to include only valid or invalid votes.

votegov

  • masternodeId argument now supports owner and operator address.

    • The node will search for masternodes with the provided owner/operator address to vote with.
    • If a masternode ID is provided, behaviour is unchanged.

listvaulthistory

  • PaybackWithCollateral transactions are now listed.

getcustomtx

  • Fixed crash when decoding unconfirmed CreateVoc transactions.

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.

Issues

Please report any issues to [email protected], or reach out to is via Telegram or Reddit.

v3.2.1

07 Jan 10:27
c31565d
Compare
Choose a tag to compare
  • 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

Optional Upgrade

  • Additional filters and pagination for on-chain governance related RPCs
  • Optional support for time based TX ordering miner policy
  • SPV related fixes that hangs the shutdown process under certain conditions
  • Accounting fixes for getburninfo related to BurnTokenTx

🚧 Important Information

During one of our pre-hardfork checks, we identified that some of the recent snapshots provided by the following sources were created by nodes that were updated incorrectly, resulting in inconsistent data:

All of the incorrect snapshots have now been removed from the above sources, regenerated and verified to be correct.
Freshly synced nodes with 3.1.x nodes are unaffected and are ready for the Grand Central Epilogue network upgrade. For those that have used any of the above sources to bootstrap the network, please update your nodes from the same sources again.

Recent verified snapshots:

What’s Changed

🔁 Change

✔️ Commits

Full Changelog: v3.2.0...v3.2.1

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.

v3.2.0

02 Jan 11:14
c373d57
Compare
Choose a tag to compare
  • 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

Mandatory Upgrade

This is a mandatory update for the upcoming Grand Central Epilogue chain upgrade. It contains key upgrades for the protocol.
Grand Central Epilogue upgrade is set for block 2574000 (approx. ETA Jan 10th, 2023. UTC) on mainnet.

Update of mainnet node to v3.2.0 before the chain upgrade block is REQUIRED.

📓 Upgrade Notes

  • For nodes >= 3, this is a drop in upgrade. No reindex required.
  • 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.

What’s Changed

🔑 Key Highlights

  • This is planned extension upgrade to 3.1.x that fixes improves protocol stability to ensure the network is ready for enabling the rest of Grand Central features.

🔁 Change

✔️ Commits

Full Changelog: v3.1.1...v3.2.0

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.

v3.1.1

15 Dec 09:18
d454c04
Compare
Choose a tag to compare
  • 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.

v3.0.1

29 Nov 20:07
a13543d
Compare
Choose a tag to compare
  • 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

Mandatory Upgrade

This is a mandatory update for the upcoming Grand Central chain upgrade. It contains key upgrades for the protocol.
Grand Central upgrade is set for block 2479000 (approx. ETA Dec 8th, 2022. UTC) on mainnet.

Update of mainnet node to v3.0.x before the chain upgrade block is REQUIRED.

📓 Upgrade Notes

  • For nodes >= 2.11.1, reindex is recommended but optional.
  • What works without reindex: Consensus, fund related contracts are 100% compatible and reindex isn't required.
  • What requires reindex: bug fixes for statistical information like getburninfo and live attributes. (listgov attrs). Without reindex, they'll continue to follow older accounting semantics.
  • 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.

What’s Changed

🔑 Key Highlights

  • On-chain governance
  • Token consortium framework
  • Support for masternode parameter updates (owner, operator, reward address)
  • Pool commission and reward fixes

✔️ Commits

The full list of all changes you can find at DeFiCh/ain/releases

Full Changelog: v2.11.1...v3.0.1

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.

v2.11.1

19 Sep 07:54
6c42011
Compare
Choose a tag to compare
  • 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 Epilogue chain upgrade. It contains key upgrades for the protocol.
Fort Canning Epilogue upgrade is set for block 2257500 (approx. ETA Sep 22, 2022 UTC) on mainnet.

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

📓 Upgrade Notes

  • For nodes >= 2.9.1, this is a drop in upgrade. No reindex required.
  • 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.

What’s Changed

🚀 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.