dcrd/blockchain/fullblocktests
2023-08-23 14:13:51 -05:00
..
doc.go multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
error_test.go fullblocktests: Decouple from blockchain. 2022-05-30 11:26:40 -05:00
error.go fullblocktests: Decouple from blockchain. 2022-05-30 11:26:40 -05:00
generate.go chaingen: Move mining solve to generate state. 2023-06-02 13:30:04 -05:00
params.go multi: Remove a bunch of dup words in comments. 2023-08-23 14:13:51 -05:00
README.md docs: Update for blockchain v5 module. 2023-06-08 14:28:23 -05: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/v5 module. Use the standard go tooling for working with modules to incorporate it.

License

Package fullblocktests is licensed under the copyfree ISC License.