HTTP REST API for bitcoind



Summary:

In a discussion between Andreas Schildbach and Jeff Garzik on Bitcoin-development mailing list, Jeff mentioned that the goal of the HTTP REST interface is to access unauthenticated, public blockchain information, and there are no plans to add wallet interfacing/manipulation via this API. Andreas inquired if it was planned to expose the UXTO set of a given address, which may be useful for SPV wallets to swipe previously unknown private keys (e.g., paper wallet). Access to the UTXO set can be done using libcoin, which also has a rest interface. Michael added that accessing the UTXO set per address/script requires indexing all scripts, which was easy in libcoin as the blockchain is stored in a sqlite database. However, integrating this in bitcoind would require setting up and maintaining such an index ad hoc.


Updated on: 2023-06-07T14:15:43.190121+00:00