| 66 | } |
| 67 | |
| 68 | uint256 DynaFedParamEntry::CalculateExtraRoot() const |
| 69 | { |
| 70 | std::vector<uint256> extra_leaves; |
| 71 | extra_leaves.push_back(SerializeHash(m_fedpeg_program, SER_GETHASH, 0)); |
| 72 | extra_leaves.push_back(SerializeHash(m_fedpegscript, SER_GETHASH, 0)); |
| 73 | extra_leaves.push_back(SerializeHash(m_extension_space, SER_GETHASH, 0)); |
| 74 | return ComputeFastMerkleRoot(extra_leaves); |
| 75 | } |
| 76 | |
| 77 | uint256 DynaFedParams::CalculateRoot() const |
| 78 | { |
no test coverage detected