Skip to content

v2.0.0

Compare
Choose a tag to compare
@Martin8617 Martin8617 released this 05 Nov 16:09
· 70 commits to main since this release
7f23cdd
  • Defi Node for Raspberry Pi with official Raspberry Pi OS (32-bit) as armv7l
  • Defi Node for Raspberry Pi with beta Raspberry Pi OS (64-bit) as arm64

Information copied from DeFiCh/ain
Compiled from Source code @Martin8617

Mandatory update

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.

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

What’s Changed

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

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.