6#ifndef ALT_INTEGRATION_VERIBLOCK_BASE58_HPP
7#define ALT_INTEGRATION_VERIBLOCK_BASE58_HPP
11#include <veriblock/pop/validation_state.hpp>
17 const unsigned char *pend);
21 typename =
typename std::enable_if<
sizeof(
typename T::value_type) ==
24 const uint8_t *ptr = container.data();
30 std::vector<unsigned char> &out,
Class that is used for storing validation state.
std::string EncodeBase58(const unsigned char *pbegin, const unsigned char *pend)
Encodes input bytes to Base58.
bool DecodeBase58(const std::string &str, std::vector< unsigned char > &out, ValidationState &state)
Decodes base58 into bytes.