coinspark / python-OP_RETURN

Simple Python commands and library for using bitcoin OP_RETURNs
117 stars 74 forks source link

Changing Bitcoin client #2

Open fed-franz opened 8 years ago

fed-franz commented 8 years ago

(Before I put myself on developing something useless...) Is it possible to leverage an SPV client (e.g.: picocoin), instead of the full node Bitcoin-Core? In other words, do you think I can modify the lib to make use of a lightweight client?

gidgreen commented 8 years ago

I believe the answer is yes because the underlying protocol is designed to work with lightweight clients. But you can check by searching for OP_RETURN_bitcoin_cmd in the code and checking that your SPV client can provide the same functionality as those calls.

fed-franz commented 8 years ago

This is very helpful. It seems that it makes use of the RPC service of bitcoind (Bitcoin Core). Unfortunately I don't know SPV clients providing this type of service. (If you're aware of any please tell me)

Anyway, since it also has the option of working through the command line program, I could try to modify it to make it work with some other client providing the same raw data.

Thanks!