Releases: DeFiCh/ain
v1.7.7
Mandatory Update
What’s Changed
This is a mandatory upgrade for all nodes running any version prior to v1.7.7.
This release:
- disables the problematic additional account merkle root check that was introduced with Eunos.
- reinstates anchor payouts.
- should also restores multi-masternode mining performance prior to Eunos
If you are running masternodes, ensure that SPV is enabled, spv=1
at defi.conf
Network snapshots
You can restore quickly using either one of the snapshots below:
- Asia: https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/snapshot-mainnet-893149.zip
- Europe: http://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-893149.zip
🚀 Features
🐛 Bug Fixes
- Revert invalid chain if we partial connect its blocks @bvbfan (#489)
- Prevent block invalidation prior last checkpoint @bvbfan (#490)
- Disable additional account merkle root check @bvbfan (#482)
- Only skip anchor TX on mainnet @Bushstar (#488)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.6
Mandatory Update
What’s Changed
This release fixes an issue where the blockchain node would get stuck in a loop when a block with invalid merkle root is found.
Anchoring reward temporarily disabled
The anchoring reward breaks the newly included Merkle root safety check that comes with Eunos.
For now, all anchors on Eunos will not be paid on time until a new upgrade cycle is set. Valid anchors that are accepted during Eunos will eventually be paid (deferred back payment) when the blockchain upgrade is in at a to-be-determined new block in the future.
Multi-miner notice
Known issue if you are doing multiple masternode mining on a single machine, Merkle root calculation is currently very compute-intensive, and you may require a higher-spec machine to be able to mine efficiently. A fix will be released over the next few days to optimize multiple masternode mining.
It is also recommended that you re-enabled SPV by setting spv=1
in defi.conf if you have previously have it off.
Snapshots
- Europe: https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-893149.zip
- Asia: https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-893149.zip
🧰 Maintenance
🐛 Bug Fixes
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.5
Optional Update
This release is optional for most if you are already on v1.7.4, unless you are running a masternode. If you operate a masternode, this release is required for valid blocks to be crafted.
Known issue if you are doing multiple masternode mining on a single machine, Merkle root calculation is currently very compute-intensive, and you may require a higher-spec machine to be able to mine efficiently. A fix will be released over the next few days to optimize multiple masternode mining.
It is also recommended that you re-enabled SPV by setting spv=1
in defi.conf if you have previously have it off.
Anchoring reward temporarily disabled
The anchoring reward breaks the newly included Merkle root safety check that comes with Eunos.
For now, all anchors on Eunos will not be paid on time until a new upgrade cycle is set. Valid anchors that are accepted during Eunos will eventually be paid (deferred back payment) when the blockchain upgrade is in at a to-be-determined new block in the future.
What’s Changed
🧰 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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.4
Mandatory Update
What’s Changed
This is a mandatory update for the upcoming Eunos upgrade and contains key fixes. This upgrade (v1.7.4) must be upgraded to even if you are running 1.7.3 or lower.
Eunos upgrade is set for block 894,000 (ETA 3rd June, 2021). You MUST upgrade before the upgrade block.
Reindex
- If you are upgrading from 1.7.x, you do not need to reindex.
- When upgrading from v1.6, you MUST reindex. Reindex by running
defid -reindex
.
Network snapshots
You may also use the following snapshots to get you synced up quickly:
- (Europe) https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-878423.zip
- (Asia) https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/snapshot-mainnet-878423.zip
Refer to v1.7.0 release notes for the full changelog for Eunos (1.7) release.
- Remove minter cache @Bushstar (#452)
- Fix/getmininginfo lastblockcreationattempt multiple mns @surangap (#450)
- Ensure connect block is flushed its data @bvbfan (#453)
- Add sleep after failed validation @monstrobishi (#457)
- Notice in log that pruning undo can take a while @bvbfan (#449)
- Defer chain lock to caller to allow atomic lock @bvbfan (#371)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.3
Deprecation notice
This release is deprecated, please use 1.7.4 from https://github.com/DeFiCh/ain/releases/tag/v1.7.4
Mandatory upgrade
This is a mandatory update for the upcoming Eunos upgrade and contains key fixes. This upgrade (v1.7.3) must be upgraded to even if you are running 1.7.2 or lower.
Eunos upgrade is set for block 894,000 (ETA 3rd June, 2021). You MUST upgrade before the upgrade block.
Reindex
- If you are upgrading from 1.7.x, you do not need to reindex.
- When upgrading from v1.6, you MUST reindex. Reindex by running
defid -reindex
.
Snapshot
You may also use the following snapshots to get you synced up quickly:
- (Europe) https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-878423.zip
- (Asia) https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/snapshot-mainnet-878423.zip
What’s Changed
Refer to v1.7.0 release notes for the full changelog for Eunos (1.7) release.
- Remove minter cache @Bushstar (#452)
- Fix/getmininginfo lastblockcreationattempt multiple mns @surangap (#450)
- Ensure connect block is flushed its data @bvbfan (#453)
- Add sleep after failed validation @monstrobishi (#457)
- Notice in log that pruning undo can take a while @bvbfan (#449)
- Defer chain lock to caller to allow atomic lock @bvbfan (#371)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.2
Deprecation notice
This release is deprecated, please use 1.7.4 from https://github.com/DeFiCh/ain/releases/tag/v1.7.4
Mandatory upgrade
This is a mandatory update for the upcoming Eunos upgrade.
Eunos upgrade is set for block 894,000 (ETA 3rd June, 2021). You MUST upgrade before the upgrade block.
Storage pruning
This node release greatly reduces the storage needed by more than 90% (~4GB)! If you are running it with existing data, it will take some time to prune the data. It may take as long as 30 minutes. The node may seem like it is stalled, but it is not.
On first run, IT IS IMPORTANT THAT YOU LEAVE IT RUNNING FOR UP TO AN HOUR TO COMPLETE THE PRUNING WORK
This prunes your reward history to block 875,000. If you would like to retain all your full rewards history, run it with defid -checkpoints=0
.
Reindex
- When upgrading from v1.6, you MUST reindex. Reindex by running
defid -reindex
. - If you are upgrading from 1.7.0, you do not need to reindex.
What’s Changed
Refer to v1.7.0 release notes for the full changelog for Eunos (1.7) release.
🐛 Bug Fixes
- Restore minter cache (#445)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.1
Deprecation notice
This release is deprecated, please download 1.7.4 from https://github.com/DeFiCh/ain/releases/tag/v1.7.4
Mandatory upgrade
This is a mandatory update for the upcoming Eunos upgrade.
Eunos upgrade is set for block 894,000 (ETA 3rd June, 2021). You MUST upgrade before the upgrade block.
Storage pruning
This node release greatly reduces the storage needed by more than 90% (~4GB)! If you are running it with existing data, it will take some time to prune the data. It may take as long as 30 minutes. The node may seem like it is stalled, but it is not.
On first run, IT IS IMPORTANT THAT YOU LEAVE IT RUNNING FOR UP TO AN HOUR TO COMPLETE THE PRUNING WORK
This prunes your reward history to block 875,000. If you would like to retain all your full rewards history, run it with defid -checkpoints=0
.
Reindex
- When upgrading from v1.6, you MUST reindex. Reindex by running
defid -reindex
. - If you are upgrading from 1.7.0, you do not need to reindex.
What’s Changed
Refer to v1.7.0 release notes for the full changelog for Eunos (1.7) release.
Changes since v1.7.0:
🚀 Features
- Load minter last times into memory cache @Bushstar (#434)
- Don't stake in disconnecting process @bvbfan (#377)
- Add RPC call sendutxosfrom @Bushstar (#432)
🐛 Bug Fixes
- Revert account balance in listaccounthistory pagination @bvbfan (#429)
- Fix to always return array for "amounts" in listaccounthistory @Mixa84 (#436)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.7.0
Note: This version has been deprecated. A higher version has been released. Please use one of the higher versions to upgrade. The following information is purely historical.
Mandatory upgrade
This is a mandatory update for the upcoming Eunos upgrade.
Eunos upgrade is set for block 894,000 (ETA 3rd June, 2021). You MUST upgrade before the upgrade block.
When upgrading from v1.6, you will also be required to reindex. Reindex by running defid -reindex
.
Changelog
🚀 Features
This upgrade contains the following consensus enhancements:
- (EXPERIMENTAL) Interchain Exchange & Bitcoin atomic swap. This allows users to create and fulfill orderbook orders using the integrated Bitcoin SPV wallet and exchange any asset on DeFiChain with Bitcoin. @Mixa84 #335 @Bushstar #364 #356 #311 #308
- New emission rate & foundation destruction. This includes a change in the emission rate, allowing funds to be diverted to various DeFi uses, and the destruction of foundation funds. DFIP #7 & DFIP #8 @Bushstar #328
- Price Oracles. This implements price feeds, for utilisation in future DeFi services such as futures. @bvbfan #287
- Burn tracking. This allows the tracking of funds burnt manually or through fees and other automated burn operations. - @Bushstar #354
- Lazy block reward calculation for faster block sync. This is a performance improvement that improves the blockchain synchronisation time and disk usage. @bvbfan #279
- Account change tracking in Merkle root. This is a stability improvement that ensures that account changes are baked into the merkle root. - @bvbfan #337
- Fixed a bug on chainsplit. #380 This greatly improves the robustness of blockchain and reducing the likelihood of chainsplit occuring.
- Following the upgrade block, blockchain difficulty adjustment period will be increased from 10 blocks to 1008 blocks. #378
- Masternode registration now takes 1008 blocks to be activated. Resignation takes 2016 blocks. #419
🧰 Maintenance
- Remove Qt from depends on master @Bushstar (#384)
- net: Add a community-operated DNS seed for defichain mainnet nodes @bernd-mack (#382)
- Add account destruction address on testnet (#404)
- Ignore but log merkle failures (#403)
- Skip old coinbase block post Eunos (#400)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or [Reddit](https://reddit.com/r/[email protected], or reach out to is via Telegram or Reddit.
v1.6.4
What’s Changed
🚀 Features
- SPV blocknotify/walletnotify @Bushstar (#325)
- SPV show all addresses and add ismine @Bushstar (#333)
- Native CORS support for defichain @prasannavl (#330)
- spv_validateaddress @Bushstar (#331)
- Feature/reorg to anchor height @surangap (#313)
- spv_listreceivedbyaddress @Bushstar (#321)
- SPV Bitcoin HTLC @Bushstar (#308)
🐛 Bug Fixes
- Skip blocks with higher than expected hash @bvbfan (#327)
- Update build and client versions @bvbfan (#318)
- Fix rpc parameter not converted in defi-cli @ShengguangXiao (#319)
- SPV: Skip pending anchor until block confirmed @Bushstar (#310)
- Updated the getmintinginfo and getmininginfo to fix referencing on rval. @surangap (#307)
- Ensure auto auth not overlap regular tx inputs or vice versa @bvbfan (#355)
🧰 Maintenance
- Add SPV checkpoint to speed up resync @Bushstar (#312)
- SPV HTLC Consistent key names and descriptions @Bushstar (#311)
- Specific error messages on SPV TX creation failure @Bushstar (#359)
- Add workflow_dispatch to github dev-build @monstrobishi (#358)
- HTLC set min timeout @Bushstar (#364)
- Add docker build to dev builds @monstrobishi (#363)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.
v1.6.3
Hotfix upgrade
This is a recommended hotfix that fixes an invalid kernel hash being accepted and then subsequently rejected.
What’s Changed
🐛 Bug Fixes
🧰 Maintenance
- Using enum instead of hardcoded number for tx destination @ShengguangXiao (#300)
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.
Issues
Please report any issues to [email protected], or reach out to is via Telegram or Reddit.