github.com/btcsuite/btcd@v0.24.0/blockchain/fullblocktests/README.md (about)

     1  fullblocktests
     2  ==============
     3  
     4  [![Build Status](https://github.com/btcsuite/btcd/workflows/Build%20and%20Test/badge.svg)](https://github.com/btcsuite/btcd/actions)
     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)](https://pkg.go.dev/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 exercise 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.