| 28 | } |
| 29 | template<typename Stream, typename I> |
| 30 | void Unser(Stream& s, I& v) |
| 31 | { |
| 32 | uint64_t n = ReadCompactSize(s); |
| 33 | m_shift += n; |
| 34 | if (m_shift < n || m_shift >= std::numeric_limits<uint64_t>::max() || m_shift < std::numeric_limits<I>::min() || m_shift > std::numeric_limits<I>::max()) throw std::ios_base::failure("differential value overflow"); |
| 35 | v = I(m_shift++); |
| 36 | } |
| 37 | }; |
| 38 | |
| 39 | class BlockTransactionsRequest { |
nothing calls this directly
no test coverage detected