For that, as far as I can tell, I just need the two hash routines. In fact I think I'm getting pretty close to finishing this thing up.
Also, to be clear my coding website is largely educational. I'm writing this code to educate myself and releasing it open source to educate others.
Thanks,
John
On further thought I have decided I'm going to retitle this post as a block-chain parser in a couple thousand lines of code; but it will still be just one CPP file when I'm done.
Actually it was kind of hard, it took me hours just to gather together the code to do SHA-256, RPMD-160, and base58cheked without dragging in massive libraries and dependencies.
I'm going to make a new Google code project called 'bitcoin-snippets' which will contain just the source to do each one of these specific operations.
Thanks,
John
Don't forget this is a crypto currency. There is no way around having a general purpose crypto library available if you're going to do any coding in Bitcoin. Just like you have standard headers in C++ for various data structures and algorithms, you are going to need these crypto algorithms available. You're wasting your time reimplementing it, because it's all actually very simple, standard crypto operations (just combined in a creative way). Once you have those standard operations available and you understand what they do, much of this will be much simpler. Hashing is the bread and butter of Bitcoin, just get the libraries and do it.
And no one ever said bitcoin programming was easy, but you're taking the right size steps and you will get there with some patience. What you are doing is exactly how I started two years ago and I think it's a fantastic way to learn. You just have to appreciate that there's a lot to learn and you're going to spend a ton of time confused and digging for clarity. That's part of the fun :-)