| 138 | } |
| 139 | |
| 140 | void hash256aux(HexMap const& _s, HexMap::const_iterator _begin, HexMap::const_iterator _end, unsigned _preLen, RLPStream& _rlp) |
| 141 | { |
| 142 | RLPStream rlp; |
| 143 | hash256rlp(_s, _begin, _end, _preLen, rlp); |
| 144 | if (rlp.out().size() < 32) |
| 145 | { |
| 146 | // RECURSIVE RLP |
| 147 | #if ENABLE_DEBUG_PRINT |
| 148 | cerr << "[INLINE: " << dec << rlp.out().size() << " < 32]" << endl; |
| 149 | #endif |
| 150 | _rlp.APPEND_CHILD(rlp.out()); |
| 151 | } |
| 152 | else |
| 153 | { |
| 154 | #if ENABLE_DEBUG_PRINT |
| 155 | cerr << "[HASH: " << dec << rlp.out().size() << " >= 32]" << endl; |
| 156 | #endif |
| 157 | _rlp << sha3(rlp.out()); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | bytes rlp256(BytesMap const& _s) |
| 162 | { |
no test coverage detected