Implement BIPs 141, 142, 143, 145 and 147 (Segregated Witness) by Roasbeef · Pull Request #656 · btcsuite/btcd

This PR makes several modifications across btcd, and many of the sub-packages in order to add compatibility for the upcoming Segregated Witness soft-fork. As the set of changes is rather expansive,...