v2.6.2
Recommended Upgrade
This is a minor update, that primarily focuses on fixing nodes that result in crashes due a segfault in SPV under certain specific conditions, when it's turned on. Contains a few other minor additional fixes and features.
Upgrade Notes
- For nodes that are running
>= v2.6.1
, this is a drop in upgrade. No reindex or fresh sync needed. - 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.
What’s Changed
🚀 Features
- Implement
getaccounthistory
RPC @chanakasameera (#1102)
🐛 Bug Fixes
- Remove VLA and resolve warnings in SPV @Bushstar (#1131)
- Fix deadlock between blockchain and spv @bvbfan (#1139)
- Fix windows time @Bushstar (#1136)
- Use direct path in testpoolswap when available @Jouzo (#1115)
- Fix valid flag in decodecustomtx @bvbfan (#1054)
- Fix dex loan token burns @bvbfan (#1100)
- Add sync_blocks to fix failing deposittovault @hidiego (#1107)
- Test/poolswap enhanced tests + adapt loan to mainnet parameters @hidiego (#1072)
- Add missing cs_main lock before calling CheckPendingAnchors @Bushstar (#1096)
- Sync before clearing mempool @Bushstar (#1099)
- Fix restore UTXO test @Bushstar (#1080)
🧰 Maintenance
- C++17 @Jouzo (#1135)
- Version 2.6.2 @prasannavl (#1138)
- Simplify make.sh to use a single target instead of targets @prasannavl (#1137)
- Split make.sh build, fix lints, cleanup @prasannavl (#751)
- Test getinterest calculation @Jouzo (#1092)
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
835530
prior to this release. - Reference blockhash of testnet 835531:
542cc9c5490b46a228aa8c0878deba3b2c3f5a3e70b6d90bfab1171b153b8d66
- Note: Same upgrade notes as mainnet apply to testnet. Please reindex / restore as necessary.
Note: Certain test related infrastructure components (like defiscan.live) could take a while to reflect this change, due to the re-indexing constraints on the specific applications.
Testnet rollback tips (if needed):
$ defi-cli -testnet invalidateblock $(defi-cli -testnet getblockhash 835530)
$ defi-cli -testnet clearbanned
$ defi-cli -testnet reconsiderblock 542cc9c5490b46a228aa8c0878deba3b2c3f5a3e70b6d90bfab1171b153b8d66