dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
October 13, 2015, 05:26:19 AM Last edit: October 13, 2015, 05:45:47 AM by dooglus |
|
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.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
|
SuperClam (OP)
|
 |
October 13, 2015, 05:34:46 AM |
|
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? There was an issue on the git repository concerning an Electrum "server".
|
|
|
|
|
hermesesus
|
 |
October 13, 2015, 08:11:40 AM |
|
Hi, I'm a beginner in cryptocurrency so be indulgent  I think that the best way to promote CLAM (and the digging for CLAMs  ) is to create a wallet that isn't a full node (simplified validation), like Multibit for Bitcoin, as waiting for the download of the blockchain may be unpleasing/annoying. What do you think? 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. Glad you liked my idea  I wish I had the coding skills to help you...
|
|
|
|
|
|
|
smooth
Legendary

Activity: 2982
Merit: 1203
|
 |
October 13, 2015, 12:53:47 PM |
|
Does Electrum even use SPV? I've read contradictory reports about that. Not exactly. It does include verifying transaction inclusion via merkle proofs, which is the essence of SPV but it doesn't work the exact same way as described in the white paper. Multibit is somewhat closer, and is also open source and could be forked, but most alts seem to stick with Electrum. In point of fact there are NO pure SPV wallets because SPV as described in the white paper also includes the network having a warning system against attacks, which doesn't exist, and the original description doesn't include any practical or privacy-preserving method for querying your transactions either.
|
|
|
|
|
|
Panzzer
|
 |
October 13, 2015, 01:45:53 PM |
|
hello I stake 40 clam already 2 week, but have not yet received rewards, the clam client always show remaining time 8-10 day. when I will get something? thanks
|
|
|
|
|
|
Bitcoininspace
|
 |
October 13, 2015, 01:49:32 PM |
|
hello I stake 40 clam already 2 week, but have not yet received rewards, the clam client always show remaining time 8-10 day. when I will get something? thanks
I believe just-dice is the biggest stake holder and being able to stake on your own will take you quite some time, it's basically like mining bitcoins and it's you vs the rest of the people on one miner. 
|
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
October 13, 2015, 04:33:53 PM |
|
hello I stake 40 clam already 2 week, but have not yet received rewards, the clam client always show remaining time 8-10 day. when I will get something? thanks
There's 1 block staked per minute, and you own 40 out of 800k trying to stake. That means you should stake about once every 800k/40 = 20k minutes. 20k minutes is 333.333 hours or 13.888 days. I'm surprised your client always shows something between 8 and 10 days. Try looking every hour for 8 hours. I'm pretty sure you'll see the number go over 10 as the difficulty rises. As for when you get something, it's impossible to say. On average you'll get 1 CLAM every 2 weeks, but with high variance.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
crazyivan
Legendary

Activity: 1652
Merit: 1007
DMD Diamond Making Money 4+ years! Join us!
|
 |
October 13, 2015, 06:28:08 PM |
|
Wtf s going on with Poloniex orders? Buy side from 70 to 38 BTC in 1 day???
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
October 13, 2015, 06:35:04 PM |
|
Not exactly. It does include verifying transaction inclusion via merkle proofs, which is the essence of SPV but it doesn't work the exact same way as described in the white paper.
Multibit is somewhat closer, and is also open source and could be forked, but most alts seem to stick with Electrum.
In point of fact there are NO pure SPV wallets because SPV as described in the white paper also includes the network having a warning system against attacks, which doesn't exist, and the original description doesn't include any practical or privacy-preserving method for querying your transactions either.
OK, so I don't care about "pure SPV" I guess. I was hoping to avoid having to have a separate network of "Electrum servers" when we already have a network of CLAM p2p servers. How does MultiBit deal with importing private keys and rescanning? As I understand it, Bitcoin Core doesn't maintain an address index and so has to rescan the whole blockchain when you add a new private key to the wallet, which is time intensive. If MultiBit is talking to regular Core peers, how do they look up the transactions of interest given only the addresses that the MultiBit wallet controls? https://multibit.org/ says: Easy recovery from data loss You can recover your bitcoins using your wallet words if your computer is lost or stolen It appears that in the current version of MultiBit you can't import individual private keys. It only allows you to import "wallet words" for HD wallets you created in Multibit. These "wallet words" have a creation date associated with it, and so the wallet can scan the blockchain from that creation date forward. Any light CLAM wallet is going to have to let people import their old wallets and scan for distribution CLAMs.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
shorena
Copper Member
Legendary

