dcrd v1.5.0
This release of dcrd introduces a large number of updates. Some of the key highlights are:
- A new consensus vote agenda which allows the stakeholders to decide whether or not to activate support for block header commitments
- More efficient block filters
- Significant improvements to the mining infrastructure including asynchronous work notifications
- Major performance enhancements for transaction script validation
- Automatic external IP address discovery
- Support for IPv6 over Tor
- Various updates to the RPC server such as:
- A new method to query information about the network
- A method to retrieve the new version 2 block filters
- More calls available to limited access users
- Infrastructure improvements
- Quality assurance changes
For those unfamiliar with the voting process in Decred, all code in order to support block header commitments is already included in this release, however its enforcement will remain dormant until the stakeholders vote to activate it.
For reference, block header commitments were 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 a full technical specification:
It is important for everyone to upgrade their software to this latest release even if you don't intend to vote in favor of the agenda.
Downgrade Warning
The database format in v1.5.0 is not compatible with previous versions of the software. This only affects downgrades as users upgrading from previous versions will see a one time database migration.
Once this migration has been completed, it will no longer be possible to downgrade to a previous version of the software without having to delete the database and redownload the chain.
Notable Changes
Block Header Commitments Vote
A new vote with the id headercommitments
is now available as of this release. After upgrading, stakeholders may set their preferences through their wallet or Voting Service Provider's (VSP) website.
The primary goal of this change is to increase the security and efficiency of lightweight clients, such as Decrediton in its lightweight mode and the dcrandroid/dcrios mobile wallets, as well as add infrastructure that paves the
way for several future scalability enhancements.
A high level overview aimed at a general audience including a cost benefit analysis can be found in the Politeia proposal.
In addition, a much more in-depth treatment can be found in the motivation section of DCP0005.
Version 2 Block Filters
The block filters used by lightweight clients, such as SPV (Simplified Payment Verification) wallets, have been updated to improve their efficiency, ergonomics, and include additional information such as the full ticket
commitment script. The new block filters are version 2. The older version 1 filters are now deprecated and scheduled to be removed in the next release, so consumers should update to the new filters as soon as possible.
An overview of block filters can be found in the block filters section of DCP0005.
Also, the specific contents and technical specification of the new version 2 block filters is available in the
version 2 block filters section of DCP0005.
Finally, there is a one time database update to build and store the new filters for all existing historical blocks which will likely take a while to complete (typically around 8 to 10 minutes on HDDs and 4 to 5 minutes on SSDs).
Mining Infrastructure Overhaul
The mining infrastructure for building block templates and delivering the work to miners has been significantly overhauled to improve several aspects as follows:
- Support asynchronous background template generation with intelligent vote propagation handling
- Improved handling of chain reorganizations necessary when the current tip is unable to obtain enough votes
- Current state synchronization
- Near elimination of stale templates when new blocks and votes are received
- Subscriptions for streaming template updates
The standard getwork RPC that PoW miners currently use to perform the mining process has been updated to make use of this new infrastructure, so existing PoW miners will seamlessly get the vast majority of benefits without requiring any updates.
However, in addition, a new notifywork RPC is now available that allows miners to register for work to be delivered
asynchronously as it becomes available via a WebSockets work notification. These notifications include the same information that getwork
provides along with an additional reason
parameter which allows the miners to make better decisions about when they should instruct workers to discard the current template immediately or should be allowed to finish their current round before being provided with the new template.
Miners are highly encouraged to update their software to make use of the new asynchronous notification infrastructure since it is more robust, efficient, and faster than polling getwork
to manually determine the aforementioned conditions.
The following is a non-exhaustive overview that highlights the major benefits of the changes for both cases:
- Requests for updated templates during the normal mining process in between tip changes will now be nearly instant instead of potentially taking several seconds to build the new template on the spot
- When the chain tip changes, requesting a template will now attempt to wait until either all votes have been received or a timeout occurs prior to handing out a template which is beneficial for PoW miners, PoS miners, and the network as a whole
- PoW miners are much less likely to end up with template with less than the max number of votes which means they are less likely to receive a reduced subsidy
- PoW miners will be much less likely to receive stale templates during chain tip changes due to vote propagation
- PoS voters whose votes end up arriving to the miner slightly slower than the minimum number required are much less likely to have their votes excluded despite having voted simply due to propagation delay
PoW miners who choose to update their software, pool or otherwise, to make use of the asynchronous work notifications will receive additional benefits such as:
- Ability to start mining a new block sooner due to receiving updated work as soon as it becomes available
- Immediate notification with new work that includes any votes that arrive late
- Periodic notifications with new work that include new transactions only when there have actually been new transaction
- Simplified interface code due to removal of the need for polling and manually checking the work bytes for special cases such as the number of votes
NOTE: Miners that are not rolling the timestamp field as they mine should ensure their software is upgraded to roll the timestamp to the latest timestamp each time they hand work out to a miner. This helps ensure the block timestamps are as accurate as possible.
Transaction Script Validation Optimizations
Transaction script validation has been almost completely rewritten to significantly improve its speed and reduce the number of memory allocations. While this has many more benefits than enumerated here, probably the most
important ones for most stakeholders are:
- Votes can be cast more quickly which helps reduce the number of missed votes
- Blocks are able to propagate more quickly throughout the network, which in turn further improves votes times
- The initial sync process is around 20-25% faster
Automatic External IP Address Discovery
In order for nodes to fully participate in the peer-to-peer network, they must be publicly accessible and made discoverable by advertising their external IP address. This is typically made slightly more complicated since most users run their nodes on networks behind Network Address Translation (NAT).
Previously, in addition to configuring the network firewall and/or router to allow inbound connections to port 9108 and forwarding the port to the internal IP address running dcrd, it was also required to manually set the public external IP address via the --externalip
CLI option.
This release will now make use of other nodes on the network in a decentralized fashion to automatically discover the external IP address, so it is no longer necessary to manually set CLI option for the vast majority of users.
Tor IPv6 Support
It is now possible to resolve and connect to IPv6 peers over Tor in addition to the existing IPv4 support.
RPC Server Changes
New Version 2 Block Filter Query RPC (getcfilterv2
)
A new RPC named getcfilterv2
is now available which can be used to retrieve the version 2 block filter
for a given block along with its associated inclusion proof. See the getcfilterv2 JSON-RPC API Documentation
for API details.
New Network Information Query RPC (getnetworkinfo
)
A new RPC named getnetworkinfo
is now available which can be used to query information related to the peer-to-peer network such as the protocol version, the local time offset, the number of current connections, the supported network protocols, the current transaction relay fee, and the external IP addresses for
the local interfaces. See the getnetworkinfo JSON-RPC API Documentation for API details.
Updates to Chain State Query RPC (getblockchaininfo
)
The difficulty
field of the getblockchaininfo
RPC is now deprecated in favor of a new field named difficultyratio
which matches the result returned by the getdifficulty
RPC.
See the getblockchaininfo JSON-RPC API Documentation for API details.
New Optional Version Parameter on Script Decode RPC (decodescript
)
The decodescript
RPC now accepts an additional optional parameter to specify the script version. The only currently supported script version in Decred is version 0 which means decoding scripts with versions other than 0 will be seen as non standard.
Removal of Deprecated Block Template RPC (getblocktemplate
)
The previously deprecated getblocktemplate
RPC is no longer available. All known miners are already using the preferred getwork
RPC since Decred's block header supports more than enough nonce space to keep mining hardware busy without needing to resort to building custom templates with less efficient extra nonce coinbase workarounds.
Additional RPCs Available To Limited Access Users
The following RPCs that were previously unavailable to the limited access RPC user are now available to it:
estimatefee
estimatesmartfee
estimatestakediff
existsaddress
existsaddresses
existsexpiredtickets
existsliveticket
existslivetickets
existsmempoltxs
existsmissedtickets
getblocksubsidy
getcfilter
getcoinsupply
getheaders
getstakedifficulty
getstakeversioninfo
getstakeversions
getvoteinfo
livetickets
missedtickets
rebroadcastmissed
rebroadcastwinners
ticketfeeinfo
ticketsforaddress
ticketvwap
txfeeinfo
Single Mining State Request
The peer-to-peer protocol message to request the current mining state (getminings
) is used when peers first connect to retrieve all known votes for the current tip block. This is only useful when the peer first connects because all future votes will be relayed once the connection has been established. Consequently, nodes will now only respond to a single mining state request. Subsequent requests are ignored.
Developer Go Modules
A full suite of versioned Go modules (essentially code libraries) are now available for use by applications written in Go that wish to create robust software with reproducible, verifiable, and verified builds.
These modules are used to build dcrd itself and are therefore well maintained, tested, documented, and relatively efficient.
Changelog
This release consists of 600 commits from 17 contributors which total to 537 files changed, 41494 additional lines of code, and 29215 deleted lines of code.
All commits since the last release may be viewed on GitHub here.
Protocol and network:
- chaincfg: Add checkpoints for 1.5.0 release (decred/dcrd#1924)
- chaincfg: Introduce agenda for header cmtmts vote (decred/dcrd#1904)
- multi: Implement combined merkle root and vote (decred/dcrd#1906)
- blockchain: Implement v2 block filter storage (decred/dcrd#1906)
- gcs/blockcf2: Implement v2 block filter creation (decred/dcrd#1906)
- wire: Implement getcfilterv2/cfilterv2 messages (decred/dcrd#1906)
- peer: Implement getcfilterv2/cfilterv2 listeners (decred/dcrd#1906)
- server: Implement getcfilterv2 (decred/dcrd#1906)
- multi: Implement header commitments and vote (decred/dcrd#1906)
- server: Remove instead of disconnect node (decred/dcrd#1644)
- server: limit getminingstate requests (decred/dcrd#1678)
- peer: Prevent last block height going backwards (decred/dcrd#1747)
- connmgr: Add ability to remove pending connections (decred/dcrd#1724)
- connmgr: Add cancellation of pending requests (decred/dcrd#1724)
- connmgr: Check for canceled connection before connect (decred/dcrd#1724)
- multi: add automatic network address discovery (decred/dcrd#1522)
- connmgr: add TorLookupIPContext, deprecate TorLookupIP (decred/dcrd#1849)
- connmgr: support resolving ipv6 hosts over Tor (decred/dcrd#1908)
Transaction relay (memory pool):
- mempool: Reject same block vote double spends (decred/dcrd#1597)
- mempool: Limit max vote double spends exactly (decred/dcrd#1596)
- mempool: Optimize pool double spend check (decred/dcrd#1561)
- txscript: Tighten standardness pubkey checks (decred/dcrd#1649)
- mempool: drop container/list for simple FIFO (decred/dcrd#1681)
- mempool: remove unused error return value (decred/dcrd#1785)
- mempool: Add ErrorCode to returned TxRuleErrors (decred/dcrd#1901)
Mining:
- mining: Optimize get the block's votes tx (decred/dcrd#1563)
- multi: add BgBlkTmplGenerator (decred/dcrd#1424)
- mining: Remove unnecessary notify goroutine (decred/dcrd#1708)
- mining: Improve template key handling (decred/dcrd#1709)
- mining: fix scheduled template regen (decred/dcrd#1717)
- miner: Improve background generator lifecycle (decred/dcrd#1715)
- cpuminer: No speed monitor on discrete mining (decred/dcrd#1716)
- mining: Run vote ntfn in a separate goroutine (decred/dcrd#1718)
- mining: Overhaul background template generator (decred/dcrd#1748)
- mining: Remove unused error return value (decred/dcrd#1859)
- cpuminer: Fix off-by-one issues in nonce handling (decred/dcrd#1865)
- mining: Remove dead code (decred/dcrd#1882)
- mining: Remove unused extra nonce update code (decred/dcrd#1883)
- mining: Minor cleanup of aggressive mining path (decred/dcrd#1888)
- mining: Remove unused error codes (decred/dcrd#1889)
- mining: fix data race (decred/dcrd#1894)
- mining: fix data race (decred/dcrd#1896)
- cpuminer: fix race (decred/dcrd#1899)
- cpuminer: Improve speed stat tracking (decred/dcrd#1921)
- rpcserver/mining: Use bg tpl generator for getwork (decred/dcrd#1922)
- mining: Export TemplateUpdateReason (decred/dcrd#1923)
- multi: Add tpl update reason to work ntfns (decred/dcrd#1923)
- mining: Store block templates given by notifywork (decred/dcrd#1949)
RPC:
- dcrjson: add cointype to WalletInfoResult (decred/dcrd#1606)
- rpcclient: Introduce v2 module using wallet types (decred/dcrd#1608)
- rpcserver: Update for dcrjson/v2 (decred/dcrd#1612)
- rpcclient: Add EstimateSmartFee (decred/dcrd#1641)
- rpcserver: remove unused quit chan (decred/dcrd#1629)
- rpcserver: Undeprecate getwork (decred/dcrd#1635)
- rpcserver: Add difficultyratio to getblockchaininfo (decred/dcrd#1630)
- multi: add version arg to decodescript rpc (decred/dcrd#1731)
- dcrjson: Remove API breaking change (decred/dcrd#1778)
- rpcclient: Add GetMasterPubkey (decred/dcrd#1777)
- multi: add getnetworkinfo rpc (decred/dcrd#1536)
- rpcserver: Better error message (decred/dcrd#1861)
- multi: update limited user rpcs (decred/dcrd#1870)
- multi: make rebroadcast winners & missed ws only (decred/dcrd#1872)
- multi: remove getblocktemplate (decred/dcrd#1736)
- rpcserver: Match tx filter on ticket commitments (decred/dcrd#1881)
- rpcserver: don't use activeNetParams (decred/dcrd#1733)
- rpcserver: update rpcAskWallet rpc set (decred/dcrd#1892)
- rpcclient: close the unused response body (decred/dcrd#1905)
- rpcclient: Support getcfilterv2 JSON-RPC (decred/dcrd#1906)
- multi: add notifywork rpc (decred/dcrd#1410)
- rpcserver: Cleanup getvoteinfo RPC (decred/dcrd#2005)
dcrd command-line flags and configuration:
- config: Remove deprecated getworkkey option (decred/dcrd#1594)
certgen utility changes:
- certgen: Support Ed25519 cert generation on Go 1.13 (decred/dcrd#1757)
dcrctl utility changes:
- dcrctl: Make version string consistent (decred/dcrd#1598)
- dcrctl: Update for dcrjson/v2 and wallet types (decred/dcrd#1609)
- sampleconfig: add export dcrctl sample config (decred/dcrd#2006)
promptsecret utility changes:
- promptsecret: Add -n flag to prompt multiple times (decred/dcrd#1705)
Documentation:
- docs: Update for secp256k1 v2 module (decred/dcrd#1919)
- docs: document module breaking changes process (decred/dcrd#1891)
- docs: Link to btc whitepaper on decred.org (decred/dcrd#1885)
- docs: Update for mempool v3 module (decred/dcrd#1835)
- docs: Update for peer v2 module (decred/dcrd#1834)
- docs: Update for connmgr v2 module (decred/dcrd#1833)
- docs: Update for mining v2 module (decred/dcrd#1831)
- docs: Update for blockchain v2 module (decred/dcrd#1823)
- docs: Update for rpcclient v4 module (decred/dcrd#1807)
- docs: Update for blockchain/stake v2 module (decred/dcrd#1803)
- docs: Update for database v2 module (decred/dcrd#1799)
- docs: Update for rpcclient v3 module (decred/dcrd#1793)
- docs: Update for dcrjson/v3 module (decred/dcrd#1792)
- docs: Update for txscript v2 module (decred/dcrd#1774)
- docs: Update for dcrutil v2 module (decred/dcrd#1770)
- docs: Update for dcrec/edwards v2 module (decred/dcrd#1765)
- docs: Update for chaincfg v2 module (decred/dcrd#1698)
- docs: Update for hdkeychain v2 module (decred/dcrd#1696)
- hdkeychain: Correct docs key examples (decred/dcrd#1696)
- docs: allowHighFees arg has been implemented (decred/dcrd#1695)
- docs: move json rpc docs to mediawiki (decred/dcrd#1687)
- docs: Update for lru module (decred/dcrd#1683)
- docs: fix formatting in json rpc doc (decred/dcrd#1633)
- docs: Update for mempool v2 module (decred/dcrd#1613)
- docs: Update for rpcclient v2 module (decred/dcrd#1608)
- docs: Update for dcrjson v2 module (decred/dcrd#1607)
- jsonrpc/types: Add README.md and doc.go (decred/dcrd#1794)
- dcrjson: Update README.md (decred/dcrd#1607)
- dcrec/secp256k1: Update README.md broken link (decred/dcrd#1631)
- bech32: Correct README build badge reference (decred/dcrd#1689)
- hdkeychain: Update README.md (decred/dcrd#1686)
- bech32: Correct README links (decred/dcrd#1691)
- stake: Remove unnecessary language in comment (decred/dcrd#1752)
- multi: Use https links where available (decred/dcrd#1771)
- stake: Make doc.go formatting consistent (decred/dcrd#1803)
- blockchain: Update doc.go to reflect reality (decred/dcrd#1823)
- multi: update rpc documentation (decred/dcrd#1867)
- dcrec: fix examples links (decred/dcrd#1914)
- gcs: Improve package documentation (decred/dcrd#1915)
Developer-related package and module changes:
- dcrutil: Return deep copied tx in NewTxDeepTxIns (decred/dcrd#1545)
- mining: Remove superfluous error check (decred/dcrd#1552)
- dcrutil: Block does not cache the header bytes (decred/dcrd#1571)
- blockchain: Remove superfluous GetVoteInfo check (decred/dcrd#1574)
- blockchain: Make consensus votes network agnostic (decred/dcrd#1590)
- blockchain: Optimize skip stakebase input (decred/dcrd#1565)
- txscript: code cleanup (decred/dcrd#1591)
- dcrjson: Move estimate fee test to matching file (decred/dcrd#1607)
- dcrjson: Move raw stake tx cmds to correct file (decred/dcrd#1607)
- dcrjson: Move best block result to correct file (decred/dcrd#1607)
- dcrjson: Move winning tickets ntfn to correct file (decred/dcrd#1607)
- dcrjson: Move spent tickets ntfn to correct file (decred/dcrd#1607)
- dcrjson: Move stake diff ntfn to correct file (decred/dcrd#1607)
- dcrjson: Move new tickets ntfn to correct file (decred/dcrd#1607)
- txscript: Rename p2sh indicator to isP2SH (decred/dcrd#1605)
- mempool: Remove deprecated min high prio constant (decred/dcrd#1613)
- mempool: Remove tight coupling with dcrjson (decred/dcrd#1613)
- blockmanager: only check if current once handling inv's (decred/dcrd#1621)
- connmngr: Add DialAddr config option (decred/dcrd#1642)
- txscript: Consistent checksigaltverify handling (decred/dcrd#1647)
- multi: preallocate memory (decred/dcrd#1646)
- wire: Fix maximum payload length of MsgAddr (decred/dcrd#1638)
- blockmanager: remove unused requestedEverTxns (decred/dcrd#1624)
- blockmanager: remove useless requestedEverBlocks (decred/dcrd#1624)
- txscript: Introduce constant for max CLTV bytes (decred/dcrd#1650)
- txscript: Introduce constant for max CSV bytes (decred/dcrd#1651)
- chaincfg: Remove unused definition (decred/dcrd#1661)
- chaincfg: Use expected regnet merkle root var (decred/dcrd#1662)
- blockchain: Deprecate BlockOneCoinbasePaysTokens (decred/dcrd#1657)
- blockchain: Explicit script ver in coinbase checks (decred/dcrd#1658)
- chaincfg: Explicit unique net addr prefix (decred/dcrd#1663)
- chaincfg: Introduce params lookup by addr prefix (decred/dcrd#1664)
- dcrutil: Lookup params by addr prefix in chaincfg (decred/dcrd#1665)
- peer: Deprecate dependency on chaincfg (decred/dcrd#1671)
- server: Update for deprecated peer chaincfg (decred/dcrd#1671)
- fees: drop unused chaincfg (decred/dcrd#1675)
- lru: Implement a new module with generic LRU cache (decred/dcrd#1683)
- peer: Use lru cache module for inventory (decred/dcrd#1683)
- peer: Use lru cache module for nonces (decred/dcrd#1683)
- server: Use lru cache module for addresses (decred/dcrd#1683)
- multi: drop init and just set default log (decred/dcrd#1676)
- multi: deprecate DisableLog (decred/dcrd#1676)
- blockchain: Remove unused params from block index (decred/dcrd#1674)
- bech32: Initial Version (decred/dcrd#1646)
- chaincfg: Add extended key accessor funcs (decred/dcrd#1694)
- chaincfg: Rename extended key accessor funcs (decred/dcrd#1699)
- wire: Accurate calculations of maximum length (decred/dcrd#1672)
- wire: Fix MsgCFTypes maximum payload length (decred/dcrd#1673)
- txscript: Deprecate HasP2SHScriptSigStakeOpCodes (decred/dcrd#1656)
- txscript: Deprecate IsStakeOutput (decred/dcrd#1656)
- txscript: Deprecate GetMultisigMandN (decred/dcrd#1656)
- txscript: Introduce zero-alloc script tokenizer (decred/dcrd#1656)
- txscript: Optimize script disasm (decred/dcrd#1656)
- txscript: Introduce raw script sighash calc func (decred/dcrd#1656)
- txscript: Optimize CalcSignatureHash (decred/dcrd#1656)
- txscript: Make isSmallInt accept raw opcode (decred/dcrd#1656)
- txscript: Make asSmallInt accept raw opcode (decred/dcrd#1656)
- txscript: Make isStakeOpcode accept raw opcode (decred/dcrd#1656)
- txscript: Optimize IsPayToScriptHash (decred/dcrd#1656)
- txscript: Optimize IsMultisigScript (decred/dcrd#1656)
- txscript: Optimize IsMultisigSigScript (decred/dcrd#1656)
- txscript: Optimize GetSigOpCount (decred/dcrd#1656)
- txscript: Optimize isAnyKindOfScriptHash (decred/dcrd#1656)
- txscript: Optimize IsPushOnlyScript (decred/dcrd#1656)
- txscript: Optimize new engine push only script (decred/dcrd#1656)
- txscript: Check p2sh push before parsing scripts (decred/dcrd#1656)
- txscript: Optimize GetPreciseSigOpCount (decred/dcrd#1656)
- txscript: Make typeOfScript accept raw script (decred/dcrd#1656)
- txscript: Optimize typeOfScript pay-to-script-hash (decred/dcrd#1656)
- txscript: Remove unused isScriptHash function (decred/dcrd#1656)
- txscript: Optimize typeOfScript multisig (decred/dcrd#1656)
- txscript: Remove unused isMultiSig function (decred/dcrd#1656)
- txscript: Optimize typeOfScript pay-to-pubkey (decred/dcrd#1656)
- txscript: Remove unused isPubkey function (decred/dcrd#1656)
- txscript: Optimize typeOfScript pay-to-alt-pubkey (decred/dcrd#1656)
- txscript: Optimize typeOfScript pay-to-pubkey-hash (decred/dcrd#1656)
- txscript: Remove unused isPubkeyHash function (decred/dcrd#1656)
- txscript: Optimize typeOfScript pay-to-alt-pk-hash (decred/dcrd#1656)
- txscript: Optimize typeOfScript nulldata detection (decred/dcrd#1656)
- txscript: Remove unused isNullData function (decred/dcrd#1656)
- txscript: Optimize typeOfScript stakesub detection (decred/dcrd#1656)
- txscript: Remove unused isStakeSubmission function (decred/dcrd#1656)
- txscript: Optimize typeOfScript stakegen detection (decred/dcrd#1656)
- txscript: Remove unused isStakeGen function (decred/dcrd#1656)
- txscript: Optimize typeOfScript stakerev detection (decred/dcrd#1656)
- txscript: Remove unused isStakeRevocation function (decred/dcrd#1656)
- txscript: Optimize typeOfScript stakechange detect (decred/dcrd#1656)
- txscript: Remove unused isSStxChange function (decred/dcrd#1656)
- txscript: Optimize ContainsStakeOpCodes (decred/dcrd#1656)
- txscript: Optimize ExtractCoinbaseNullData (decred/dcrd#1656)
- txscript: Convert CalcScriptInfo (decred/dcrd#1656)
- txscript: Remove unused isPushOnly function (decred/dcrd#1656)
- txscript: Remove unused getSigOpCount function (decred/dcrd#1656)
- txscript: Optimize CalcMultiSigStats (decred/dcrd#1656)
- txscript: Optimize multi sig redeem script func (decred/dcrd#1656)
- txscript: Convert GetScriptHashFromP2SHScript (decred/dcrd#1656)
- txscript: Optimize PushedData (decred/dcrd#1656)
- txscript: Optimize IsUnspendable (decred/dcrd#1656)
- txscript: Make canonicalPush accept raw opcode (decred/dcrd#1656)
- txscript: Optimize ExtractAtomicSwapDataPushes (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs scripthash (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs pubkeyhash (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs altpubkeyhash (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs pubkey (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs altpubkey (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs multisig (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs stakesub (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs stakegen (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs stakerev (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs stakechange (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAddrs nulldata (decred/dcrd#1656)
- txscript: Optimize ExtractPkScriptAltSigType (decred/dcrd#1656)
- txscript: Remove unused extractOneBytePush func (decred/dcrd#1656)
- txscript: Remove unused isPubkeyAlt function (decred/dcrd#1656)
- txscript: Remove unused isPubkeyHashAlt function (decred/dcrd#1656)
- txscript: Remove unused isOneByteMaxDataPush func (decred/dcrd#1656)
- txscript: mergeMultiSig function def order cleanup (decred/dcrd#1656)
- txscript: Use raw scripts in RawTxInSignature (decred/dcrd#1656)
- txscript: Use raw scripts in RawTxInSignatureAlt (decred/dcrd#1656)
- txscript: Correct p2pkSignatureScriptAlt comment (decred/dcrd#1656)
- txscript: Use raw scripts in SignTxOutput (decred/dcrd#1656)
- txscript: Implement efficient opcode data removal (decred/dcrd#1656)
- txscript: Make isDisabled accept raw opcode (decred/dcrd#1656)
- txscript: Make alwaysIllegal accept raw opcode (decred/dcrd#1656)
- txscript: Make isConditional accept raw opcode (decred/dcrd#1656)
- txscript: Make min push accept raw opcode and data (decred/dcrd#1656)
- txscript: Convert to use non-parsed opcode disasm (decred/dcrd#1656)
- txscript: Refactor engine to use raw scripts (decred/dcrd#1656)
- txscript: Remove unused removeOpcodeByData func (decred/dcrd#1656)
- txscript: Rename removeOpcodeByDataRaw func (decred/dcrd#1656)
- txscript: Remove unused calcSignatureHash func (decred/dcrd#1656)
- txscript: Rename calcSignatureHashRaw func (decred/dcrd#1656)
- txscript: Remove unused parseScript func (decred/dcrd#1656)
- txscript: Remove unused unparseScript func (decred/dcrd#1656)
- txscript: Remove unused parsedOpcode.bytes func (decred/dcrd#1656)
- txscript: Remove unused parseScriptTemplate func (decred/dcrd#1656)
- txscript: Make executeOpcode take opcode and data (decred/dcrd#1656)
- txscript: Make op callbacks take opcode and data (decred/dcrd#1656)
- dcrutil: Fix NewTxDeepTxIns implementation (decred/dcrd#1685)
- stake: drop txscript.DefaultScriptVersion usage (decred/dcrd#1704)
- peer: invSendQueue is a FIFO (decred/dcrd#1680)
- peer: pendingMsgs is a FIFO (decred/dcrd#1680)
- blockchain: drop container/list (decred/dcrd#1682)
- blockmanager: use local var for the request queue (decred/dcrd#1622)
- server: return on outbound peer creation error (decred/dcrd#1637)
- hdkeychain: Remove Address method (decred/dcrd#1696)
- hdkeychain: Remove SetNet method (decred/dcrd#1696)
- hdkeychain: Require network on decode extended key (decred/dcrd#1696)
- hdkeychain: Don't rely on global state (decred/dcrd#1696)
- hdkeychain: Introduce NetworkParams interface (decred/dcrd#1696)
- server: Remove unused ScheduleShutdown func (decred/dcrd#1711)
- server: Remove unused dynamicTickDuration func (decred/dcrd#1711)
- main: Convert signal handling to use context (decred/dcrd#1712)
- txscript: Remove checks for impossible conditions (decred/dcrd#1713)
- indexers: Remove unused func (decred/dcrd#1714)
- multi: fix onVoteReceivedHandler shutdown (decred/dcrd#1721)
- wire: Rename extended errors to malformed errors (decred/dcrd#1742)
- rpcwebsocket: convert from list to simple FIFO (decred/dcrd#1726)
- dcrec: implement GenerateKey (decred/dcrd#1652)
- txscript: Remove SigHashOptimization constant (decred/dcrd#1698)
- txscript: Remove CheckForDuplicateHashes constant (decred/dcrd#1698)
- txscript: Remove CPUMinerThreads constant (decred/dcrd#1698)
- chaincfg: Move DNSSeed stringer next to type def (decred/dcrd#1698)
- chaincfg: Remove all registration capabilities (decred/dcrd#1698)
- chaincfg: Move mainnet code to mainnet files (decred/dcrd#1698)
- chaincfg: Move testnet3 code to testnet files (decred/dcrd#1698)
- chaincfg: Move simnet code to testnet files (decred/dcrd#1698)
- chaincfg: Move regnet code to regnet files (decred/dcrd#1698)
- chaincfg: Concrete genesis hash in Params struct (decred/dcrd#1698)
- chaincfg: Use scripts in block one token payouts (decred/dcrd#1698)
- chaincfg: Convert global param defs to funcs (decred/dcrd#1698)
- edwards: remove curve param (decred/dcrd#1762)
- edwards: unexport EncodedBytesToBigIntPoint (decred/dcrd#1762)
- edwards: unexport a slew of funcs (decred/dcrd#1762)
- edwards: add signature IsEqual and Verify methods (decred/dcrd#1762)
- edwards: add Sign method to PrivateKey (decred/dcrd#1762)
- chaincfg: Add addr params accessor funcs (decred/dcrd#1766)
- schnorr: remove curve param (decred/dcrd#1764)
- schnorr: unexport functions (decred/dcrd#1764)
- schnorr: add signature IsEqual and Verify methods (decred/dcrd#1764)
- secp256k1: unexport NAF (decred/dcrd#1764)
- addrmgr: drop container/list (decred/dcrd#1679)
- dcrutil: Remove unused ErrAddressCollision (decred/dcrd#1767)
- dcurtil: Remove unused ErrMissingDefaultNet (decred/dcrd#1767)
- dcrutil: Require network on address decode (decred/dcrd#1767)
- dcrutil: Remove IsForNet from Address interface (decred/dcrd#1767)
- dcrutil: Remove DSA from Address interface (decred/dcrd#1767)
- dcrutil: Remove Net from Address interface (decred/dcrd#1767)
- dcrutil: Rename EncodeAddress to Address (decred/dcrd#1767)
- dcrutil: Don't store net ref in addr impls (decred/dcrd#1767)
- dcrutil: Require network on WIF decode (decred/dcrd#1767)
- dcrutil: Accept magic bytes directly in NewWIF (decred/dcrd#1767)
- dcrutil: Introduce AddressParams interface (decred/dcrd#1767)
- blockchain: Do coinbase nulldata check locally (decred/dcrd#1770)
- blockchain: update CalcBlockSubsidy (decred/dcrd#1750)
- txscript: Use const for sighashall optimization (decred/dcrd#1774)
- txscript: Remove DisableLog (decred/dcrd#1774)
- txscript: Unexport HasP2SHScriptSigStakeOpCodes (decred/dcrd#1774)
- txscript: Remove third GetPreciseSigOpCount param (decred/dcrd#1774)
- txscript: Remove IsMultisigScript err return (decred/dcrd#1774)
- txscript: Unexport IsStakeOutput (decred/dcrd#1774)
- txscript: Remove CalcScriptInfo (decred/dcrd#1774)
- txscript: Remove multisig redeem script err return (decred/dcrd#1774)
- txscript: Remove GetScriptHashFromP2SHScript (decred/dcrd#1774)
- txscript: Remove GetMultisigMandN (decred/dcrd#1774)
- txscript: Remove DefaultScriptVersion (decred/dcrd#1774)
- txscript: Use secp256k1 types in sig cache (decred/dcrd#1774)
- multi: decouple BlockManager from server (decred/dcrd#1728)
- database: Introduce BlockSerializer interface (decred/dcrd#1799)
- hdkeychain: Add ChildNum and Depth methods (decred/dcrd#1800)
- chaincfg: Avoid block 1 subsidy codegen explosion (decred/dcrd#1801)
- chaincfg: Add stake params accessor funcs (decred/dcrd#1802)
- stake: Remove DisableLog (decred/dcrd#1803)
- stake: Remove unused TxSSGenStakeOutputInfo (decred/dcrd#1803)
- stake: Remove unused TxSSRtxStakeOutputInfo (decred/dcrd#1803)
- stake: Remove unused SetTxTree (decred/dcrd#1803)
- stake: Introduce StakeParams interface (decred/dcrd#1803)
- stake: Accept AddressParams for ticket commit addr (decred/dcrd#1803)
- gcs: Optimize AddSigScript (decred/dcrd#1804)
- chaincfg: Add subsidy params accessor funcs (decred/dcrd#1813)
- blockchain/standalone: Implement a new module (decred/dcrd#1808)
- blockchain/standalone: Add merkle root calc funcs (decred/dcrd#1809)
- blockchain/standalone: Add subsidy calc funcs (decred/dcrd#1812)
- blockchain/standalone: Add IsCoinBaseTx (decred/dcrd#1815)
- crypto/blake256: Add module with zero alloc funcs (decred/dcrd#1811)
- stake: Check minimum req outputs for votes earlier (decred/dcrd#1819)
- blockchain: Use standalone module for merkle calcs (decred/dcrd#1816)
- blockchain: Use standalone for coinbase checks (decred/dcrd#1816)
- blockchain: Use standalone module subsidy calcs (decred/dcrd#1816)
- blockchain: Use standalone module for work funcs (decred/dcrd#1816)
- blockchain: Remove deprecated code (decred/dcrd#1823)
- blockchain: Accept subsidy cache in config (decred/dcrd#1823)
- mining: Use lastest major version deps (decred/dcrd#1831)
- connmgr: Accept DNS seeds as string slice (decred/dcrd#1833)
- peer: Remove deprecated Config.ChainParams field (decred/dcrd#1834)
- peer: Accept hash slice for block locators (decred/dcrd#1834)
- peer: Use latest major version deps (decred/dcrd#1834)
- mempool: Use latest major version deps (decred/dcrd#1835)
- main: Update to use all new major module versions (decred/dcrd#1837)
- blockchain: Implement stricter bounds checking (decred/dcrd#1825)
- gcs: Start v2 module dev cycle (decred/dcrd#1843)
- gcs: Support empty filters (decred/dcrd#1844)
- gcs: Make error consistent with rest of codebase (decred/dcrd#1846)
- gcs: Add filter version support (decred/dcrd#1848)
- gcs: Correct zero hash filter matches (decred/dcrd#1857)
- gcs: Standardize serialization on a single format (decred/dcrd#1851)
- gcs: Optimize Hash (decred/dcrd#1853)
- gcs: Group V1 filter funcs after filter defs (decred/dcrd#1854)
- gcs: Support independent fp rate and bin size (decred/dcrd#1854)
- blockchain: Refactor best chain state init (decred/dcrd#1871)
- gcs: Implement version 2 filters (decred/dcrd#1856)
- blockchain: Cleanup subsidy cache init order (decred/dcrd#1873)
- multi: use chain ref. from blockmanager config (decred/dcrd#1879)
- multi: remove unused funcs and vars (decred/dcrd#1880)
- gcs: Prevent empty data elements in v2 filters (decred/dcrd#1911)
- crypto: import ripemd160 (decred/dcrd#1907)
- multi: Use secp256k1/v2 module (decred/dcrd#1919)
- multi: Use crypto/ripemd160 module (decred/dcrd#1918)
- multi: Use dcrec/edwards/v2 module (decred/dcrd#1920)
- gcs: Prevent empty data elements fp matches (decred/dcrd#1940)
- main: Update to use all new module versions (decred/dcrd#1946)
- blockchain/standalone: Add inclusion proof funcs (decred/dcrd#1906)
Developer-related module management:
- build: Require dcrjson v1.2.0 (decred/dcrd#1607)
- multi: Remove non-root module replacements (decred/dcrd#1599)
- dcrjson: Introduce v2 module without wallet types (decred/dcrd#1607)
- release: Freeze version 1 mempool module (decred/dcrd#1613)
- release: Introduce mempool v2 module (decred/dcrd#1613)
- main: Tidy module to latest (decred/dcrd#1613)
- main: Update for mempool/v2 (decred/dcrd#1616)
- multi: Add go 1.11 directive to all modules (decred/dcrd#1677)
- build: Tidy module sums (go mod tidy) (decred/dcrd#1692)
- release: Freeze version 1 hdkeychain module (decred/dcrd#1696)
- release: Introduce hdkeychain v2 module (decred/dcrd#1696)
- release: Freeze version 1 chaincfg module (decred/dcrd#1698)
- chaincfg: Introduce chaincfg v2 module (decred/dcrd#1698)
- chaincfg: Use dcrec/edwards/v1.0.0 (decred/dcrd#1758)
- dcrutil: Prepare v1.3.0 (decred/dcrd#1761)
- release: freeze version 1 dcrec/edwards module (decred/dcrd#1762)
- edwards: Introduce v2 module (decred/dcrd#1762)
- release: freeze version 1 dcrec/secp256k1 module (decred/dcrd#1764)
- secp256k1: Introduce v2 module (decred/dcrd#1764)
- multi: Update all modules for chaincfg v1.5.1 (decred/dcrd#1768)
- release: Freeze version 1 dcrutil module (decred/dcrd#1767)
- dcrutil: Update to use chaincfg/v2 module (decred/dcrd#1767)
- release: Introduce dcrutil v2 module (decred/dcrd#1767)
- database: Use chaincfg/v2 (decred/dcrd#1772)
- txscript: Prepare v1.1.0 (decred/dcrd#1773)
- stake: Prepare v1.2.0 (decred/dcrd#1775)
- release: Freeze version 1 txscript module (decred/dcrd#1774)
- txscript: Use dcrutil/v2 (decred/dcrd#1774)
- release: Introduce txscript v2 module (decred/dcrd#1774)
- main: Add requires for new version modules (decred/dcrd#1776)
- dcrjson: Introduce v3 and move types to module (decred/dcrd#1779)
- jsonrpc/types: Prepare 1.0.0 (decred/dcrd#1787)
- main: Use latest JSON-RPC types (decred/dcrd#1789)
- multi: Use decred fork of go-socks (decred/dcrd#1790)
- rpcclient: Prepare v2.1.0 (decred/dcrd#1791)
- release: Freeze version 2 rpcclient module (decred/dcrd#1793)
- rpcclient: Use dcrjson/v3 (decred/dcrd#1793)
- release: Introduce rpcclient v3 module (decred/dcrd#1793)
- main: Use rpcclient/v3 (decred/dcrd#1795)
- hdkeychain: Prepare v2.0.1 (decred/dcrd#1798)
- release: Freeze version 1 database module (decred/dcrd#1799)
- database: Use dcrutil/v2 (decred/dcrd#1799)
- release: Introduce database v2 module (decred/dcrd#1799)
- release: Freeze version 1 blockchain/stake module (decred/dcrd#1803)
- stake: Use dcrutil/v2 and chaincfg/v2 (decred/dcrd#1803)
- Use txscript/v2 (decred/dcrd#1803)
- stake: Use database/v2 (decred/dcrd#1803)
- release: Introduce blockchain/stake v2 module (decred/dcrd#1803)
- gcs: Use txscript/v2 (decred/dcrd#1804)
- gcs: Prepare v1.1.0 (decred/dcrd#1804)
- release: Freeze version 3 rpcclient module (decred/dcrd#1807)
- rpcclient: Use dcrutil/v2 and chaincfg/v2 (decred/dcrd#1807)
- release: Introduce rpcclient v4 module (decred/dcrd#1807)
- blockchain/standalone: Prepare v1.0.0 (decred/dcrd#1817)
- multi: Use crypto/blake256 (decred/dcrd#1818)
- main: Consume latest module minors and patches (decred/dcrd#1822)
- blockchain: Prepare v1.2.0 (decred/dcrd#1820)
- mining: Prepare v1.1.1 (decred/dcrd#1826)
- release: Freeze version 1 blockchain module use (decred/dcrd#1823)
- blockchain: Use lastest major version deps (decred/dcrd#1823)
- release: Introduce blockchain v2 module (decred/dcrd#1823)
- connmgr: Prepare v1.1.0 (decred/dcrd#1828)
- peer: Prepare v1.2.0 (decred/dcrd#1830)
- release: Freeze version 1 mining module use (decred/dcrd#1831)
- release: Introduce mining v2 module (decred/dcrd#1831)
- mempool: Prepare v2.1.0 (decred/dcrd#1832)
- release: Freeze version 1 connmgr module use (decred/dcrd#1833)
- release: Introduce connmgr v2 module (decred/dcrd#1833)
- release: Freeze version 1 peer module use (decred/dcrd#1834)
- release: Introduce peer v2 module (decred/dcrd#1834)
- blockchain: Prepare v2.0.1 (decred/dcrd#1836)
- release: Freeze version 2 mempool module use (decred/dcrd#1835)
- release: Introduce mempool v3 module (decred/dcrd#1835)
- go.mod: sync (decred/dcrd#1913)
- secp256k1: Prepare v2.0.0 (decred/dcrd#1916)
- wire: Prepare v1.3.0 (decred/dcrd#1925)
- chaincfg: Prepare v2.3.0 (decred/dcrd#1926)
- dcrjson: Prepare v3.0.1 (decred/dcrd#1927)
- rpc/jsonrpc/types: Prepare v2.0.0 (decred/dcrd#1928)
- dcrutil: Prepare v2.0.1 (decred/dcrd#1929)
- blockchain/standalone: Prepare v1.1.0 (decred/dcrd#1930)
- txscript: Prepare v2.1.0 (decred/dcrd#1931)
- database: Prepare v2.0.1 (decred/dcrd#1932)
- blockchain/stake: Prepare v2.0.2 (decred/dcrd#1933)
- gcs: Prepare v2.0.0 (decred/dcrd#1934)
- blockchain: Prepare v2.1.0 (decred/dcrd#1935)
- addrmgr: Prepare v1.1.0 (decred/dcrd#1936)
- connmgr: Prepare v2.1.0 (decred/dcrd#1937)
- hdkeychain: Prepare v2.1.0 (decred/dcrd#1938)
- peer: Prepare v2.1.0 (decred/dcrd#1939)
- fees: Prepare v2.0.0 (decred/dcrd#1941)
- rpcclient: Prepare v4.1.0 (decred/dcrd#1943)
- mining: Prepare v2.0.1 (decred/dcrd#1944)
- mempool: Prepare v3.1.0 (decred/dcrd#1945)
Testing and Quality Assurance:
- mempool: Accept test mungers for vote tx (decred/dcrd#1595)
- build: Replace TravisCI with CI via Github actions (decred/dcrd#1903)
- build: Setup github actions for CI (decred/dcrd#1902)
- TravisCI: Recommended install for golangci-lint (decred/dcrd#1808)
- TravisCI: Use more portable module ver stripping (decred/dcrd#1784)
- TravisCI: Test and lint latest version modules (decred/dcrd#1776)
- TravisCI: Disable race detector (decred/dcrd#1749)
- TravisCI: Set ./run_tests.sh executable perms (decred/dcrd#1648)
- travis: bump golangci-lint to v1.18.0 (decred/dcrd#1890)
- travis: Test go1.13 and drop go1.11 (decred/dcrd#1875)
- travis: Allow staged builds with build cache (decred/dcrd#1797)
- travis: drop docker and test directly (decred/dcrd#1783)
- travis: test go1.12 (decred/dcrd#1627)
- travis: Add misspell linter (decred/dcrd#1618)
- travis: run linters in each module (decred/dcrd#1601)
- multi: switch to golangci-lint (decred/dcrd#1575)
- blockchain: Consistent legacy seq lock tests (decred/dcrd#1580)
- blockchain: Add test logic to find deployments (decred/dcrd#1581)
- blockchain: Introduce chaingen test harness (decred/dcrd#1583)
- blockchain: Use harness in force head reorg tests (decred/dcrd#1584)
- blockchain: Use harness in stake version tests (decred/dcrd#1585)
- blockchain: Use harness in checkblktemplate tests (decred/dcrd#1586)
- blockchain: Use harness in threshold state tests (decred/dcrd#1587)
- blockchain: Use harness in legacy seqlock tests (decred/dcrd#1588)
- blockchain: Use harness in fixed seqlock tests (decred/dcrd#1589)
- multi: cleanup linter warnings (decred/dcrd#1601)
- txscript: Add remove signature reference test (decred/dcrd#1604)
- rpctest: Update for rpccclient/v2 and dcrjson/v2 (decred/dcrd#1610)
- wire: Add tests for MsgCFTypes (decred/dcrd#1619)
- chaincfg: Move a test to chainhash package (decred/dcrd#1632)
- rpctest: Add RemoveNode (decred/dcrd#1643)
- rpctest: Add NodesConnected (decred/dcrd#1643)
- dcrutil: Reduce global refs in addr unit tests (decred/dcrd#1666)
- dcrutil: Consolidate tests into package (decred/dcrd#1669)
- peer: Consolidate tests into package (decred/dcrd#1670)
- wire: Add tests for BlockHeader (From)Bytes (decred/dcrd#1600)
- wire: Add tests for MsgGetCFilter (decred/dcrd#1628)
- dcrutil: Add tests for NewTxDeep (decred/dcrd#1684)
- rpctest: Introduce VotingWallet (decred/dcrd#1668)
- txscript: Add stake tx remove opcode tests (decred/dcrd#1210)
- txscript: Move init func in benchmarks to top (decred/dcrd#1656)
- txscript: Add benchmark for script parsing (decred/dcrd#1656)
- txscript: Add benchmark for DisasmString (decred/dcrd#1656)
- txscript: Convert sighash calc tests (decred/dcrd#1656)
- txscript: Add benchmark for IsPayToScriptHash (decred/dcrd#1656)
- txscript: Add benchmarks for IsMutlsigScript (decred/dcrd#1656)
- txscript: Add benchmarks for IsMutlsigSigScript (decred/dcrd#1656)
- txscript: Add benchmark for GetSigOpCount (decred/dcrd#1656)
- txscript: Add tests for stake-tagged script hash (decred/dcrd#1656)
- txscript: Add benchmark for isAnyKindOfScriptHash (decred/dcrd#1656)
- txscript: Add benchmark for IsPushOnlyScript (decred/dcrd#1656)
- txscript: Add benchmark for GetPreciseSigOpCount (decred/dcrd#1656)
- txscript: Add benchmark for GetScriptClass (decred/dcrd#1656)
- txscript: Add benchmark for pay-to-pubkey scripts (decred/dcrd#1656)
- txscript: Add bench for pay-to-alt-pubkey scripts (decred/dcrd#1656)
- txscript: Add bench for pay-to-pubkey-hash scripts (decred/dcrd#1656)
- txscript: Add bench for pay-to-alt-pubkey-hash scripts (decred/dcrd#1656)
- txscript: Add bench for null scripts (decred/dcrd#1656)
- txscript: Add bench for stake submission scripts (decred/dcrd#1656)
- txscript: Add bench for stake generation scripts (decred/dcrd#1656)
- txscript: Add bench for stake revocation scripts (decred/dcrd#1656)
- txscript: Add bench for stake change scripts (decred/dcrd#1656)
- txscript: Add benchmark for ContainsStakeOpCodes (decred/dcrd#1656)
- txscript: Add benchmark for ExtractCoinbaseNullData (decred/dcrd#1656)
- txscript: Add CalcMultiSigStats benchmark (decred/dcrd#1656)
- txscript: Add multisig redeem script extract bench (decred/dcrd#1656)
- txscript: Add benchmark for PushedData (decred/dcrd#1656)
- txscript: Add benchmark for IsUnspendable (decred/dcrd#1656)
- txscript: Add tests for atomic swap extraction (decred/dcrd#1656)
- txscript: Add ExtractAtomicSwapDataPushes benches (decred/dcrd#1656)
- txscript: Add ExtractPkScriptAddrs benchmarks (decred/dcrd#1656)
- txscript: Add ExtractPkScriptAltSigType benchmark (decred/dcrd#1656)
- wire: Add tests for MsgGetCFTypes (decred/dcrd#1703)
- blockchain: Allow named blocks in chaingen harness (decred/dcrd#1701)
- txscript: Cleanup opcode removal by data tests (decred/dcrd#1702)
- hdkeychain: Correct benchmark extended key (decred/dcrd#1696)
- hdkeychain: Consolidate tests into package (decred/dcrd#1696)
- hdkeychain: Use locally-scoped netparams in tests (decred/dcrd#1696)
- hdkeychain: Use mock net params in tests (decred/dcrd#1696)
- wire: Add tests for MsgGetCFHeaders (decred/dcrd#1720)
- wire: Add tests for MsgCFHeaders (decred/dcrd#1732)
- main/rpctest: Update for hdkeychain/v2 (decred/dcrd#1707)
- rpctest: Allow custom miner on voting wallet (decred/dcrd#1751)
- wire: Add tests for MsgCFilter (decred/dcrd#1741)
- chaincfg; Add tests for required unique fields (decred/dcrd#1698)
- fullblocktests: Add coinbase nulldata tests (decred/dcrd#1769)
- dcrutil: Make docs example testable and correct it (decred/dcrd#1767)
- dcrutil: Use mock addr params in tests (decred/dcrd#1767)
- wire: assert MaxMessagePayload limit in tests (decred/dcrd#1755)
- docker: use go 1.12 (decred/dcrd#1782)
- docker: update alpine and include notes (decred/dcrd#1786)
- hdkeychain: Correct a few comment typos (decred/dcrd#1796)
- database: Use unique test db names for v2 module (decred/dcrd#1806)
- main: Add database/v2 override for tests (decred/dcrd#1806)
- gcs: Add benchmark for AddSigScript (decred/dcrd#1804)
- txscript: Fix typo in script test data (decred/dcrd#1821)
- database: Separate dbs for concurrent db tests (decred/dcrd#1824)
- gcs: Overhaul tests and benchmarks (decred/dcrd#1845)
- rpctest: Remove leftover debug print (decred/dcrd#1862)
- txscript: Fix duplicate test name (decred/dcrd#1863)
- gcs: Add benchmark for filter hashing (decred/dcrd#1853)
- gcs: Add tests for bit reader/writer (decred/dcrd#1855)
- peer: Ensure listener tests sync with messages (decred/dcrd#1874)
- rpctest: remove always-nil error (decred/dcrd#1913)
- rpctest: use errgroup to catch errors from go routines (decred/dcrd#1913)
Misc:
- release: Bump for 1.5 release cycle (decred/dcrd#1546)
- mempool: Fix typo in fetchInputUtxos comment (decred/dcrd#1562)
- blockchain: Fix typos found by misspell (decred/dcrd#1617)
- dcrutil: Fix typos found by misspell (decred/dcrd#1617)
- main: Write memprofile on shutdown (decred/dcrd#1655)
- config: Parse network interfaces (decred/dcrd#1514)
- config: Cleanup and simplify network info parsing (decred/dcrd#1706)
- main: Rework windows service sod notification (decred/dcrd#1710)
- multi: fix recent govet findings (decred/dcrd#1727)
- rpcserver: Fix misspelling (decred/dcrd#1763)
- chaincfg: Run gofmt -s (decred/dcrd#1776)
- jsonrpc/types: Update copyright years (decred/dcrd#1794)
- stake: Correct comment typo on Hash256PRNG (decred/dcrd#1803)
- multi: Correct typos (decred/dcrd#1839)
- wire: Fix a few messageError string typos (decred/dcrd#1840)
- miningerror: Remove duplicate copyright (decred/dcrd#1860)
- multi: Correct typos (decred/dcrd#1864)
Code Contributors (alphabetical order):
- Aaron Campbell
- Conner Fromknecht
- Dave Collins
- David Hill
- Donald Adu-Poku
- Hamid
- J Fixby
- Jamie Holdstock
- JoeGruffins
- Jonathan Chappelow
- Josh Rickmar
- Matheus Degiovani
- Nicola Larosa
- Olaoluwa Osuntokun
- Roei Erez
- Sarlor
- Victor Oliveira