Title: HD Wallet Post by: joebo on March 22, 2015, 08:53:41 AM I use Mycelium wallet on my mobile.
I exported one my account as xpub. Then I use this xpub in my PC using bip32utils.BIP32Key to generate my new addresses. then I send some coins from DIFFERENT BitcoinCore Wallet on my PC to these addresses. and see Mycellium notifying me about receiving coins on my mobile. That is amazing! A just dont get how Mycelium can verify it without knowing particular address. Seems like it is possible to verify whole tree of addresses in one request. Can somebody explain how it works? Thanks Title: Re: HD Wallet Post by: luv2drnkbr on March 22, 2015, 10:40:59 AM They just keep checking address down the tree until they get like 100 in a row with no transactions and then they assume they've reached the end and stop checking.
Title: Re: HD Wallet Post by: joebo on March 22, 2015, 11:07:30 AM I see. Nice trick :)
Title: Re: HD Wallet Post by: apetersson on March 23, 2015, 11:16:02 AM mycelium does a 20-address lookahead on the main chain. if you would do the same trick with an index further out, it does not work.
Title: Re: HD Wallet Post by: btchris on March 23, 2015, 12:43:28 PM mycelium does a 20-address lookahead on the main chain. if you would do the same trick with an index further out, it does not work. Can you verify (or refute) that Mycelium checks these 20 lookahead addresses for transactions once every 24 hours? I was trying to read through the code yesterday, and I'm not sure I got it right. Thanks! Title: Re: HD Wallet Post by: apetersson on March 23, 2015, 09:06:17 PM Can you verify (or refute) that Mycelium checks these 20 lookahead addresses for transactions once every 24 hours? I was trying to read through the code yesterday, and I'm not sure I got it right. Thanks! no it does not. mycelium only queries the index servers when it is shown on the display. you see the "sync" icon on the top right spinning when its happening. Title: Re: HD Wallet Post by: btchris on March 23, 2015, 09:54:10 PM Can you verify (or refute) that Mycelium checks these 20 lookahead addresses for transactions once every 24 hours? I was trying to read through the code yesterday, and I'm not sure I got it right. Thanks! no it does not. mycelium only queries the index servers when it is shown on the display. you see the "sync" icon on the top right spinning when its happening. Thanks. I don't quite understand yet, but it doesn't surprise me that I'm wrong.... |