Reduce bitcoin-tx dependencies
Merge pull request #5223

bfe029f Reduce bitcoin-tx dependencies (Pieter Wuille)