mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 14:40:44 +01:00
createSpendTx is moved to testhelper so that the function can be used for callers in package blockchain without introducing import cycles. The test code for invalidateblock and reconsiderblock that are going to be added in later commits make use of this code. |
||
---|---|---|
.. | ||
common.go | ||
README.md |
testhelper
Package testhelper provides functions that are used internally in the btcd/blockchain and btcd/blockchain/fullblocktests package to test consensus validation rules. Mainly provided to avoid dependency cycles internally among the different packages in btcd.
License
Package testhelper is licensed under the copyfree ISC License.