Optimise merkle root creation by reusing a merkle branch
Optimise merkle root creation by reusing a merkle branch

Ported from C libblkmaker commit 83daccfeef2f65d909a06a9caa2c37652d0eb239

luke-jr/python-blkmaker