mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
fullblocktests: Add missing doc.go file.
This commit is contained in:
parent
bff2ba70fd
commit
9634a8cb0d
1 changed files with 20 additions and 0 deletions
20
blockchain/fullblocktests/doc.go
Normal file
20
blockchain/fullblocktests/doc.go
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
// Copyright (c) 2016 The btcsuite developers
|
||||||
|
// Use of this source code is governed by an ISC
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package fullblocktests provides a set of block consensus validation tests.
|
||||||
|
|
||||||
|
All of the generated test instances involve full blocks that are 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 excerise the consensus validation rules.
|
||||||
|
*/
|
||||||
|
package fullblocktests
|
Loading…
Add table
Reference in a new issue