From d3e8adfada889a3c9fba930086eda609509aca07 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Mon, 17 Aug 2020 01:43:11 +0200 Subject: util: remove c-string interfaces for DecodeBase58{Check} --- src/base58.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/base58.h') diff --git a/src/base58.h b/src/base58.h index 042ad671d3..a869ee1e75 100644 --- a/src/base58.h +++ b/src/base58.h @@ -30,13 +30,6 @@ std::string EncodeBase58(const unsigned char* pbegin, const unsigned char* pend) */ std::string EncodeBase58(const std::vector& vch); -/** - * Decode a base58-encoded string (psz) into a byte vector (vchRet). - * return true if decoding is successful. - * psz cannot be nullptr. - */ -NODISCARD bool DecodeBase58(const char* psz, std::vector& vchRet, int max_ret_len); - /** * Decode a base58-encoded string (str) into a byte vector (vchRet). * return true if decoding is successful. @@ -48,12 +41,6 @@ NODISCARD bool DecodeBase58(const std::string& str, std::vector& */ std::string EncodeBase58Check(const std::vector& vchIn); -/** - * Decode a base58-encoded string (psz) that includes a checksum into a byte - * vector (vchRet), return true if decoding is successful - */ -NODISCARD bool DecodeBase58Check(const char* psz, std::vector& vchRet, int max_ret_len); - /** * Decode a base58-encoded string (str) that includes a checksum into a byte * vector (vchRet), return true if decoding is successful -- cgit v1.2.3