dcrd/blockchain/fullblocktests
Dave Collins ae3d60847f
[release-v1.4] chaincfg: Introduce agenda for fixlnseqlocks vote.
This adds a new definition for the upcoming agenda vote to enable the
corrected sequence locks behavior as defined by DCP0004.  It does not
include any code to make decisions or bump the versions.  It is only the
definition.

Also, bump the chaincfg module to v1.3.0 so the new definitions are
available to consumers.
2019-01-28 09:28:04 -06:00
..
doc.go multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
generate.go multi: Use regression test network in unit tests. 2018-10-09 19:40:10 -05:00
params.go [release-v1.4] chaincfg: Introduce agenda for fixlnseqlocks vote. 2019-01-28 09:28:04 -06:00
README.md blockchain: move block validation rule tests into fullblocktests. 2018-02-25 02:03:59 +00:00

fullblocktests

Build Status ISC License GoDoc

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

$ go get -u github.com/decred/dcrd/blockchain/fullblocktests

License

Package fullblocktests is licensed under the copyfree ISC License.