Activity: 1498
Merit: 1644
No I dont escrow anymore.
|
 |
October 13, 2015, 06:43:41 PM |
|
Not exactly. It does include verifying transaction inclusion via merkle proofs, which is the essence of SPV but it doesn't work the exact same way as described in the white paper.
Multibit is somewhat closer, and is also open source and could be forked, but most alts seem to stick with Electrum.
In point of fact there are NO pure SPV wallets because SPV as described in the white paper also includes the network having a warning system against attacks, which doesn't exist, and the original description doesn't include any practical or privacy-preserving method for querying your transactions either.
OK, so I don't care about "pure SPV" I guess. I was hoping to avoid having to have a separate network of "Electrum servers" when we already have a network of CLAM p2p servers. How does MultiBit deal with importing private keys and rescanning? As I understand it, Bitcoin Core doesn't maintain an address index and so has to rescan the whole blockchain when you add a new private key to the wallet, which is time intensive. If MultiBit is talking to regular Core peers, how do they look up the transactions of interest given only the addresses that the MultiBit wallet controls? https://multibit.org/ says: Easy recovery from data loss You can recover your bitcoins using your wallet words if your computer is lost or stolen It appears that in the current version of MultiBit you can't import individual private keys. It only allows you to import "wallet words" for HD wallets you created in Multibit. These "wallet words" have a creation date associated with it, and so the wallet can scan the blockchain from that creation date forward. Any light CLAM wallet is going to have to let people import their old wallets and scan for distribution CLAMs. Multibit classic[1] allows to import private keys. I think this[2] will help to understand SPV. [1] https://multibit.org/releases.html[2] https://multibit.org/en/help/hd0.1/how-spv-works.html
|
Im not really here, its just your imagination.
|
|
|
|
hermesesus
|
 |
October 13, 2015, 08:11:48 PM Last edit: October 13, 2015, 09:03:52 PM by hermesesus |
|
Multibit wallet is based on bitcoinj library: https://bitcoinj.github.io/https://github.com/bitcoinj/bitcoinjIt has "Highly optimised lightweight simplified payment verification (SPV) mode. In this mode, only a small part of the block chain is downloaded, making bitcoinj suitable for usage on constrained devices like smartphones or cheap virtual private servers." https://bitcoinj.github.io/security-model"In this mode [SPV], only transactions that are relevant to the wallet are stored. Every other transaction is thrown away or simply never downloaded to start with. The block chain is still used and broadcast transactions are still received, but those transactions are not and cannot be checked to ensure they are valid." "To find transactions relevant to your wallet, we have two options. We can download the full block contents and scan all transactions. This is inefficient - much data is downloaded only to be thrown away. Or, we can request transactions that match a pattern from remote nodes. We do this using Bloom filters when the remote node supports them (v0.8 and up). This leads to the question of how you can know the received transaction really did appear in the block chain, if you don’t have a full copy of the block. Blocks contain a list of transactions, one after the other. From this list, a Merkle tree is calculated. This structure generates a Merkle root, a single hash value that is then placed in the block header. The approach is more complex than the obvious one of simply hashing the concatenation of the transactions, but it has a major advantage: it’s possible to prove a transaction was in a block by providing only that transaction and a Merkle branch. The branch consists of hashes making up sibling nodes in the original tree. If a node hands you a block header, a transaction and a branch you can check for yourself that the transaction was indeed accepted by the network and is unlikely to have been forged. The branch takes up much less space than the full block body, so this is a major efficiency win. And multiple transactions can have their merkle branches combined together for even greater efficiency." I have no idea what are 'Bloom filters" and "Merkle tree" but do you think this is transposable to CLAM?
|
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
October 14, 2015, 01:26:14 AM |
|
I was reminded that I didn't post "digging charts" recently, so here they are:  
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
forzendiablo
Legendary

Activity: 1526
Merit: 1000
the grandpa of cryptos
|
 |
October 14, 2015, 01:50:25 AM |
|
CLAMS to the moon?  )))))))
|
yolo
|
|
|
|
navaman
|
 |
