Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"
by
dooglus
on 13/10/2015, 05:26:19 UTC
It's a good idea. Are there any SPV clients that support any altcoins at all?

I've no idea how much work would be involved - I don't have the first idea about how SPV works.

There is an Electrum fork for Litecoin: https://electrum-ltc.org

Someone here claims their fork support a bunch of other coins: https://cryptocointalk.com/topic/23210-ann-electrum-lightweight-client-for-doge-drk-dvc-ftc-ixc-ppc/

I don't think it is that difficult but verification of a PoS coin might require more code changes.

Does Electrum even use SPV? I've read contradictory reports about that.

https://electrum.org/ says "Electrum is fast, because it uses servers that index the Bitcoin blockchain" - does it require special electrum servers, or can it use regular bitcoin nodes?

http://docs.electrum.org/en/latest/spv.html tells me what an SPV client is, but doesn't say that Electrum is one. I guess it is, else why include that page in the documentation?

Edit: if you stare at the Electrum home page hard enough you can make it show this:



If you click for 'more information' you get this:



I'm still working on seeing if I can stare hard enough to make that one change.

Edit2: This post suggests that Electrum can't connect to regular Bitcoin peers, only special "Electrum servers".

This post talks about the Patricia tree data structure, which lets the Electrum servers instantly locate all the transactions involving a particular address.

I wonder how pure SPV wallets do this. Maybe they don't allow the importing of old private keys, so scanning a large blockchain for relevant transactions isn't needed.