OSDN Git Service

Merge pull request #41 from Bytom/dev
[bytom/vapor.git] / vendor / github.com / btcsuite / btcd / blockchain / fullblocktests / README.md
1 fullblocktests
2 ==============
3
4 [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
5 [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
6 [![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/blockchain/fullblocktests)
7
8 Package fullblocktests provides a set of full block tests to be used for testing
9 the consensus validation rules.  The tests are intended to be flexible enough to
10 allow both unit-style tests directly against the blockchain code as well as
11 integration style tests over the peer-to-peer network.  To achieve that goal,
12 each test contains additional information about the expected result, however
13 that information can be ignored when doing comparison tests between two
14 independent versions over the peer-to-peer network.
15
16 This package has intentionally been designed so it can be used as a standalone
17 package for any projects needing to test their implementation against a full set
18 of blocks that excerise the consensus validation rules.
19
20 ## Installation and Updating
21
22 ```bash
23 $ go get -u github.com/btcsuite/btcd/blockchain/fullblocktests
24 ```
25
26 ## License
27
28 Package fullblocktests is licensed under the [copyfree](http://copyfree.org) ISC
29 License.