| 111 | } |
| 112 | |
| 113 | static std::vector<uint256> ComputeMerkleBranch(const std::vector<uint256>& leaves, uint32_t position) { |
| 114 | std::vector<uint256> ret; |
| 115 | MerkleComputation(leaves, nullptr, nullptr, position, &ret); |
| 116 | return ret; |
| 117 | } |
| 118 | |
| 119 | static std::vector<uint256> BlockMerkleBranch(const CBlock& block, uint32_t position) |
| 120 | { |
no test coverage detected