Releases: DeFiCh/ain
v3.2.5
Recommended Upgrade
- Mainnet and testnet checkpoints added
- Adds support for mixed tx ordering, alongside time and fee ordering for miners.
- Many fixes and performance improvements across the board
- Key performance improvements:
- Broad-spectrum CI and testing fixes (#1772, #1744)
Upgrade Notes
- 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 oflistaccounthistory
(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
- Added
-dftxworkers=<0/N>
: No. of threads in the thread pool for DFTx worker task pool. 0 = automatic. - Added
-txordering=entrytime/fee/mixed
:mixed
uses a random selection of entrytime or fee ordering.
Network Snapshot
- [Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- [US] https://defi-snapshots-us.s3.amazonaws.com/index.txt
What's Changed
- Resolve functional test failure by @Bushstar in #1744
- Allow object to be empty in listgovproposals and listgovproposalvotes by @shohamc1 in #1749
- Add auto transaction ordering support by @shohamc1 in #1754
- Replace Require strings with lambdas by @Bushstar in #1755
- Use if conditionals in amount by @Bushstar in #1757
- Add
-txordering
flag: support for miners to switch TX ordering by @shohamc1 in #1759 - Multi-threaded getburninfo by @Bushstar in #1762
- Refactor
-txordering
to remove multiple GetArg calls by @shohamc1 in #1761 - Add DeFiErrors abstraction for error messages by @prasannavl in #1758
- Do not allow non-DAT consortium attributes to be set by @shohamc1 in #1718
- Disconnect nodes in rollback_to by @Bushstar in #1752
- Revert Require to simple if branches on payback hotpaths by @DocteurPing in #1769
- Revert to if conditional for Add/Sub by @Bushstar in #1768
- Remove usage of ForEachAccount by @shohamc1 in #1765
- Add rollback diff to full sync CI by @Jouzo in #1723
- Add checkpoint for mainnet and testnet by @DocteurPing in #1770
- Limit parallel script processing thread pool to 4 by default by @prasannavl in #1764
- Add thread pool to improve performance of multi-threading by @Bushstar in #1773
- Bump jellyfish-workflow settings by @fuxingloh in #1772
- Version 3.2.5 by @Bushstar in #1753
- Reverts of Require in Sub/Add Balances by @prasannavl in #1774
- Fix for multi-threaded getburninfo by @prasannavl in #1775
Full Changelog: v3.2.4...v3.2.5
v3.2.4
Recommended Upgrade
- Refactor of history database writers and inclusion of vault collateral changes in vault history
- Remove left over amounts belonging to a closed vault in loan balances on vault closure
- Correction to stats in
listgovproposalvotes
andlistgovproposal
- Support voting by owner or operator address in
votegov
- Fix for staker crash during
invalidateblock
call - Fix for
getcustomtx
crash when calling on acreategovvoc
transaction still in mempool
Upgrade Notes
- For >= 3.2.0 and <= 3.2.3, reindex is recommended, but is optional and a drop in-upgrade.
reindex
fixes edge cases where some entries were missing in the outputs oflistaccounthistory
(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. - Users that rely on account, vault or burn history, may want to run their node with
-reindex
due to a bug fixed in this release that would delete the history of the last six blocks on startup.
RPC Changes
getgovproposal
- Fixed
- Argument parsing error.
- New output fields added
- votesNo - number of no votes
- votesNeutral - number of neutral votes
- votesInvalid - number of invalid votes (votes by ineligible masternodes)
- feeRedistributionPerVote - DFI redistributed per voter
- feeRedistributionTotal - total DFI redistributed to voters
- approvalThreshold - threshold for number of yes votes for proposal to pass
listgovproposalvotes
- Fixed
cycle
is set to 1 instead of the current cycle when argument is not set.- Argument parsing error.
- New output field added
valid
: Validity of vote.- Note: This is not finalised until the voting period is completed, results may change over time if active masternodes resign before the completion height.
- New arguments
aggregate
: Returns aggregate voting information about one or more proposals.- If no proposal ID is sent, voting information for all of the current proposals are returned.
valid
(default:true
): filter results to include only valid or invalid votes.
votegov
masternodeId
argument now supports owner and operator address.- The node will search for masternodes with the provided owner/operator address to vote with.
- If a masternode ID is provided, behaviour is unchanged.
listvaulthistory
- PaybackWithCollateral transactions are now listed.
getcustomtx
- Fixed crash when decoding unconfirmed
CreateVoc
transactions.
What's Changed
- Move CHistoryWriter into CCustomCSView by @Bushstar in #1700
- Track Add/SubVaultCollateral in vault history by @Bushstar in #1715
- Add more voting info in getgovproposal rpc by @Mixa84 in #1729
- Change first parameter of listgovproposals and listgovproposalvotes to be string and parsed as JSON in rpc by @Mixa84 in #1732
- rpc: votegov: Add support for owner and operator address by @DocteurPing in #1717
- Addapt fee redistribution test to current situation by @Mixa84 in #1728
- Remove positive amount on close vault by @Bushstar in #1712
- Display vote validity in
listgovproposals
and add validity filter by @shohamc1 in #1725 - Display aggregate vote stats in
listgovproposalvotes
by @shohamc1 in #1714 - Add checkpoints to testnet/devnet by @Bushstar in #1738
- Fix getcustomtx crash on mempool transaction by @Bushstar in #1742
- Display vote validity in listgovproposals and add validity filter by @shohamc1 in #1740
- Fix staker crash on invalidateblock by @Bushstar in #1741
- v3.2.4 by @Bushstar in #1745
Full Changelog: v3.2.3...v3.2.4
v3.2.3
Optional Upgrade
- An optional upgrade to resolve a performance regression in the node: https://github.com/DeFiCh/ain/issues/1730
- Disables
neutral
votes from being set through RPC due to prevent accidental neutral votes temporarily until #1704 is fixed. listgovproposalvotes
default values now work as expected to show current cycle instead of the last one.
Upgrade Notes
- For >= 3.2.0, it is a drop in-upgrade.
- 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.
Network Snapshot
- [Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- [US] https://defi-snapshots-us.s3.amazonaws.com/index.txt
What's Changed
- Add OCG voting scenarios tests by @Jouzo in #1706
- Remove codowners to manually add reviewers by @Mixa84 in #1716
- Add lambda support to Require by @Bushstar in #1705
- Disable neutral votes from RPC by @Mixa84 in #1709
- Fix incorrect default for cycles argument in listgovproposalvotes by @shohamc1 in #1701
- Fix on-chain goverment voting scenarios test by @Mixa84 in #1727
- Fix setgov crashes by @shohamc1 in #1719
- Version 3.2.3 by @prasannavl in #1731
Full Changelog: v3.2.2...v3.3.0
v3.2.2
Optional Upgrade
- RPCs with fixes and improvements:
listaccounthistory
: Support for paginationlistgovproposals
: Multiple fixes and improvementsaccouthistorycount
: Addstxtypes
support for accepting multiple types
- Flags:
-backupwallet
: Enables automatic wallet backups. This feature is currently experimental and is disabled by default as large wallets can block the validation process during the automatic backup.-leveldbchecksum
: Controls the leveldb check sum behaviour and allows bypass to favour faster validations for testing and on non masternodes.-devnet
: Enables bootstrapping first iteration of the new networkdevnet
Upgrade Notes
- For >= 3.2.0, it is a drop in-upgrade.
- 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.
Network Snapshot
- [Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- [US] https://defi-snapshots-us.s3.amazonaws.com/index.txt
Changes
- Refactor consensus with contract based predicates by @Bushstar in #1679
- Refactor fork check by @Bushstar in #1671
- Move validation code to DeFi by @Bushstar in #1663
- Update getblock help dialogue by @shohamc1 in #1685
- Add workflow_dispatch event trigger to full sync CI by @Jouzo in #1651
- Fix start pagination for listgovproposals by @Mixa84 in #1689
- Feature: Auto Backup Wallet by @mambisi in #1331
- Allow direct fetch and reorgs on mocknet by @Bushstar in #1686
- Add lock before wallet backup by @Bushstar in #1690
- Adds -leveldebchecksum argument by @dcorral in #1669
- Add pagination support for
listaccounthistory
by @shohamc1 in #1643 - Add alias "special" for emergency VOC. by @Mixa84 in #1691
- Fix
start
behaviour inlistgovproposals
by @shohamc1 in #1692 - Update devnet with latest testnet hard fork height by @Bushstar in #1693
- Add multi-account and multi-TX filters to
accounthistorycount
by @shohamc1 in #1666 - Set devnet seed node by @Bushstar in #1694
- Refactor proposals related nomenclature by @shohamc1 in #1687
- v3.2.2 by @Bushstar in #1695
- Add devnet ports to dockerfile EXPOSE by @Jouzo in #1696
- Add option to pass custom name to workflow_dispatch run by @Jouzo in #1698
- Document missing fork dates by @Jouzo in #1699
- Fix cycleEndHeight for emergency VOC by @Mixa84 in #1697
Full Changelog: v3.2.1...v3.2.2
v3.2.1
Important Information
During one of our pre-hardfork checks, we identified that some of the recent snapshots before Jan 10, 2023 provided by the following sources were created by nodes that were updated incorrectly, resulting in inconsistent data:
- https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- https://defi-snapshots-us.s3.amazonaws.com/index.txt
All of the incorrect snapshots have now been removed from the above sources, regenerated and verified to be correct as of Jan 11, 2023.
Freshly synced nodes with 3.1.x nodes are unaffected and are ready for the Grand Central Epilogue network upgrade. For those that have used any of the above sources to bootstrap the network, please update your nodes from the same sources again.
Recent verified snapshots:
- https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/snapshot-mainnet-2571096.zip
- https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-2571096.zip
- https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/snapshot-mainnet-2571096.zip
- https://defi-snapshots-us.s3.amazonaws.com/snapshot-mainnet-2571096.zip
Optional Upgrade
- Additional filters and pagination for on-chain governance related RPCs
- Optional support for time based TX ordering miner policy
- SPV related fixes that hangs the shutdown process under certain conditions
- Accounting fixes for
getburninfo
related to BurnTokenTx
Upgrade Notes
- For >= 3.2.0, it is a drop in-upgrade.
- 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.
Changes
- Add more examples in minttokens help dialogue by @shohamc1 in #1677
- Add test for changing voting period before previous period ending. by @Mixa84 in #1660
- Input validation of creategovvoc and creategovcfp by @Jouzo in #1647
- Change ordering of TXs by time by @Bushstar in #1613
- Prevent consortium being set on loan token or DFI by @Bushstar in #1649
- Add pagination support for
listgovproposalvotes
by @shohamc1 in #1635 - SPV: update testnet seed nodes by @Bushstar in #1682
- Fix accounting of burntoken tx in getburninfo by @Mixa84 in #1659
- Add cycle filtering and pagination to listgovproposals by @dcorral in #1627
- v3.2.1 by @Bushstar in #1681
Full Changelog: v3.2.0...v3.2.1
v3.2.0
Mandatory Upgrade 🎅
This is a mandatory update for the upcoming Grand Central Epilogue chain upgrade. It contains key upgrades for the protocol.
Grand Central Epilogue upgrade is set for block 2574000 (approx. ETA Jan 10th, 2023. UTC) on mainnet.
Update of mainnet node to v3.2
before the chain upgrade block is REQUIRED.
Important Information
During one of our pre-hardfork checks, we identified that some of the recent snapshots before Jan 10, 2023 provided by the following sources were created by nodes that were updated incorrectly, resulting in inconsistent data:
- https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- https://defi-snapshots-us.s3.amazonaws.com/index.txt
All of the incorrect snapshots have now been removed from the above sources, regenerated and verified to be correct as of Jan 11, 2023.
Freshly synced nodes with 3.1.x nodes are unaffected and are ready for the Grand Central Epilogue network upgrade. For those that have used any of the above sources to bootstrap the network, please update your nodes from the same sources again.
Recent verified snapshots:
- https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/snapshot-mainnet-2571096.zip
- https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-2571096.zip
- https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/snapshot-mainnet-2571096.zip
- https://defi-snapshots-us.s3.amazonaws.com/snapshot-mainnet-2571096.zip
Upgrade Notes
- For >= 3.1.0, it is a drop in-upgrade.
- 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
). - Fresh sync.
- 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.
- For other nodes, one of the following is required: a fresh sync, the most recent snapshot.
Key highlights
This is planned extension upgrade to 3.1.x that fixes improves protocol stability to ensure the network is ready for enabling the rest of Grand Central features.
Network Snapshot
- [Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- [US] https://defi-snapshots-us.s3.amazonaws.com/index.txt
Merry Christmas! 🎄
Changes
- Convert devnet into mirror testnet by @Bushstar in #1661
- Mint tokens to any address by @shohamc1 in #1650
- On-chain governance fixes by @Jouzo in #1654
- Resolve getcustomtx call with updatemasternode on owner transfer by @Bushstar in #1672
- test: Remove fragile assert_memory_usage_stable by @Bushstar in #1645
- Revert "Update Bitcoin DNS seeds (#1545)" by @Bushstar in #1652
- Set GrandCentralEpilogue release by @prasannavl in #1673
Full Changelog: v3.1.1...v3.2.0
v3.1.1
Recommended Upgrade
This is a recommended update that fixes a crash in 3.0.x that gets the chain to be stuck on valid TXs.
Important Info:
- 3.0.x nodes continue to be supported in the network.
- There is no requirement to upgrade to be a part of the network either to stake or validate.
- The key purpose of v3.1.1 was to align the network quickly and prevent network splits in the interim and synchronise the network.
- The bug was caused due to a missing revert in the implementation for DeFiCh/dfips#228. This feature has now been turned off is not expected to be enabled until the next planned network upgrade.
Upgrade Notes
- For nodes >=3.1.0, it's a drop-in upgrade.
- 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
). - Fresh sync.
- 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.
- For other nodes, one of the following is required: a fresh sync, the most recent snapshot.
Network Snapshot
- [Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/index.txt
- [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/index.txt
- [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/index.txt
- [US] https://defi-snapshots-us.s3.amazonaws.com/index.txt
Network state of mainnet of the current longest chain from https://defiscan.live:
2480535
: 588c270f7c3bcadf355982f395da39caddc8b0018e5c3bd3e2cdfc76ddf9cb24
2480575
: c9166f806ff39b1dba64fb08ccadc16093315455cd7f7109a170030772706313
2480618
: 25017f40f3035e80e9d0748cedac78112b9338dbae01d6a862058a17343924ce
Changes
Misc
Tips:
- To check if you're on the right chain:
defi-cli getblockhash 2480535
- To get on the right chain if you aren't:
$ defi-cli invalidateblock $(defi-cli getblockhash 2480535)
$ defi-cli clearbanned
$ defi-cli reconsiderblock 588c270f7c3bcadf355982f395da39caddc8b0018e5c3bd3e2cdfc76ddf9cb24
v3.0.1 - Grand Central
Mandatory Upgrade
This is a mandatory update for the upcoming Grand Central chain upgrade. It contains key upgrades for the protocol.
Grand Central upgrade is set for block 2479000 (approx. ETA Dec 8th, 2022. UTC) on mainnet.
Update of mainnet node to v3.0.x
before the chain upgrade block is REQUIRED.
Upgrade Notes
- For nodes >= 2.11.1, reindex is recommended but optional.
- What works without reindex: Consensus, fund related contracts are 100% compatible and reindex isn't required.
- What requires reindex: bug fixes for statistical information like
getburninfo
and live attributes. (listgov attrs
). Without reindex, they'll continue to follow older accounting semantics. - 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.
- For other nodes, one of the following is required: a fresh sync, the most recent snapshot.
Key Highlights
- On-chain governance
- Token consortium framework
- Support for masternode parameter updates (owner, operator, reward address)
- Pool commission and reward fixes
Testnet Info
The following are informational updates that apply only for development on testnet:
- Testnet has been rolled back to
1366000
prior to this release. - Reference blockhash of testnet 1366000:
3b353a200ebee7aec49f5acc41d7711ceea7bfa63474d00fcff674a859aa9e13
- 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 1366000)
$ defi-cli -testnet clearbanned
$ defi-cli -testnet reconsiderblock 3b353a200ebee7aec49f5acc41d7711ceea7bfa63474d00fcff674a859aa9e13
What's Changed
- Allow ICX fix on RegTest by @Bushstar in #1479
- Track negative interest in collateral payback by @Bushstar in #1489
- Replace hashlib.ripemd160 with an pure Python implementation by @shohamc1 in #1483
- Update CODEOWNERS by @uzyn in #1498
- Fix compositeswap to use direct pool when available and fix testpoolswap calculation by @Jouzo in #1481
- Exclude accountchange debug category from python test by @Jouzo in #1466
- Do not suppress errors for simple swaps on testpoolswap by @shohamc1 in #1516
- Skip collateral factor check by @shohamc1 in #1515
- Run Dev Build and Jellyfish tests on
epic/*
branches by @shohamc1 in #1527 - Skip jellyfish tests on master by @shohamc1 in #1530
- Add feature flags and GrandCentral fork by @Bushstar in #1538
- Update CI full sync to use available snapshots by @Jouzo in #1523
- Pull bdb, libevent, miniupnpc upstream updates by @prasannavl in #1542
- Unset Governance variables by @Bushstar in #1522
- Add empty string check for tokenTo and tokenFrom in testpoolswap by @shohamc1 in #1544
- Update Bitcoin DNS seeds by @shohamc1 in #1545
- Backport of
Throw error on pairSymbol larger than expected
(#1069) by @shohamc1 in #1546 - Change OP_RETURN data size by @Bushstar in #1520
- Reject swaps when output token does not match toToken by @shohamc1 in #1547
- Update repository on jellyfish test workflow by @hidiego in #1501
- Fix collateral factor not taken into account on vault requirement checks by @hidiego in #1512
- Provide better error message for max pool swaps by @Bushstar in #1484
- Migrate stored Gov var unlock on split by @Bushstar in #1550
- Migrate foundation addresses to Governance variables by @Bushstar in #1540
- Skip token locked check by @hidiego in #1552
- Fix CI deprecation warnings by @Jouzo in #1553
- Run generate-matrix job on ci/sync tag by @Jouzo in #1554
- Poolswap to empty to address swaps to from address making to optional by @Bushstar in #1534
- Add updatemasternode RPC call by @Bushstar in #1537
- Track loan DUSD in live economy by @Bushstar in #1551
- Fix incorrect start index behaviour in listprices RPC by @shohamc1 in #1486
- Track DUSD minted components by @Bushstar in #1487
- On-chain Governance by @Bushstar in #1535
- Add versionSuffix getversioninfo by @hidiego in #1339
- Consortium implementation by @Mixa84 in #1541
- v3.0.0 by @Bushstar in #1555
- Mark Grand Central Testnet by @prasannavl in #1556
- Revert "Add versionSuffix getversioninfo" by @prasannavl in #1557
- Update full sync CI by @Jouzo in #1560
- Fix full sync issues by @Bushstar in #1562
- Do not check cumulative before FCC by @Bushstar in #1559
- Migrate tokens in futures live economy balances by @Bushstar in #1548
- Move Gov var to feature category by @Bushstar in #1567
- Revert change to stake modifier by @Bushstar in #1566
- Discard reconsiderblock failure on full sync CI by @Jouzo in #1563
- Fix percentage support in attributes by @Mixa84 in #1569
- Move test to extended and increase timeout by @Bushstar in #1564
- Full sync CI generate-matrix job remove last available snapshot by @Jouzo in #1570
- Use correct key to computer stake modifier by @Bushstar in #1572
- Mint tokens rules adaptation by @Mixa84 in #1568
- Fix failing test on CI by @Bushstar in #1573
- Throw better errors when invalid global mint limits are set by @shohamc1 in #1574
- Add benchmarking for custom transactions by @Bushstar in #1571
- Allow Consortium mint limits to be zero by @shohamc1 in #1576
- Pool commission and reward fixes by @Bushstar in #1533
- Do not require input from new owner address by @Bushstar in #1575
- Rename minVoters to quorum by @Jouzo in #1578
- Fix minting rule by @Mixa84 in #1580
- Adapt autoauth tests for minttoken changes by @prasannavl in #1581
- Import and export consortium and foundation members as UniValue by @Bushstar in #1579
- Move to clang 14 and add experimental musl builds by @prasannavl in #1422
- Proposal changes by @hidiego in #1577
- Fix CI builds, add rc4, upgrade proto by @prasannavl in #1582
- Add missing ownerAddress to getcustomtx by @Bushstar in #1584
- Send unused emission to address by @Bushstar in #1587
- Add fields to
getgovproposal
by @hidiego in #1583 - Version 3.0.0-rc5 by @prasannavl in #1590
- Fix BurnTokenMessage token accounting by @Mixa84 in #1594
- Enable clang-format on existing code by @prasannavl in #1593
- Print full sync CI info by @Jouzo in #1596
- Rename daliyMintLimit to mintLimitDaily in consortium members by @Mixa84 in #1595
- Fix testpoolswap flaky test assertion by @Jouzo in #1603
- Fix missing env variable in full sync CI by @Jouzo in #1599
- Add proposal creationHeight to listgovproposals and getgovproposal by @Jouzo in #1604
- Add emergencyPeriod and feeBurnPct to chainparams by @Jouzo in #1597
- Save quorum and majorityThreshold in proposal. by @Jouzo in #1607
- On-chain governance refinements and fixes by @prasannavl in #1608
- Set GrandCentral hard fork by @Jouzo in #1600
- Fix coinbase tests by @Bushstar in #1610
- Restore testnet...
v2.11.1
Mandatory Upgrade
This is a mandatory update for the upcoming Fort Canning Epilogue chain upgrade. It contains key upgrades for the protocol.
Fort Canning Epilogue upgrade is set for block 2257500 (approx. ETA Sep 22, 2022 UTC) on mainnet.
Update of mainnet node to v2.11.1
before the chain upgrade block is REQUIRED.
Upgrade Notes
- For nodes >= 2.9.1, this is a drop in upgrade. No reindex 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.
- For other nodes, one of the following is required: a fresh sync, the most recent snapshot.
What’s Changed
🚀 Features
- Update DFI DUSD vault collateral requirement rules @hidiego (#1450)
- Allow payback of DUSD with vault's collateral @Jouzo (#1451)
- Allow higher collateral factor @Bushstar (#1452)
- Add FortCanningEpilogue fork @Bushstar (#1449)
🐛 Bug Fixes
- Jellyfish CI fails on error @Jouzo (#1471)
- ICX token type fix and enable on testnet @shohamc1 (#1467)
- Fall back to 100% if there are no loan schemes @Bushstar (#1472)
- More test fixes @Bushstar (#1463)
- Fix loan tests @Bushstar (#1460)
- Burn interest on PaybackWithCollateral @Jouzo (#1455)
- Fix full sync not being initialized when PR updates ci/label @mambisi (#1457)
- Add negativeinterest to SET_DOC_OPTIONAL @Jouzo (#1456)
- Run full sync on PR labels
consensus
orci/sync
@mambisi (#1453) - Fix payback to account for negative interest @Mixa84 (#1447)
- Allow negative interest value @Bushstar (#1436)
🧰 Maintenance
- Set Epilogue hard fork @Bushstar (#1474)
- Push up testnet ICX enable block @prasannavl (#1475)
- Set testnet fork on 1244000 @Bushstar (#1458)
- Track Negative Interest @Bushstar (#1444)
- Add merge tests and enhance tests framework with helper functions @hidiego (#1442)
- Change deprecated functions @Bushstar (#1438)
- Add Great World alias @Bushstar (#1439)
- Rename GreatWork to FortCanningGreatWorld @Bushstar (#1435)
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.
v2.10.0 - Fort Canning Great World
Mandatory Upgrade
This is a mandatory update for the upcoming Fort Canning Great World chain upgrade. It contains key upgrades for the protocol.
Fort Canning Great World upgrade is set for block 2212000 (approx. ETA Sep 6, 2022 UTC) on mainnet.
Update of mainnet node to v2.10.0
before the chain upgrade block is REQUIRED.
Upgrade Notes
- For nodes >= 2.9.1, this is a drop in upgrade. No reindex 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.
- For other nodes, one of the following is required: a fresh sync, the most recent snapshot.
Key Focus
- Negative interest rate support
What’s Changed
🚀 Features
- Add
logstoredinterests
@prasannavl (#1429) - Negative interest rate support @Bushstar (#1423)
- Parallel testing @mambisi (#1419)
🐛 Bug Fixes
- Zero interest is not negative @Bushstar (#1431)
- Add overflow check on interest rates @prasannavl (#1432)
- Fix clearmempool to clear wallet TX and refactor test rollbacks @hidiego (#1428)
- show debug log on success or failure @mambisi (#1426)
- Explicitly specify Param type in CAmount export @Bushstar (#1418)
- Fix jellyfish test job commands @Jouzo (#1425)
- Log "kernel found" without debug flag @Jouzo (#1420)
- Fix -stop-block and -interrupt-block crashing when used on empty -datadir @Jouzo (#1416)
🧰 Maintenance
- Version 2.10.0 @prasannavl (#1433)
- Update secp256k1 to latest upstream master @Jouzo (#1417)
- Update CODEOWNERS @Jouzo (#1421)
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.