Skip to content

Releases: DeFiCh/ain

v4.0.5

01 Dec 15:17
73489ee
Compare
Choose a tag to compare

Optional Upgrade

  • Add transferdomain single key check config -tdsinglekeycheck
  • Introduce LevelDB snapshots. Used in pool pair RPC calls only in this release.

Upgrade Notes

  • From v4.0.x: drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required or bootstrap from snapshots 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.3...v4.0.5

v4.0.3

21 Nov 16:27
93af122
Compare
Choose a tag to compare

Optional Upgrade

  • RPC: TransferDomain
    • Add single key check for source and destination addresses in transferdomain RPC
    • [BREAKING] Sending to addresses that doesn't correspond to the source requires the flag singlekeycheck to be set to false.

Upgrade Notes

  • From v4.0.2 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required or bootstrap from snapshots 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.2...v4.0.3

v4.0.2

20 Nov 11:51
5651495
Compare
Choose a tag to compare

Optional Upgrade

  • Fixed: RPC eth_estimateGas failure due to invalid fee cap
  • Fixed: Cleanup defunct indexes on EVM rollback

Upgrade Notes

  • From v4.0.1 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required or bootstrap from snapshots 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.1...v4.0.2

v4.0.1

16 Nov 09:12
fa1aca8
Compare
Choose a tag to compare

Optional Upgrade

  • Fixes an edge-case bug where masternodes silently lose the ability to mine blocks. This affects miners only if the first key in defi.conf for masternodes is an invalid or outdated key that doesn't represent an enabled state. This bug causes the miners to silently fail mining a block even if there are other valid keys.

Upgrade Notes

  • From v4.0.0 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required or bootstrap from snapshots 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Full Changelog: v4.0.0...v4.0.1

v4.0.0

03 Nov 01:00
f616832
Compare
Choose a tag to compare

[Note: Release notes still work-in-progress]

Mandatory Upgrade

This is a mandatory update for the upcoming MetaChain upgrade. It contains key upgrades for the protocol.
MetaChain upgrade is set for block 3462000 (approx. ETA Nov 15, 2023. UTC) on mainnet.

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

Upgrade Notes

  • From v3.2.8 (prev. latest stable): drop in-upgrade.
  • Older nodes, require a fresh sync or bootstrap from snapshots.
  • From pre-releases (v4-rc, v4-beta, etc): -reindex or fresh required or bootstrap from snapshots 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.
  • defid now requires glibc 2.29 or greater to run. You may need to update your OS if you are running an older version. (Ubuntu 18, Debian 10, etc.)

Key highlights

  • DeFiChain EVM
  • DUSD Vaults

Network Snapshot

What's Changed

Read more

v4.0.0-rc2

26 Oct 17:10
c842935
Compare
Choose a tag to compare
v4.0.0-rc2 Pre-release
Pre-release
Fix lints (#2628)

v4.0.0-rc1

17 Oct 10:56
ed73fc1
Compare
Choose a tag to compare
v4.0.0-rc1 Pre-release
Pre-release

Upgrade Notes

For Testnet network users the network has been rolled back to block 1,150,000. This release requires either a reindex, restarting from snapshot or a clean sync. The expected hash on block 1,150,000 is 2f0b131e15bdb6e5ecbd0e8fd4f9db798db59aa3c78a3b352594b8db341e1f33.

For Changi network users upgrading from any release before beta15, this release requires either a reindex, restarting from snapshot or a clean sync due to changes in the EVM state. Failure to do this may result in an inconsistent EVM state.

Summary

Note: This is a release candidate pre-release. This is NOT meant for use on production systems.

  • Version: 4.0.0-rc1

Testnet EVM

  • EVM RPC Port: 18551
  • EVM ChainID: 1131

Changi

  • P2P Port: 20555
  • DFI RPC Port: 20554
  • EVM RPC Port: 20551
  • EVM ChainID: 1133
  • Network name: changi
  • Rest of the parameters are exactly the same as testnet3, which continues to run in parallel.

What's Changed

Full Changelog: v4.0.0-beta15...v4.0.0-rc1

v3.2.8

17 Mar 10:34
5786fb8
Compare
Choose a tag to compare

Recommended Upgrade

  • 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

Additional Notes

  • None

Network Snapshot

What's Changed

Full Changelog: v3.2.7...v3.2.8

v3.2.7

07 Mar 11:17
0edc8e0
Compare
Choose a tag to compare

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 (#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.

Flag Changes

  • None

RPC Changes

  • Undocumented API for advanced uses only: votegovbatch

Additional Notes

  • While this release includes many performance improvements, a consequence of #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 Snapshot

What's Changed

Full Changelog: v3.2.6...v3.2.7

v3.2.6

24 Feb 14:23
f0a33ce
Compare
Choose a tag to compare

Recommended Upgrade

  • Added more checkpoints to flatten the memory spike for lower end machines instead of a single large prune
  • Fixes gettokenbalances bug in 3.2.5 that doesn't filter out currently un-spendable tokens from wallet.

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.
    • reindex fixes edge cases where some entries were missing in the outputs of listaccounthistory (fixed in: #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.

Flag Changes

  • None

RPC Changes

  • None

Network Snapshot

What's Changed

Full Changelog: v3.2.5...v3.2.6