BlockchainCommons / Community

Discussions & shared documents for stakeholders in Blockchain Commons
Other
68 stars 10 forks source link

PROJECT: Integrate a New C Library into LBTCftCL #140

Closed shannona closed 1 year ago

shannona commented 2 years ago

The libbitcoinrpc RPC C library used in Learning Bitcoin from the Command Line has become outdated as discussed here: https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/issues/561

It's not just that it's old, it's that it no longer compiles correctly without intervention.

So, we need a new C library. Tasks would be:

As far as I know the curl library and the jansson library remain OK. Therefore, I expect much of the commentary, as well as the code not directly using the old library, can still be used.

shannona commented 2 years ago

Here's an alternative path for this task: bring the existing library up to date.

I'm agnostic as to whether to follow the original task list (replacing it) or this one (updating it). I think a lot of it depends on whether there's a great alternative RPC Bitcoin library for C; when I originally decided to use this a few years ago, there was not.

shannona commented 2 years ago

Debian 11 is our default OS that we expect people to be using when they're running Learning Bitcoin, so that's where we should be testing. If you need a Debian 11 linode setup, just let me know.

shikharvashistha commented 1 year ago

@shannona && @ChristopherA I've created a pull including the fix and change log for the commit https://github.com/gitmarek/libbitcoinrpc/pull/2

shannona commented 1 year ago

Resolved this by repairing old version & having our own copy of it in a repo.