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