Quantcast
Channel: Active questions tagged base58check - Bitcoin Stack Exchange
Viewing all articles
Browse latest Browse all 23

How to use the base58 in c++

$
0
0

its been a while after i done with my python bitcoin miner

And i realize that python is slower to do mining stuff, so i decided to rebuild it in c++ as you guys know c++ the faster than other programming language

But i have a problem to use base58 decode to hexadecimal in c++

Python code

import base58BtcAddr: str = "1Htcz9y5sVuztuwTnfpWR4dhqirhLMcK7r"base58.b58decode_check(BtcAddr).hex()

And the output will be this

00b9454405a39efcb023127cd6daacf9c133b84df3

But i need that in c++ code, i already search online but i didnt find anything helpful

Can you guys help me? I really need the source code in c++


Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>