sgeisler / EasyBitcoin

Easy to use C++03 (basic) Bitcoin library
MIT License
1 stars 1 forks source link

Ideas #4

Open luke-jr opened 9 years ago

luke-jr commented 9 years ago

A wallet library is a great idea. But why not use standard C so it can work on more embedded systems? libbase58 also already exists, and probably best to just use that for the encoding/decoding.

sgeisler commented 9 years ago

Thank you for your input :)

  1. Why not in C: mainly because I think C++ has really useful features, for example the STL: it gives me a great bunch of algorithms and saves me from handling memory/pointers by providing containers. But I think it would be possible to write a C-Wrapper if necessary.
  2. I wasn't aware of your library. I will try to integrate it in a testing branch, if it works well I will use it for master. When I implemented my from/toBase58 functions I looked at the bitcoin core implementation as a reference. So far it seems to work quite well, but I have to implement more tests for all the possible errors.