Skip to content

Releases: DeFiCh/ain

v2.0.0 - Fort Canning

02 Nov 20:36
526e711
Compare
Choose a tag to compare

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 Update

What’s Changed

This is a mandatory update for the upcoming Fort Canning chain upgrade. It contains key features and fixes.
Fort Canning upgrade is set for block 1367000 (approx. ETA Monday, 15 Nov 2021) on mainnet.

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

Key Focus

  • Native protocol support for decentralised loans. Includes all the foundational blocks for loans, auctions, bids and to bring stock tokens on to the ecosystem. This introduces a new set of protocols and RPCs to interact with the chain. For more information, please read the wiki here.
  • Composite swap. Automatically swaps across up-to 3 pool pairs. Example: Directly swap between dBTC to dETH in one atomic step (Tx) through the underlying DFI-BTC and DFI-ETH pools. (#676)
  • Improved on-chain mechanics for oracle pricing and fault tolerance with dedicated support for fixed time interval pricing.
  • updatemasternode RPC that currently enables updating a masternode's operator address. (#687)
  • setforcedrewardaddress RPC that enables providing a dedicated address for masternode rewards. (#642)

Other noteworthy improvements:

  • #704: getmasternodeblocks RPC now correctly returns blocks minted by all subnodes.
  • #686: spv_refundhtlcall RPC - Gets all HTLC contracts stored in wallet and creates refunds transactions for all that have expired.
  • #722: Anchoring cost has now been reduced to BTC dust (minimum possible).
  • #752: Tx fees, which were being burnt after Eunos upgrade will now be included in block rewards again from Fort Canning.

Breaking RPC Changes (from 1.8.4)

  • #815: getgov now returns an array instead of an object to account for multiple values with activation heights.
  • #815: listpoolpairs and getpoolpair RPCs now include additional field: rewardLoanPct.
  • #711: listaccounthistory RPC now only includes a record if the transaction is trusted (confirmation > 0).

Full Changelog: v1.8.4...v2.0.0

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.

Testnet Info

The following are informational updates that apply only for development on testnet:

  • Testnet has been rolled back to the testnet specific Fort Canning block height (686200) along with the release.
  • Blockhash of testnet 686200: 527ae58ed2a644e907d03a176779b5945a2682c1ef90d7563037cdf65e6a2364

Testnet rollback tips:

$ defi-cli -testnet invalidateblock $(defi-cli getblockhash 686200)
$ defi-cli -testnet reconsiderblock 527ae58ed2a644e907d03a176779b5945a2682c1ef90d7563037cdf65e6a2364
$ defi-cli -testnet clearbanned

Issues

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

v1.8.4

10 Sep 09:27
6059de0
Compare
Choose a tag to compare

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.

Optional Update

What’s Changed

  • Resolve two issue, getmasternodeblocks not reporting blocks after the EunosPaya hard fork and the fee being too small on some accounttoutxos transactions.

🐛 Bug Fixes

🧰 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

Public: Github Issues
Private: engineering [at] defichain.com
Security: security [at] defichain.com
Community Help: Telegram or Reddit.

v1.8.3

02 Sep 07:51
73eaf86
Compare
Choose a tag to compare

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.

Optional Update

What’s Changed

  • Contains usage related fixes: getmasternodeblocks and getblockchaininfo
  • Addresses a self resolvable condition for pre-Eunos Paya masternodes, where target multipliers of both subnode 0 and subnode 1 reset when one of them mines (Note: This probabilistically resolves itself, even without this update over time, but this update unblocks this condition more deterministically. Less than 5% of the masternodes are affected by this, at the time of this release). For more info: #693.

🐛 Bug Fixes

  • Add post EP workaround to force one subnode0 stake before subnode1 @prasannavl (#696)
  • Fix getmasternodeblocks @HiDiego (#704)
  • Add masternode timelock to CCustomTxRpcVisitor, now can be retrieved via relevant RPCs. @surangap (#679)
  • Make sure wallet is unlocked before dumping SPV key @Bushstar (#689)
  • Add EunosPaya height to blockchaininfo @prasannavl (#685)

🧰 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.8.2

16 Aug 22:42
66b0a29
Compare
Choose a tag to compare

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.

Optional Update

What’s Changed

  • This is a minor performance update that includes a key fix that optimizes out excessive validation of blocks that causes the block syncing to be slower on 1.8.x (more info: #670) along with a few other minor improvements.

🐛 Bug Fixes

🧰 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.8.1

02 Aug 12:49
225f294
Compare
Choose a tag to compare

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.

Optional Update

What’s Changed

  • This is an optional stability update to 1.8.0.
  • This is a minor update that fixes an edge-case due to an issue in the internal Bitcoin SPV, which causes the whole node to become unresponsive right after upgrade before achieving full sync.
  • If you've already upgraded to 1.8.0 with the official snapshots and/or the node is stable, this update should have no effect.

🐛 Bug Fixes

🧰 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.8.0 - Eunos Paya

28 Jul 11:41
c812f02
Compare
Choose a tag to compare

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 Update

What’s Changed

This is a mandatory update for the upcoming Eunos Paya chain upgrade. It contains key features and fixes.
Eunos Paya upgrade is set for block 1072000 (approx. ETA Thursday, 05 Aug 2021) on mainnet.

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

Key changes

  • Added: Masternodes now optionally support 5 year and 10 year timelocks for increased staking power of 1.5x or 2x respectively.

    • This can be used after Eunos Paya upgrade with an additional parameter to createmasternode RPC that takes in FIVEYEARTIMELOCK or TENYEARTIMELOCK argument. Please note that this means the masternode once created cannot be resigned for the given period, and the collateral is locked.
    • Use defi-cli help createmasternode for more info.
  • Changed: Improved InterChain Exchange (atomic swap) consistency. Atomic swap users should find swaps are smoother and successful after Eunos Paya upgrade than before.

  • Changed: RPC getmintinginfo is now deprecated. Please switch to getmininginfo instead.

Bootstrap snapshots (optional)

You can use one of the following snapshots to help speed-up bootstrapping of fresh nodes:

Bootstrap block-height: 1052243

🚀 Features

🐛 Bug Fixes

🧰 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 Wallet App (GUI) users

If you are running the desktop DeFi Wallet 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.

Testnet Info

The following are informational updates that apply only for development on testnet:

  • Testnet has been rolled back to the testnet specific Eunos Paya block height (463300) along with the release.
  • Blockhash of testnet 463300: 9699e126d2d41099a4ba913e3e2ef7fa76acf473130b858a85edce730b690621

Issues

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

v1.7.11

16 Jun 14:27
7a43018
Compare
Choose a tag to compare

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.

Optional update

What’s Changed

This is an optional upgrade that fixes an issue where the blockchain node would get stuck on a clean sync or reindex.

Anchors have been updated to pay rewards by lowest Bitcoin height first and a RPC level solution to not to use anchors that might fall foul of the "Anchor too new" rule when validating anchors, a fuller fix for this will be in the next hard fork where anchors will be selected an hour deeper into the chain.

Bootstrap snapshots

You can use one of the following snapshots bootstrap your node:

🐛 Bug Fixes

  • If anchor plus time depth more than current time then skip it @Bushstar (#540)
  • Remove unused and obsolete system @Bushstar (#539)
  • Pay anchor with lowest BTC TX height first @Bushstar (#535)
  • Fix regression in staker block time calculation @bvbfan (#537)
  • Convert PKH to UInt160 only when it is valid @Bushstar (#533)
  • Fix to add txid in logging for expiration of ICX order/offer/dfchtlc. @Mixa84 (#532)

🧰 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.10

11 Jun 08:06
8e6cdc7
Compare
Choose a tag to compare

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.

Recommended Update

What’s Changed

This is an optional update, but recommended for masternode operators. It includes stability updates addressing several post-Eunos issues and targets especially masternode operators.

  1. Since Eunos, mining performance has dropped due to changes in the account layer calculations during block creation, performance has been restored by separating the hash generation from block creation.
  2. Increased mining efficiency, in that they will try to find a block using every second in the available valid time range.

🚀 Features

🐛 Bug Fixes

🧰 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.9

08 Jun 14:53
d295bc1
Compare
Choose a tag to compare

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.

Recommended Update

What’s Changed

This release is a stability update addressing several post-Eunos issues that can cause the node to stop syncing or shutdown unexpectedly. There is still an outstanding multi-miner performance issue that is not addresses in this release, another release for this will follow soon.

🚀 Features

🐛 Bug Fixes

🧰 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.8

04 Jun 20:08
2119b59
Compare
Choose a tag to compare

Recommended Update

What’s Changed

This release fixes an issue where the blockchain node would get stuck in a loop when a block with an invalid kernel hash is found. Upgrade however is non-mandatory if you are on >= 1.7.7

🐛 Bug Fixes

  • Do not mark fInvalidFound true on high-hash block @Mixa84 (#494)
  • Fix the loop when block with high-hash comes @Mixa84 (#493)

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.