October 14, 2015, 02:10:13 AM |
|
I have been pouring over charts this past week and last night I decided to see if the digging commencement coincided with anything else. My first thought was maybe Ethereum but the volume and price movements don't seem highly correlated. The best one I could find was the BTC flash crash on August 18. Losing 1/3 of his wealth right there could have lead the digger to salvage what he can. Also, Clam was the last alt standing after the late spring and early summer rally that peaked in July. Clams peaked in August so if he holds other alts then he could be selling clams to buy into BTS or ETH and so forth.
|
|
|
|
freedomno1
Legendary

Activity: 1848
Merit: 1099
Learning the troll avoidance button :)
|
 |
October 14, 2015, 02:34:49 AM |
|
Well it is a stake so it will recover over time perhaps That said its taking a beating at present.
|
Believing in Bitcoins and it's ability to change the world
|
|
|
smooth
Legendary

Activity: 2982
Merit: 1203
|
 |
October 14, 2015, 07:08:48 AM |
|
How does MultiBit deal with importing private keys and rescanning? As I understand it, Bitcoin Core doesn't maintain an address index and so has to rescan the whole blockchain when you add a new private key to the wallet, which is time intensive. If MultiBit is talking to regular Core peers, how do they look up the transactions of interest given only the addresses that the MultiBit wallet controls?
MultiBit classic retrieves the whole chain (after an optional earliest use date) after installing a BIP0037 filter which allows excluding most "uninteresting" transactions. It is still pretty time intensive. Multibit HD does not support importing Bitcoin Core wallets. It may allow importing individual keys but I'm not sure. Mostly it uses HD wallets where a single seed generates many private keys. Either way the restore process is largely the same, involving scanning of the blockchain. HD or not HD makes no difference to the actual blocks.
|
|
|
|
|
xploited
Sr. Member
  

Activity: 304
Merit: 252
CLAM Dev
|
 |
October 14, 2015, 06:37:29 PM |
|
How does MultiBit deal with importing private keys and rescanning? As I understand it, Bitcoin Core doesn't maintain an address index and so has to rescan the whole blockchain when you add a new private key to the wallet, which is time intensive. If MultiBit is talking to regular Core peers, how do they look up the transactions of interest given only the addresses that the MultiBit wallet controls?
MultiBit classic retrieves the whole chain (after an optional earliest use date) after installing a BIP0037 filter which allows excluding most "uninteresting" transactions. It is still pretty time intensive. Multibit HD does not support importing Bitcoin Core wallets. It may allow importing individual keys but I'm not sure. Mostly it uses HD wallets where a single seed generates many private keys. Either way the restore process is largely the same, involving scanning of the blockchain. HD or not HD makes no difference to the actual blocks. According to https://multibit.org/en/help/v0.5/help_importingPrivateKeys.html6. After the import, MultiBit then replays the block chain from the replay date to find the transactions for the new private keys. It is best just to leave MultiBit to sync the block chain on its own.
The replay date being a date you give it. I believe it would update the bloom filters and replay the blockchain from the date you gave it grabbing associated transactions.
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
October 15, 2015, 06:31:38 AM |
|
According to https://multibit.org/en/help/v0.5/help_importingPrivateKeys.html6. After the import, MultiBit then replays the block chain from the replay date to find the transactions for the new private keys. It is best just to leave MultiBit to sync the block chain on its own.
The replay date being a date you give it. I believe it would update the bloom filters and replay the blockchain from the date you gave it grabbing associated transactions. That sounds expensive in terms of node I/O. The Bitcoin node needs to rescan the whole blockchain (if the date you give it is old enough) looking for transactions relating to the address you give it. Is it possible to DoS a node in that way? It seems like you're getting the node to do a whole lot of work by sending it a very simple request.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
MRKLYE
Legendary

Activity: 1358
Merit: 1003
Designer - Developer
|
 |
October 15, 2015, 10:20:30 AM |
|
KINGKLYE.com now accepts CLAM on site!Just letting everyone know I have gotten http://kingklye.com up and running now and you can pay with CLAM! All merchandise is fully endorsed by the CLAM developers and I'm very excited to offer the first shop to buy physical items for CLAM directly! Go grab yourself a few shirts or a mug! Free shipping on your order (in 98%) of cases, I will let you know otherwise of course. So far almost a dozen items have been purchased and received from the site with a 100% arrival rate, Don't let the negative rep scare you. I'm sure the CLAM developers will vouch that they received their order as well as anyone else who has ordered from me.
|
|
|
|
|