Releases: Martin8617/Defi-Node-for-Raspberry-Pi
v4.x.x
v3.2.8
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
Recommended Upgrade
🔑 Key Highlights
-
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:
🔢 Network Snapshots
- [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
🚀 Features
- Add RPC metadata capability and coin selection options by @prasannavl in DeFiCh/ain#1808
- Cleanup Github labels, bots, review by @shohamc1 in DeFiCh/ain#1493
- Switch assert to propogating error so it doesn't crash on corrupt data by @prasannavl in DeFiCh/ain#1809
- Fix GetDecimalString typo by @prasannavl in DeFiCh/ain#1812
- Rename CLoanCollaterals to CVaultAssets by @prasannavl in DeFiCh/ain#1811
- In CreateTransaction pass coinSelectOpts to AvailableCoin. Remove dead code. by @Bushstar in DeFiCh/ain#1814
- Workflows cleanup by @prasannavl in DeFiCh/ain#1813
- Update error text for utxostoaccount test by @Bushstar in DeFiCh/ain#1816
- Remove Require from governance attributes by @Bushstar in DeFiCh/ain#1819
- net: rate limit the processing of incoming addr messages by @Bushstar in DeFiCh/ain#1818
- Replace more require usages by @Bushstar in DeFiCh/ain#1822
- Switch to std::shuffle by @Jouzo in DeFiCh/ain#1823
- Adds coin select flags to defid with option to override from CLI by @Jouzo in DeFiCh/ain#1820
- Add sleep in batchvote rpc by @prasannavl in DeFiCh/ain#1810
- Move sleep-time from node argument to rpc argument by @DocteurPing in DeFiCh/ain#1826
- Version 3.2.8 by @dcorral in DeFiCh/ain#1825
✔️ Commits
- Full Changelog:
v3.2.7...v3.2.8
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v3.2.7
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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 DeFiCh/ain#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.
🔁 RPC Changes
- Undocumented API for advanced uses only:
votegovbatch
📓 Additional Notes
- While this release includes many performance improvements, a consequence of DeFiCh/ain#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 Snapshots
- [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
🚀 Features
- Update listtransactions help dialogue by @shohamc1 in DeFiCh/ain#1785
- Cache getblockchaininfo result by @Jouzo in DeFiCh/ain#1791
- Add support for batch generation of voting TXs by @Bushstar in DeFiCh/ain#1786
- rpc: getburninfo performance improvements by @prasannavl in DeFiCh/ain#1788
- Remove int type warning by @Mixa84 in DeFiCh/ain#1793
- Add missing CalculateOwnerRewards calls by @Bushstar in DeFiCh/ain#1766
- Restore ForEachAccount by @Bushstar in DeFiCh/ain#1789
- Fix getburninfo memoization by @prasannavl in DeFiCh/ain#1796
- Fix CLockFreeGuard, introduce AtomicMutex by @prasannavl in DeFiCh/ain#1797
- Introduce a generic thread-safe buffer pool by @prasannavl in DeFiCh/ain#1798
- Switch getburninfo to use BufferPool by @prasannavl in DeFiCh/ain#1799
- Track reward addresses in settings by @Bushstar in DeFiCh/ain#1802
- Eliminate the use of CLockFreeGuard with AtomicMutex by @prasannavl in DeFiCh/ain#1800
- Test framework: Initial impl of exhaustive state verification with rollback by @dcorral in DeFiCh/ain#1713
- Add concurrency to liquidated vault validation by @prasannavl in DeFiCh/ain#1803
- Abstract errors by @prasannavl in DeFiCh/ain#1804
- Add lock before vault liquidation by @Jouzo in DeFiCh/ain#1806
- Add scope to lock by @Bushstar in DeFiCh/ain#1807
- Version 3.2.7 by @dcorral in DeFiCh/ain#1790
✔️ Commits
- Full Changelog:
v3.2.6...v3.2.7
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v3.2.5
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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:
- Related to https://github.com/DeFiCh/ain/issues/1730 (DeFiCh/ain#1755, DeFiCh/ain#1758, DeFiCh/ain#1769, DeFiCh/ain#1768, DeFiCh/ain#1757)
- Thread pool and concurrency optimizations (DeFiCh/ain#1773, DeFiCh/ain#1762, DeFiCh/ain#1765)
- Broad-spectrum CI and testing fixes (DeFiCh/ain#1772, DeFiCh/ain#1744)
📓 Upgrade Notes
- For >= 3.2.0 and <= 3.2.4, 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: DeFiCh/ain#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.
🔢 Network Snapshots
- [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
🚀 Features
- 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.
🔑 Key Highlights
- Resolve functional test failure by @Bushstar in DeFiCh/ain#1744
- Allow object to be empty in listgovproposals and listgovproposalvotes by @shohamc1 in DeFiCh/ain#1749
- Add auto transaction ordering support by @shohamc1 in DeFiCh/ain#1754
- Replace Require strings with lambdas by @Bushstar in DeFiCh/ain#1755
- Use if conditionals in amount by @Bushstar in DeFiCh/ain#1757
- Add
-txordering
flag: support for miners to switch TX ordering by @shohamc1 in DeFiCh/ain#1759 - Multi-threaded getburninfo by @Bushstar in DeFiCh/ain#1762
- Refactor
-txordering
to remove multiple GetArg calls by @shohamc1 in DeFiCh/ain#1761 - Add DeFiErrors abstraction for error messages by @prasannavl in DeFiCh/ain#1758
- Do not allow non-DAT consortium attributes to be set by @shohamc1 in DeFiCh/ain#1718
- Disconnect nodes in rollback_to by @Bushstar in DeFiCh/ain#1752
- Revert Require to simple if branches on payback hotpaths by @DocteurPing in DeFiCh/ain#1769
- Revert to if conditional for Add/Sub by @Bushstar in DeFiCh/ain#1768
- Remove usage of ForEachAccount by @shohamc1 in DeFiCh/ain#1765
- Add rollback diff to full sync CI by @Jouzo in DeFiCh/ain#1723
- Add checkpoint for mainnet and testnet by @DocteurPing in DeFiCh/ain#1770
- Limit parallel script processing thread pool to 4 by default by @prasannavl in DeFiCh/ain#1764
- Add thread pool to improve performance of multi-threading by @Bushstar in DeFiCh/ain#1773
- Bump jellyfish-workflow settings by @fuxingloh in DeFiCh/ain#1772
- Version 3.2.5 by @Bushstar in DeFiCh/ain#1753
- Reverts of Require in Sub/Add Balances by @prasannavl in DeFiCh/ain#1774
- Fix for multi-threaded getburninfo by @prasannavl in DeFiCh/ain#1775
✔️ Commits
Full Changelog: v3.2.4...v3.2.5
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v3.2.4
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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, 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. - 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.
What’s Changed
🚀 Features
- Display vote validity in listgovproposals and add validity filter @shohamc1 (DeFiCh/ain#1740)
- Display aggregate vote stats in
listgovproposalvotes
@shohamc1 (DeFiCh/ain#1714) - Display vote validity in
listgovproposals
and add validity filter @shohamc1 (DeFiCh/ain#1725) - rpc: votegov: Add support for owner and operator address @DocteurPing (DeFiCh/ain#1717)
- Add more voting info in getgovproposal rpc @Mixa84 (DeFiCh/ain#1729)
🐛 Bug Fixes
- Fix staker crash on invalidateblock @Bushstar (DeFiCh/ain#1741)
- Fix getcustomtx crash on mempool transaction @Bushstar (DeFiCh/ain#1742)
- Add checkpoints to testnet/devnet @Bushstar (DeFiCh/ain#1738)
- Remove positive amount on close vault @Bushstar (DeFiCh/ain#1712)
- Change first parameter of listgovproposals and listgovproposalvotes to be string and parsed as JSON in rpc @Mixa84 (DeFiCh/ain#1732)
- Track Add/SubVaultCollateral in vault history @Bushstar (DeFiCh/ain#1715)
- Move CHistoryWriter into CCustomCSView @Bushstar (DeFiCh/ain#1700)
🧰 Maintenance
- v3.2.4 @Bushstar (DeFiCh/ain#1745)
- Addapt fee redistribution test to current situation @Mixa84 (DeFiCh/ain#1728)
🔁 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.
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
Issues
Please report any issues to engineering@defichain.com, or reach out to is via Telegram or Reddit.
v3.2.1
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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
🚧 Important Information
During one of our pre-hardfork checks, we identified that some of the recent snapshots 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.
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
What’s Changed
🔁 Change
- Add more examples in minttokens help dialogue by @shohamc1 in DeFiCh/ain#1677
- Add test for changing voting period before previous period ending. by @Mixa84 in DeFiCh/ain#1660
- Input validation of creategovvoc and creategovcfp by @Jouzo in DeFiCh/ain#1647
- Change ordering of TXs by time by @Bushstar in DeFiCh/ain#1613
- Prevent consortium being set on loan token or DFI by @Bushstar in DeFiCh/ain#1649
- Add pagination support for listgovproposalvotes by @shohamc1 in DeFiCh/ain#1635
- SPV: update testnet seed nodes by @Bushstar in DeFiCh/ain#1682
- Fix accounting of burntoken tx in getburninfo by @Mixa84 in DeFiCh/ain#1659
- Add cycle filtering and pagination to listgovproposals by @dcorral in DeFiCh/ain#1627
- v3.2.1 by @Bushstar in DeFiCh/ain#1681
✔️ Commits
Full Changelog: v3.2.0...v3.2.1
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v3.2.0
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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.0
before the chain upgrade block is REQUIRED.
📓 Upgrade Notes
- For nodes >= 3, 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
🔑 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.
🔁 Change
- Convert devnet into mirror testnet by @Bushstar in DeFiCh/ain#1661
- Mint tokens to any address by @shohamc1 in DeFiCh/ain#1650
- On-chain governance fixes by @Jouzo in DeFiCh/ain#1654
- Resolve getcustomtx call with updatemasternode on owner transfer by @Bushstar in DeFiCh/ain#1672
- test: Remove fragile assert_memory_usage_stable by @Bushstar in DeFiCh/ain#1645
- Revert "Update Bitcoin DNS seeds (DeFiCh/ain#1545)" by @Bushstar in DeFiCh/ain#1652
- Set GrandCentralEpilogue release by @prasannavl in DeFiCh/ain#1673
✔️ Commits
Full Changelog: v3.1.1...v3.2.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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v3.1.1
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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 Snapshots
- [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
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
🐛 Bug Fixes
- Version v3.1.1 (DeFiCh/ain#1642)
- Add undo in
ReversGeneralCoinbaseTx()
(DeFiCh/ain#1641)
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v3.0.1
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code @Martin8617
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.
What’s Changed
🔑 Key Highlights
- On-chain governance
- Token consortium framework
- Support for masternode parameter updates (owner, operator, reward address)
- Pool commission and reward fixes
✔️ Commits
The full list of all changes you can find at DeFiCh/ain/releases
Full Changelog: v2.11.1...v3.0.1
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.
v2.11.1
- Defi Node for Raspberry Pi created with official Raspberry Pi OS bullseye (32-bit) as armv7l
- Defi Node for Raspberry Pi created with Raspberry Pi OS bullseye (64-bit) as arm64
Information copied from DeFiCh/ain/releases
Compiled from Source code with Raspberry Pi OS (bullseye) @Martin8617
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 (DeFiCh/ain#1450)
- Allow payback of DUSD with vault's collateral @Jouzo (DeFiCh/ain#1451)
- Allow higher collateral factor @Bushstar (DeFiCh/ain#1452)
- Add FortCanningEpilogue fork @Bushstar (DeFiCh/ain#1449)
🐛 Bug Fixes
- Jellyfish CI fails on error @Jouzo (DeFiCh/ain#1471)
- ICX token type fix and enable on testnet @shohamc1 (DeFiCh/ain#1467)
- Fall back to 100% if there are no loan schemes @Bushstar (DeFiCh/ain#1472)
- More test fixes @Bushstar (DeFiCh/ain#1463)
- Fix loan tests @Bushstar (DeFiCh/ain#1460)
- Burn interest on PaybackWithCollateral @Jouzo (DeFiCh/ain#1455)
- Fix full sync not being initialized when PR updates ci/label @mambisi (DeFiCh/ain#1457)
- Add negativeinterest to SET_DOC_OPTIONAL @Jouzo (DeFiCh/ain#1456)
- Run full sync on PR labels consensus or ci/sync @mambisi (DeFiCh/ain#1453)
- Fix payback to account for negative interest @Mixa84 (DeFiCh/ain#1447)
- Allow negative interest value @Bushstar (DeFiCh/ain#1436)
🧰 Maintenance
- Set Epilogue hard fork @Bushstar (DeFiCh/ain#1474)
- Push up testnet ICX enable block @prasannavl (DeFiCh/ain#1475)
- Set testnet fork on 1244000 @Bushstar (DeFiCh/ain#1458)
- Track Negative Interest @Bushstar (DeFiCh/ain#1444)
- Add merge tests and enhance tests framework with helper functions @hidiego (DeFiCh/ain#1442)
- Change deprecated functions @Bushstar (DeFiCh/ain#1438)
- Add Great World alias @Bushstar (DeFiCh/ain#1439)
- Rename GreatWork to FortCanningGreatWorld @Bushstar (DeFiCh/ain#1435)
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
.
💻 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/Martin8617/Defi-Wallet-for-Raspberry-Pi/releases for the latest releases.