My Submits are rejected. Going for short to see what happens.
Editing one line at a time.
Where can I research some questions about Bitcoin software and maybe ask questions?
The goal is to use the Bitcoin software to encode / decode Base58. This computer is Windows 11 using Visual Studio 2019. C++ of course. I presume the github version is for Linux and have not recognized a specific section for Windows. The list of includes is quite long and I cannot find them on this computer.
Some examples are from their common.h and a bunch of declarations:
le16toh, le32toh, le64toh, htole16, htole32, htole64, be16toh, be32toh, be64toh, htobe32, htobe64
Here is an example of the use of one of those items:
and likely just write a macro to convert the unix names to the windows names, but this smacks of a larger problem that the coders used OS specific junk once and probably will again. If you run into too many issues, you can use g++ on windows and it will probably be able to build the code using ported unix headers and libraries; an easy tool for this is cygwin, which has not only g++ but coder tools like grep as well which are nice to stuff into your commandline.
note that intel chips specifically have a hardware level byte reversal that can't be beat for performance, so try to avoid writing your own if you can get access to the chip level one. I am pretty sure the above library calls use the assembly level one.
I have had a difficult time post here and don't know why.
After looking at the bitcoin source code, and its plethora of include files, the conclusion is that I will look elsewhere for base 58 code.
I appreciate the C# code but will look for C++ code before I attempt a translation.
Thank you for taking the time to reply.