Releases: DeFiCh/ain
v4.0.0-rc1
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
- Correction to renamed forks by @Bushstar in #2583
- EVM: Add multiple transferdomain miner test by @sieniven in #2585
- Replace testnet checkpoints by @Bushstar in #2587
- Set testnet fork heights to 1.2m by @Bushstar in #2588
- v4.0.0-rc1 by @Bushstar in #2589
- Remove Require usage by @Bushstar in #2582
- Reduce testnet fork height to 1.15m by @Bushstar in #2593
- Disable consortium after metachain by @Bushstar in #2591
- EVM: Remove error log on mempool rejection for EVM txs by @sieniven in #2590
- v4.0.0-rc1 by @Bushstar in #2594
- Add testnet seed node by @Bushstar in #2596
Full Changelog: v4.0.0-beta15...v4.0.0-rc1
v3.2.8
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.
- Rate limit ADDR P2P messages.
- 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
anddefid
:- Added:
walletfastselect
walletcoinoptskipsolvable
walletcoinopteagerselect
- Added:
defid
:- Added:
maxaddrratepersecond
maxaddrprocessingtokenbucket
- Added:
RPC Changes
getpeerinfo
:- Added:
addr_processed
addr_rate_limited
- Added:
Additional Notes
- None
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 RPC metadata capability and coin selection options by @prasannavl in #1808
- Cleanup Github labels, bots, review by @shohamc1 in #1493
- Switch assert to propogating error so it doesn't crash on corrupt data by @prasannavl in #1809
- Fix GetDecimalString typo by @prasannavl in #1812
- Rename CLoanCollaterals to CVaultAssets by @prasannavl in #1811
- In CreateTransaction pass coinSelectOpts to AvailableCoin. Remove dead code. by @Bushstar in #1814
- Workflows cleanup by @prasannavl in #1813
- Update error text for utxostoaccount test by @Bushstar in #1816
- Remove
Require
from governance attributes by @Bushstar in #1819 - net: rate limit the processing of incoming addr messages by @Bushstar in #1818
- Replace more require usages by @Bushstar in #1822
- Switch to std::shuffle by @Jouzo in #1823
- Adds coin select flags to defid with option to override from CLI by @Jouzo in #1820
- Add sleep in batchvote rpc by @prasannavl in #1810
- Move sleep-time from node argument to rpc argument by @DocteurPing in #1826
- Version 3.2.8 by @dcorral in #1825
Full Changelog: v3.2.7...v3.2.8
v3.2.7
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
- Fixes missing tokens on the balance RPCs in edge cases even though consensus level balances were unaffected.
- 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
andgettokenbalances
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
- [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
- Update listtransactions help dialogue by @shohamc1 in #1785
- Cache getblockchaininfo result by @Jouzo in #1791
- Add support for batch generation of voting TXs by @Bushstar in #1786
- rpc: getburninfo performance improvements by @prasannavl in #1788
- Remove int type warning by @Mixa84 in #1793
- Add missing CalculateOwnerRewards calls by @Bushstar in #1766
- Restore ForEachAccount by @Bushstar in #1789
- Fix getburninfo memoization by @prasannavl in #1796
- Fix CLockFreeGuard, introduce AtomicMutex by @prasannavl in #1797
- Introduce a generic thread-safe buffer pool by @prasannavl in #1798
- Switch getburninfo to use BufferPool by @prasannavl in #1799
- Track reward addresses in settings by @Bushstar in #1802
- Eliminate the use of CLockFreeGuard with AtomicMutex by @prasannavl in #1800
- Test framework: Initial impl of exhaustive state verification with rollback by @dcorral in #1713
- Add concurrency to liquidated vault validation by @prasannavl in #1803
- Abstract errors by @prasannavl in #1804
- Add lock before vault liquidation by @Jouzo in #1806
- Add scope to lock by @Bushstar in #1807
- Version 3.2.7 by @dcorral in #1790
Full Changelog: v3.2.6...v3.2.7
v3.2.6
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 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
- None
RPC Changes
- None
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 more consistent checkpoints by @Bushstar in #1781
- tests: mint multiple tokens to an address by @Bushstar in #1779
- gettokenbalances should only return spendable amounts by @Bushstar in #1780
- Change proposal approval threshold by @Mixa84 in #1711
- Version 3.2.6 by @prasannavl in #1782
Full Changelog: v3.2.5...v3.2.6
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