Bitcoin Forum
April 26, 2024, 07:29:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HD Wallet  (Read 2027 times)
joebo (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 22, 2015, 08:53:41 AM
 #1

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

1714116544
Hero Member
*
Offline Offline

Posts: 1714116544

View Profile Personal Message (Offline)

Ignore
1714116544
Reply with quote  #2

1714116544
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714116544
Hero Member
*
Offline Offline

Posts: 1714116544

View Profile Personal Message (Offline)

Ignore
1714116544
Reply with quote  #2

1714116544
Report to moderator
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
March 22, 2015, 10:40:59 AM
 #2

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.

joebo (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 22, 2015, 11:07:30 AM
 #3

I see. Nice trick  Smiley
apetersson
Hero Member
*****
Offline Offline

Activity: 668
Merit: 501



View Profile
March 23, 2015, 11:16:02 AM
 #4

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.
btchris
Hero Member
*****
Offline Offline

Activity: 672
Merit: 504

a.k.a. gurnec on GitHub


View Profile WWW
March 23, 2015, 12:43:28 PM
 #5

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!
apetersson
Hero Member
*****
Offline Offline

Activity: 668
Merit: 501



View Profile
March 23, 2015, 09:06:17 PM
 #6

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.
btchris
Hero Member
*****
Offline Offline

Activity: 672
Merit: 504

a.k.a. gurnec on GitHub


View Profile WWW
March 23, 2015, 09:54:10 PM
 #7

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....
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!