yenom / BitcoinKit

Bitcoin protocol toolkit for Swift
MIT License
842 stars 262 forks source link

Federicobond/block merkle root #215

Closed usatie closed 5 years ago

usatie commented 5 years ago

This PR is originary #149 from @federicobond . Big thank you!

I fixed some problem and rebased before merging.

Description of the Change

Add method to compute the block Merkle root from the list of transaction hashes. Also added two Bitcoin block test vectors.

usatie commented 5 years ago

@GitCash send 1000 bits to @federicobond