Repository navigation
Releases
dcrd v2.1.7
This is a patch release of dcrd that includes the following notable changes:
- Several fixes for network and mixing-related denial-of-service (DoS) attacks
- Improved mixing performance
- Resolves a memory leak that accumulates slowly over time
- Corrects the test network initial synchronization issue introduced in v2.1.6
- Adds extensive safeguards against unexpected transaction spends
Upgrade Highly Recommended
Miners, stakeholders, and anyone running a full node are strongly encouraged to upgrade to this release. It includes multiple fixes for potential denial-of-service (DoS) attacks that could disrupt node operation.
Miners, in particular, are at risk of having their template generation stalled.
Spend Safeguards
In response to the previous inflation bug, this release adds extensive safeguards designed to detect unexpected transaction spends that should not be possible. When these safeguards detect certain unexpected conditions, the affected node will shut down rather than continue operating in a potentially unsafe state.
These safeguards would have prevented the previous inflation bug by causing all affected nodes to halt when they encountered the invalid spend. They are also designed to catch a broader range of potential problems that could otherwise go unnoticed.
Changelog
This patch release consists of 87 commits from 6 contributors which total to 161 files changed, 7389 additional lines of code, and 4543 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- [release-v2.1] wire: Reject invalid tx trees early (decred/dcrd#3829)
- [release-v2.1] blockchain: Allow testnet3 sbss violation (decred/dcrd#3832)
- [release-v2.1] blockchain: Add active agenda anchors (decred/dcrd#3832)
- [release-v2.1] blockchain: Add basic historical agenda support (decred/dcrd#3832)
- [release-v2.1] blockchain: Early data commitment checks (decred/dcrd#3832)
- [release-v2.1] netsync: Reset sync height on new sync peer (decred/dcrd#3832)
Transaction relay (memory pool):
- [release-v2.1] mempool: Reject flagged mixing UTXO spends (decred/dcrd#3832)
- [release-v2.1] mempool: Track votes via separate vote tracker (decred/dcrd#3832)
- [release-v2.1] mempool: Reject votes too far in the future (decred/dcrd#3832)
- [release-v2.1] mempool: Reject bad block votes early (decred/dcrd#3832)
- [release-v2.1] mempool: Reject ineligible ticket votes early (decred/dcrd#3832)
- [release-v2.1] mempool: Prune old vote metadata (decred/dcrd#3832)
Mixing message relay (mix pool):
- [release-v2.1] mixpool: Refactor activeInEpoch to scale linearly (decred/dcrd#3831)
- [release-v2.1] mixpool: Reject distinct KEs with same identity and session (decred/dcrd#3831)
- [release-v2.1] mixpool: Reject KEs with epochs too far in past (decred/dcrd#3831)
- [release-v2.1] mixpool: Limit max messages per single mixing identity (decred/dcrd#3831)
- [release-v2.1] mixpool: Require KE epoch to be a minute multiple (decred/dcrd#3831)
- [release-v2.1] mixing: Allow more than mixing.MaxPeers in KE messages (decred/dcrd#3831)
dcrd command-line flags and configuration:
- [release-v2.1] config: Correct --profile port range in help (decred/dcrd#3832)
Developer-related package and module changes:
- [release-v2.1] wire: fix function name in comment to match actual function (decred/dcrd#3829)
- [release-v2.1] multi: Fix godoc comment var/func names (decred/dcrd#3829)
- [release-v2.1] wire: Clarify some payload size names (decred/dcrd#3829)
- [release-v2.1] wire: Add SerializeSize to Message interface (decred/dcrd#3829)
- [release-v2.1] wire: Always use accurate SerializeSize (decred/dcrd#3829)
- [release-v2.1] blockchain/stake: Local consts for req script vers (decred/dcrd#3830)
- [release-v2.1] blockchain/stake: Cleanup treasury add code (decred/dcrd#3830)
- [release-v2.1] blockchain/stake: Cleanup treasury spend code (decred/dcrd#3830)
- [release-v2.1] blockchain/stake: Cleanup treasurybase code (decred/dcrd#3830)
- [release-v2.1] tickettreap: Fix off-by-one in getByIndex (decred/dcrd#3830)
- [release-v2.1] stake: Correct off by one in revoke create helper (decred/dcrd#3830)
- [release-v2.1] mixclient: remove shadowed roots declaration (decred/dcrd#3831)
- [release-v2.1] mixclient: Remove unnecessary len check (decred/dcrd#3831)
- [release-v2.1] mixclient: Add missing genDicemixKeys err handling (decred/dcrd#3831)
- [release-v2.1] mixclient: Check SR mix dimensions before recovering pads (decred/dcrd#3831)
- [release-v2.1] mixclient: Use shorter 10s stage timeout on testnet (decred/dcrd#3831)
- [release-v2.1] blockchain: Always check size and merkle root (decred/dcrd#3832)
- [release-v2.1] blockchain: Fix variable shadowing bugs (decred/dcrd#3832)
- [release-v2.1] blockchain: Correct a couple of mutexes (decred/dcrd#3832)
- [release-v2.1] blockchain: Separate agenda and deployment prep (decred/dcrd#3832)
- [release-v2.1] blockchain: Consolidate determining active agenda (decred/dcrd#3832)
- [release-v2.1] blockchain: Consolidate stake diff agenda (decred/dcrd#3832)
- [release-v2.1] blockchain: Consolidate max block size agenda (decred/dcrd#3832)
- [release-v2.1] blockchain: Use choice id in threshold state tuple (decred/dcrd#3832)
- [release-v2.1] blockchain: Separate agenda and deployment logic (decred/dcrd#3832)
- [release-v2.1] blockchain: Add default required agendas (decred/dcrd#3832)
- [release-v2.1] blockchain: Process block headers before data (decred/dcrd#3832)
- [release-v2.1] blockchain: Deduplicate merkle root checks (decred/dcrd#3832)
- [release-v2.1] mempool: Consolidate chain error wrapping (decred/dcrd#3832)
- [release-v2.1] blockchain: Remove incorrect cache assertion (decred/dcrd#3832)
- [release-v2.1] blockchain: Combine single and range txout add (decred/dcrd#3832)
- [release-v2.1] blockchain: Improve stake spend violation handling (decred/dcrd#3832)
- [release-v2.1] blockchain: Consolidate zero conf tx detection (decred/dcrd#3832)
- [release-v2.1] blockchain: Use panics for utxoview/cache asserts (decred/dcrd#3832)
- [release-v2.1] blockchain: Add additional utxo assertions (decred/dcrd#3832)
Developer-related module management:
- [release-v2.1] wire: Prepare v1.8.0 (decred/dcrd#3829)
- [release-v2.1] main: Use backported wire updates (decred/dcrd#3829)
- [release-v2.1] blockchain/stake: Prepare v5.0.3 (decred/dcrd#3830)
- [release-v2.1] main: Use backported stake updates (decred/dcrd#3830)
- [release-v2.1] mixing: Prepare v0.7.5 (decred/dcrd#3831)
- [release-v2.1] main: Use backported mixing updates (decred/dcrd#3831)
Testing and Quality Assurance:
- [release-v2.1] wire: Rename assertion and remove return (decred/dcrd#3829)
- [release-v2.1] wire: Add tests for MsgGetMiningState (decred/dcrd#3829)
- [release-v2.1] wire: Add outpoint read/write tests (decred/dcrd#3829)
- [release-v2.1] blockchain/stake: Consolidate and add script tests (decred/dcrd#3830)
- [release-v2.1] blockchain/stake: Re...
dcrd v2.1.6
This is a patch release of dcrd which includes the following changes:
- Critical consensus-related security fix
- Prevents a potential periodic deanonymization mixing attack
- Several fixes for potential network-related denial-of-service (DoS) attacks
- Improved mixing session expiry
Upgrade Mandatory
This release contains a fix for a critical consensus-related security vulnerability. Everyone is required to upgrade or risk being forked from the network. This is particularly important for individual stakeholders, Voting Service Providers, PoW miners, and exchanges.
Changelog
This patch release consists of 23 commits from 3 contributors which total to 20 files changed, 795 additional lines of code, and 392 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- [release-v2.1] server: Ban miningstate msgs on old protocol vers (decred/dcrd#3770)
- [release-v2.1] server: Ban peers for multiple initial state msgs (decred/dcrd#3770)
- [release-v2.1] netsync: Limit manual request maps (decred/dcrd#3770)
- [release-v2.1] blockchain: Explicitly reject sb stake spends (decred/dcrd#3770)
Mixing message relay (mix pool):
- [release-v2.1] mixpool: Properly calculate session expiry (decred/dcrd#3766)
Developer-related package and module changes:
- [release-v2.1] standalone: Reject bad input values in tx sanity (decred/dcrd#3767)
- [release-v2.1] blockchain: Early null revocation input check (decred/dcrd#3770)
- [release-v2.1] netsync: Mark blocks as known via headers (decred/dcrd#3770)
- [release-v2.1] blockchain: Cleanup proof of stake checks (decred/dcrd#3770)
- [release-v2.1] blockchain: New add funcs with overflow detection (decred/dcrd#3770)
- [release-v2.1] multi: Unsigned sigop counts and cleaner overflow (decred/dcrd#3770)
- [release-v2.1] blockchain: Enforce trsybase fee in inputs check (decred/dcrd#3770)
- [release-v2.1] blockchain: Enforce trsy spend amt in input checks (decred/dcrd#3770)
- [release-v2.1] blockchain: Don't recalculate stake tree fees (decred/dcrd#3770)
- [release-v2.1] blockchain: Cleanup tx input and fee overflow (decred/dcrd#3770)
- [release-v2.1] blockchain: Reduce in-flight utxo add cost to O(1) (decred/dcrd#3770)
Developer-related module management:
- [release-v2.1] main: Use backported mixing updates (decred/dcrd#3766)
- [release-v2.1] main: Use backported standalone updates (decred/dcrd#3766)
- [release-v2.1] main: Use backported blockchain updates (decred/dcrd#3770)
Testing and Quality Assurance:
- [release-v2.1] standalone: Add tests for new sanity checks (decred/dcrd#3767)
- [release-v2.1] blockchain: Add tests for new add funcs (decred/dcrd#3770)
- [release-v2.1] blockchain: Add a couple of trsybase corner tests (decred/dcrd#3770)
Misc:
- [release-v2.1] release: Bump for 2.1.6 (decred/dcrd#3772)
Code Contributors (alphabetical order):
- Dave Collins
- Jamie Holdstock
- Josh Rickmar
dcrd v2.1.5
This is a patch release of dcrd which includes the following changes:
- Correct a potential node crash that only affects the v2.1.4 release
- Coins excluded from a mixing session that exceeds new limits are no longer greylisted
Changelog
This patch release consists of 4 commits from 2 contributors which total to 5 files changed, 36 additional lines of code, and 35 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- [release-v2.1] server: Revert Don't consider services before handshake (decred/dcrd#3670)
Mixing message relay (mix pool):
- [release-v2.1] mixpool: Avoid greylist strikes on size excluded peers (decred/dcrd#3675)
Developer-related module management:
- [release-v2.1] main: Use backported mixing updates (decred/dcrd#3675)
Misc:
- [release-v2.1] release: Bump for 2.1.5 (decred/dcrd#3671)
Code Contributors (alphabetical order):
- Dave Collins
- Josh Rickmar
dcrd v2.1.4
This is a patch release of dcrd which includes the following main changes:
- Various fixes for potential denial-of-service attacks
- RPC server now additionally rejects cross origin requests from reverse proxies
- RPC server auth behavior for limit users with an extremely unlikely combination of config settings now behaves as intended
- Peers will no longer consider services before handshake completion
- Reduced memory allocations for peer-to-peer network operations
- More efficient use of mixing message dimensions
- Improved handling of mixing message orphans
Upgrade Highly Recommended
Everyone is strongly encouraged to upgrade their software to this latest patch release. It contains various fixes for potential denial-of-service (DoS) attacks that could possibly be used by malicious actors to disrupt service.
Changelog
This patch release consists of 46 commits from 3 contributors which total to 51 files changed, 2176 additional lines of code, and 1142 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- [release-v2.1] wire: Optimize writes to bytes.Buffer (decred/dcrd#3658)
- [release-v2.1] wire: Optimize writes to hashers (decred/dcrd#3658)
- [release-v2.1] wire: Clamp max allowed timestamp values (decred/dcrd#3658)
- [release-v2.1] wire: Optimize message reads (decred/dcrd#3658)
- [release-v2.1] wire: Reject messages with trailing bytes (decred/dcrd#3658)
- [release-v2.1] server: Don't consider services before handshake (decred/dcrd#3660)
Mixing message relay (mix pool):
- [release-v2.1] mixing: Optimize message signing and sig verification (decred/dcrd#3659)
- [release-v2.1] mixpool: Implement message source tracking (decred/dcrd#3659)
- [release-v2.1] mixpool: Proactive orphan limit eviction (decred/dcrd#3659)
- [release-v2.1] mixing: Impose stricter message limits (decred/dcrd#3659)
- [release-v2.1] mixpool: Reject PRs duplicating inputs (decred/dcrd#3659)
RPC:
- [release-v2.1] rpcserver: Clean up existing authentication tests (decred/dcrd#3660)
- [release-v2.1] rpcserver: Ensure limited user is always limited (decred/dcrd#3660)
- [release-v2.1] rpcserver: Fix CheckOrigin inverted err check (decred/dcrd#3660)
Developer-related package and module changes:
- [release-v2.1] wire: Encode header and payload to single buffer (decred/dcrd#3658)
- [release-v2.1] wire: Do not read discarded input (decred/dcrd#3658)
- [release-v2.1] wire: Fix {read,write}Element *[4]byte case (decred/dcrd#3658)
- [release-v2.1] wire: Remove unnecessary nil check from test (decred/dcrd#3658)
- [release-v2.1] wire: Clear tx inputs/outputs before deserialize (decred/dcrd#3658)
- [release-v2.1] wire: Use io.ReadFull in shortRead slow path (decred/dcrd#3658)
- [release-v2.1] mixing: Remove reference to x25519 (decred/dcrd#3659)
- [release-v2.1] mixing: Avoid hash.Hash and Sum(nil) calls (decred/dcrd#3659)
- [release-v2.1] rpcserver: Rename mix msg acceptance iface method (decred/dcrd#3659)
- [release-v2.1] mixpool: Use slices for containment check (decred/dcrd#3659)
- [release-v2.1] mixpool: Rename orphan type to orphanMsg (decred/dcrd#3659)
- [release-v2.1] mixpool: Consolidate orphan addition (decred/dcrd#3659)
- [release-v2.1] mixpool: Consolidate orphan removal (decred/dcrd#3659)
- [release-v2.1] mixpool: Store orphan struct vs msg in id map (decred/dcrd#3659)
- [release-v2.1] blockchain: Cleanup input checks (decred/dcrd#3660)
- [release-v2.1] mixing: Make MaxMixAmount a typed int64 const (decred/dcrd#3664)
- [release-v2.1] mixing: Fix P2SH script check (decred/dcrd#3665)
Developer-related module management:
- [release-v2.1] wire: Prepare v1.7.4 (decred/dcrd#3658)
- [release-v2.1] main: Use backported wire updates (decred/dcrd#3658)
- [release-v2.1] main: Use backported mixing updates (decred/dcrd#3659)
- [release-v2.1] main: Use backported mixing updates (decred/dcrd#3664)
- [release-v2.1] main: Use backported mixing updates (decred/dcrd#3665)
Testing and Quality Assurance:
- [release-v2.1] wire: Add a couple of missing err stringer tests (decred/dcrd#3658)
- [release-v2.1] wire: Add tests for short reads (decred/dcrd#3658)
- [release-v2.1] wire: Improve read message error path tests (decred/dcrd#3658)
- [release-v2.1] mixing/utxoproof: Add benchmarks (decred/dcrd#3659)
- [release-v2.1] mixing: Add signature tests and benchmarks (decred/dcrd#3659)
- [release-v2.1] mixing: Increment PRNG seed nonce for each test (decred/dcrd#3659)
- [release-v2.1] mixclient: Disable logs to backend after test finish (decred/dcrd#3659)
- [release-v2.1] mixclient: Avoid test hangs caused by epoch ticker (decred/dcrd#3659)
Misc:
- [release-v2.1] server: Update mempool orphan eviction debug log (decred/dcrd#3659)
- [release-v2.1] release: Bump for 2.1.4 (decred/dcrd#3661)
Code Contributors (alphabetical order):
- Dave Collins
- Jamie Holdstock
- Josh Rickmar
dcrd v2.1.3
This is a patch release of dcrd to bump the version number to match the rest of the core Decred software suite.
There is no functional change as compared to v2.1.2.
dcrd v2.1.2
This is a patch release of dcrd which includes the following changes:
- Reduced memory allocations for peer-to-peer network operations
Changelog
This patch release consists of 3 commits from 2 contributors which total to 28
files changed, 176 additional lines of code, and 106 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Developer-related package and module changes:
- [release-v2.1] wire: Pass pointers by interface to writeElement (decred/dcrd#3582)
Developer-related module management:
- [release-v2.1] main: Use backported wire updates (decred/dcrd#3582)
Misc:
- [release-v2.1] release: Bump for 2.1.2 (decred/dcrd#3583)
Code Contributors (alphabetical order):
- Dave Collins
- Josh Rickmar
dcrd v2.1.1
This is a patch release of dcrd to bump the version number to match the rest of the core Decred software suite.
There is no functional change as compared to v2.1.0.
dcrd v2.1.0
This is a new major release of dcrd. Some of the key highlights are:
- A new consensus vote agenda which allows the stakeholders to decide whether or not to activate a new decentralized treasury maximum expenditure policy
- Exclusion timeouts for disruptive StakeShuffle mixing participants
- Less bandwidth usage for StakeShuffle mixing messages
- Configurable maximum overall memory usage limit
- Higher network throughput
- Faster address decoding
- Hardware optimizations for hashes
- Various updates to the RPC server
- IPv6 zone support
- New JSON-RPC API additions for dynamic profiling server control
- Discrete mining cancellation support
- Infrastructure improvements
- Miscellaneous network and protocol optimizations
- Quality assurance changes
For those unfamiliar with the voting process in Decred, all code needed in order to support each of the aforementioned consensus changes is already included in this release, however it will remain dormant until the stakeholders vote to activate it.
For reference, the consensus change work was originally proposed and approved for initial implementation via the following Politeia proposal:
The following Decred Change Proposal (DCP) describes the proposed changes in detail and provides full technical specifications:
Upgrade Required
It is extremely important for everyone to upgrade their software to this latest release even if you don't intend to vote in favor of the agenda. This particularly applies to PoW miners as failure to upgrade will result in lost rewards after block height 1035288. That is estimated to be around December 9th, 2025.
Notable Changes
New Treasury Maximum Expenditure Policy Vote
A consensus change vote with the id maxtreasuryspend is now available as of this release. After upgrading, stakeholders may set their preferences through their wallet.
The primary goals of this change are to:
- Provide a maximum expenditure policy that is stable for the long term while retaining the primary motivations for having a maximum expenditure policy
- Serve as a preemptive measure to avoid the current overly-restrictive spending limits from potentially resulting in issues with funding ongoing operations
See the following for more details:
Exclusion Timeouts for Disruptive StakeShuffle Mixing Participants
Coins participating in decentralized StakeShuffle mixing that are excluded from ongoing mixes due to failing to complete the entire protocol too many times are now prohibited from participating in any new mixes for a certain period of time.
The exclusion timeout is a matter of policy that may be refined in the future. It is currently set to 24 hours.
This change improves the overall robustness of the system and helps ensure smooth operation for all honest participants in the event of misbehavior, intentional or otherwise.
Less Bandwidth Usage for StakeShuffle Mixing Messages
This release includes various changes to reduce the amount of bandwidth required for decentralized StakeShuffle mixing by approximately 15%.
Aside from generally improving efficiency, it provides the key benefit of lowering the overall resource requirements for full nodes running in bandwidth-constrained environments.
Configurable Maximum Overall Memory Usage Limit
The server automatically calculates a default target maximum memory limit that is sufficient for almost all users and use cases.
System administrators that are comfortable trading off more memory for performance may now optionally set the GOMEMLIMIT environment variable prior to starting drcd in order to increase the target maximum memory limit.
The target limit is logged when the server starts. For example:
Soft memory limit: 1.80 GiB
Note that the value may not be configured to be less than the default calculated value and is potentially influenced by the cache-specific CLI options --sigcachemaxsize and --utxocachemaxsize.
Higher Network Throughput
The primary network syncing infrastructure now uses a model that makes better use of multiple processor cores provided by all modern hardware. The net result is better overall throughput that scales equally well across the entire spectrum of low-end to high-end computing hardware.
Faster Address Decoding
Decoding of Decred payment addresses is now about two times faster on average.
Larger wallets connecting to dcrd via RPC will notice significantly faster load times and mobile wallets using the new code will benefit from less battery usage.
Hardware Optimizations for Hashes
BLAKE-256 hashing is now approximately 70% faster on any modern amd64 hardware.
The primary benefits are:
- Notably reduced overall CPU usage for the same amount of work
- Performance enhancements to nearly all areas such as:
- The initial chain sync process
- Transaction and block validation
- Mixing message validation
- Signature verification
- Key generation
- Lightweight client sync time
- Stakeholder voting lottery selection
- Internal caches
- Payment addresses
RPC Server Changes
The RPC server version as of this release is 8.3.0
IPv6 Zone Support
The RPC server may now be configured to listen on IPv6 addresses with a zone.
This is particularly useful for specifying which scope or interface to bind the listener to in systems with multiple interfaces. For example, link local IPv6 addresses typically require specifying the zone to avoid routing issues since they are otherwise ambiguous on systems with multiple interfaces.
New Dynamic Profiling Server Control RPCs (startprofiler and stopprofiler)
Two new RPCs named startprofiler and stopprofiler are now available. These RPCs can be used to dynamically start and stop the built-in profiling server.
The profiling server is primarily useful for developers working on the software.
See the following for API details:
Discrete Mining Cancellation Support (generate)
The generate RPC used in test environments such as the test and simulation networks to mine a discrete number of blocks now accepts a parameter of 0 to cancel a running active discrete mining instance.
See the following for API details:
Changelog
This release consists of 355 commits from 8 contributors which total to 294 files changed, 25,567 additional lines of code, and 10,534 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- netsync: Request new headers on rejected tip (decred/dcrd#3302)
- server: Support listening on zoned IPv6 link local (decred/dcrd#3322)
- server: Prefer min one mix capable outbound peer (decred/dcrd#3336)
- peer: Randomize inv batching delays (decred/dcrd#3363)
- server: Cache advertised txns (decred/dcrd#3362)
- server: Prefer 3 min mix capable outbound peers (decred/dcrd#3389)
- peer: Add factored poly to stall detector getdata responses (decred/dcrd#3446)
- netsync: Always request initial non-mining state (decred/dcrd#3476)
- netsync: Don't request recently removed mix msgs (decred/dcrd#3494)
- chaincfg: Remove dcrdata.org seeders (decred/dcrd#3495)
- peer: Do not send inventory before version (decred/dcrd#3479)
- chaincfg: Introduce max treasury spend agenda (decred/dcrd#3548)
- multi: Implement DCP0013 max treasury spend vote (decred/dcrd#3549)
- chaincfg: Update assume valid for release (decred/dcrd#3557)
- chaincfg: Update min known chain work for release (decred/dcrd#3558)
- server: Force PoW upgrade to v11 (decred/dcrd#3570)
Mixing message relay (mix pool):
- netsync: Handle notfound mix messages (decred/dcrd#3325)
- netsync: Remove spent PRs from prev block txs (decred/dcrd#3334)
- mixpool: Only ban full nodes for bad UTXO sigs (decred/dcrd#3345)
- mixing: Create new sessions over incrementing runs (decred/dcrd#3343)
- mixpool: Cache recently removed msgs (decred/dcrd#3366)
- netsync: Remove spent PRs from tip block txns (decred/dcrd#3367...
dcrd v2.0.6
This is a patch release of dcrd which includes the following changes:
- Improved reliability for wallets participating in StakeShuffle mixing
- Minor performance enhancement for random number generation on OpenBSD
Changelog
This patch release consists of 3 commits from 2 contributors which total to 8 files changed, 119 additional lines of code, and 68 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Developer-related package and module changes:
- [release-v2.0] rand: Use stdlib crypto/rand.Read on OpenBSD + Go 1.24 (decred/dcrd#3473)
Developer-related module management:
- [release-v2.0] main: Use backported rand updates (decred/dcrd#3473)
Misc:
- [release-v2.0] release: Bump for 2.0.6 (decred/dcrd#3474)
Code Contributors (alphabetical order):
- Dave Collins
- Josh Rickmar
dcrd v2.0.5
This is a patch release of dcrd which includes the following changes:
- Improved StakeShuffle mixing robustness against misbehaving peers
- Peers are no longer intermittently disconnected when serving factored polynomial data
Upgrade Required To Participate in StakeShuffle Mixing
Although upgrading to this latest release is not required for continued operation of the core network, it is required for anyone who wishes to participate in StakeShuffle mixing with the highest anonymity set guarantees and fastest matching.
Changelog
This patch release consists of 8 commits from 2 contributors which total to 8 files changed, 83 additional lines of code, and 56 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- [release-v2.0] peer: Add factored poly to stall detector (decred/dcrd#3457)
Mixing message relay (mix pool):
- [release-v2.0] mixpool: Do not return early for revealed secrets (decred/dcrd#3458)
Developer-related package and module changes:
- [release-v2.0] mixclient: Avoid jitter calculation panic (decred/dcrd#3458)
- [release-v2.0] mixclient: Detect exited csppsolver processes (decred/dcrd#3458)
- [release-v2.0] mixclient: Sort roots for slot assignment (decred/dcrd#3458)
Developer-related module management:
- [release-v2.0] main: Use backported peer updates (decred/dcrd#3457)
- [release-v2.0] main: Use backported mixing updates (decred/dcrd#3458)
Misc:
- [release-v2.0] release: Bump for 2.0.5 (decred/dcrd#3459)
Code Contributors (alphabetical order):
- Dave Collins
- Josh Rickmar