Categorygithub.com/decred/dcrd/blockchain/v5
module
5.0.1
Repository: https://github.com/decred/dcrd.git
Documentation: pkg.go.dev

# README

blockchain

Build Status ISC License Doc

The blockchain module provides a couple of packages useful for testing:

  • chaingen - Provides facilities for generating a full chain of blocks
  • fullblocktests - Provides a set of full block tests to be used for testing the consensus validation rules

Sub Modules

Note that the following separate sub modules that are not a part of the this module are also available:

  • standalone - Provides standalone functions useful for working with the Decred blockchain consensus rules.
  • stake - Contains code for all of dcrd's stake transaction chain handling and other portions related to the Proof-of-Stake (PoS) system.

Installation and Updating

This is the github.com/decred/dcrd/blockchain/v5 module. Use the standard go tooling for working with modules to incorporate it.

License

Module blockchain is licensed under the copyfree ISC License.

# Packages

Package chaingen provides facilities for generating a full chain of blocks.
Package fullblocktests provides a set of block consensus validation tests.