Bitcoin Forum
November 16, 2018, 11:10:00 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HD Wallet  (Read 1910 times)
joebo
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

1542366600
Hero Member
*
Offline Offline

Posts: 1542366600

View Profile Personal Message (Offline)

Ignore
1542366600
Reply with quote  #2

1542366600
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542366600
Hero Member
*
Offline Offline

Posts: 1542366600

View Profile Personal Message (Offline)

Ignore
1542366600
Reply with quote  #2

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

Activity: 796
Merit: 1000



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
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: 666
Merit: 500



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: 501

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: 666
Merit: 500



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: 501

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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!