Learning-Bitcoin-from-the-Command-Line icon indicating copy to clipboard operation
Learning-Bitcoin-from-the-Command-Line copied to clipboard

Libbitcoin outdated for RPCs

Open zerotobtc opened this issue 2 years ago • 3 comments

I'm currently in chapter 16.1 Accessing Bitcoind with C. When I went through the libbitcoin repository I discovered that it is not maintained anymore... Firstly you get an error when running make and even after some updating in the libbitcoin files it should - from my point of view - avoided to use such an outdated library (last update in 2016 I think).

I'll look for alternatives and if I find one (and the needed time for implementation) I'll probably make a pull request for a better alternative.

zerotobtc avatar Dec 25 '21 07:12 zerotobtc

Thanks. If it no longer compiles without intervention, that's clearly a show-stopper.

I've filed an issue over in our community forum and am leaving this in place as it's a major issue: https://github.com/BlockchainCommons/Community/issues/140

shannona avatar Jun 14 '22 23:06 shannona

Added a further warning in 16.1 to say that the library code will likely not compile.

shannona avatar Jun 14 '22 23:06 shannona

I have not tested the new version myself (yet), but it seems https://github.com/BlockchainCommons/Community/issues/140 solved this.

So, I believe the two warnings in the text (this and this) are adding noise since (in principle) the text points to the BlockchainCommons fork of libbitcoinrpc.

Because of this, what's the relevance of a full review of the library as originally proposed in https://github.com/BlockchainCommons/Community/issues/140? I ask because I'm attending chaincode labs' bitcoin foss program, and I'm planning to rewrite my exercises from Python to C or C++. Some involve talking to Bitcoin's RPC interface. I found no competing library for that in C.

edilmedeiros avatar Feb 08 '24 15:02 edilmedeiros