| 49 | const uint160 MaxS = uint160(std::vector<unsigned char>(MaxArray,MaxArray+20)); |
| 50 | |
| 51 | static std::string ArrayToString(const unsigned char A[], unsigned int width) |
| 52 | { |
| 53 | std::stringstream Stream; |
| 54 | Stream << std::hex; |
| 55 | for (unsigned int i = 0; i < width; ++i) |
| 56 | { |
| 57 | Stream<<std::setw(2)<<std::setfill('0')<<(unsigned int)A[width-i-1]; |
| 58 | } |
| 59 | return Stream.str(); |
| 60 | } |
| 61 | |
| 62 | inline uint160 uint160S(const char *str) |
| 63 | { |
no test coverage detected