btcd/blockchain/internal/testhelper
Calvin Kim 5df14376c1 fullblocktests, testhelper: move createSpendTx to testhelper
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.
2024-04-23 02:48:28 +09:00
..
common.go fullblocktests, testhelper: move createSpendTx to testhelper 2024-04-23 02:48:28 +09:00
README.md fullblocktests, testhelper: refactor out spendableOut 2024-04-23 02:42:35 +09:00

testhelper

Build Status ISC License GoDoc

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.