dcrd/blockchain/fullblocktests
Dave Collins 8d1038cc45
blockchain: Start v5 module dev cycle.
Upcoming changes constitute breaking public API changes to the
blockchain module, therefore, this follows the process for introducing
major API breaks which consists of:

- Bump the major version in the go.mod of the affected module if not
  already done since the last release tag
- Add a replacement to the go.mod in the main module if not already done
  since the last release tag
- Update all imports in the repo to use the new major version as
  necessary
- Make necessary modifications to allow all other modules to use the new
  version in the same commit
- Repeat the process for any other modules the require a new major as a
  result of consuming the new major(s)
2022-03-24 12:44:05 -05:00
..
doc.go multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
generate.go blockchain: Start v5 module dev cycle. 2022-03-24 12:44:05 -05:00
params.go chaincfg: Introduce subsidy split change agenda. 2021-12-14 11:56:39 -06:00
README.md multi: Update README.md files for go modules. 2021-01-22 14:39:23 -06:00

fullblocktests

Build Status ISC License Doc

Package fullblocktests provides a set of full block tests to be used for testing the consensus validation rules. The tests are intended to be flexible enough to allow both unit-style tests directly against the blockchain code as well as integration style tests over the peer-to-peer network. To achieve that goal, each test contains additional information about the expected result, however that information can be ignored when doing comparison tests between two independent versions over the peer-to-peer network.

This package has intentionally been designed so it can be used as a standalone package for any projects needing to test their implementation against a full set of blocks that exercise the consensus validation rules.

Installation and Updating

This package is part of the github.com/decred/dcrd/blockchain/v3 module. Use the standard go tooling for working with modules to incorporate it.

License

Package fullblocktests is licensed under the copyfree ISC License.