1 // Copyright (c) 2016 The btcsuite developers
2 // Use of this source code is governed by an ISC
3 // license that can be found in the LICENSE file.
6 Package fullblocktests provides a set of block consensus validation tests.
8 All of the generated test instances involve full blocks that are to be used for
9 testing the consensus validation rules. The tests are intended to be flexible
10 enough to allow both unit-style tests directly against the blockchain code as
11 well as integration style tests over the peer-to-peer network. To achieve that
12 goal, each test contains additional information about the expected result,
13 however that information can be ignored when doing comparison tests between two
14 independent versions over the peer-to-peer network.
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.
20 package fullblocktests