2016-09-13 18:11:12 -05:00
|
|
|
fullblocktests
|
|
|
|
==============
|
|
|
|
|
2021-03-04 17:12:45 -05:00
|
|
|
[](https://github.com/btcsuite/btcd/actions)
|
2017-05-25 11:29:23 -05:00
|
|
|
[](http://copyfree.org)
|
2021-03-04 17:12:45 -05:00
|
|
|
[](https://pkg.go.dev/github.com/btcsuite/btcd/blockchain/fullblocktests)
|
2016-09-13 18:11:12 -05:00
|
|
|
|
|
|
|
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
|
2017-10-29 20:56:03 +01:00
|
|
|
of blocks that exercise the consensus validation rules.
|
2016-09-13 18:11:12 -05:00
|
|
|
|
|
|
|
## Installation and Updating
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ go get -u github.com/btcsuite/btcd/blockchain/fullblocktests
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Package fullblocktests is licensed under the [copyfree](http://copyfree.org) ISC
|
|
|
|
License.
|