| 43 | } |
| 44 | |
| 45 | static inline |
| 46 | void MerkleHash_Sha256Midstate(uint256& parent, const uint256& left, const uint256& right) { |
| 47 | CSHA256().Write(left.begin(), 32).Write(right.begin(), 32).Midstate(parent.begin(), NULL, NULL); |
| 48 | } |
| 49 | |
| 50 | uint256 ComputeFastMerkleRoot(const std::vector<uint256>& hashes) { |
| 51 | uint256 result_hash = uint256(); |
no test coverage detected