lbcd/blockchain/fullblocktests
Brannon King f1314e2e2d [lbry] fixed all current tests and delete three.
Co-authored-by: Roy Lee <roylee17@gmail.com>
2021-10-19 22:07:35 -07:00
..
doc.go btcd/multi: fix a number of typos in comments. 2018-01-25 23:23:59 -06:00
generate.go [lbry] fixed all current tests and delete three. 2021-10-19 22:07:35 -07:00
params.go [lbry] fixed all current tests and delete three. 2021-10-19 22:07:35 -07:00
README.md docs: update shields 2021-03-05 07:45:19 -05: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/btcsuite/btcd/blockchain/fullblocktests

License

Package fullblocktests is licensed under the copyfree ISC License.