Add optional callable parameter to MerkleRoot::calculateHash(). If not provided, the standard hash function will be used. Using a callable here means we can pass something that will write tree hashes to a referenced array, to produce the tree for filtered blocks.
Add optional callable parameter to MerkleRoot::calculateHash().
If not provided, the standard hash function will be used.
Using a callable here means we can pass something that will write tree hashes to a referenced array, to produce the tree for filtered blocks.

blocktrail/bitcoin-php,Bit-Wasp/bitcoin-php,afk11/bitcoin-php,afk11/bitcoin-php,Bit-Wasp/bitcoin-php