6#ifndef ALT_INTEGRATION_VERIBLOCK_BASE59_HPP
7#define ALT_INTEGRATION_VERIBLOCK_BASE59_HPP
11#include <veriblock/pop/validation_state.hpp>
17 const unsigned char *pend);
24 typename =
typename std::enable_if<
sizeof(
typename T::value_type) ==
27 const uint8_t *ptr = container.data();
33 std::vector<uint8_t> &out,
Class that is used for storing validation state.
std::string EncodeBase59(const unsigned char *pbegin, const unsigned char *pend)
Encode input bytes to base59.
bool DecodeBase59(const std::string &input, std::vector< uint8_t > &out, ValidationState &state)
Decode base59 string into bytes.