Bitcoin Forum
May 29, 2017, 11:11:12 PM *
News: If the forum does not load normally for you, please send me a traceroute.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: rescan  (Read 637 times)
ArsenShnurkov
Legendary
*
Offline Offline

Activity: 1386



View Profile
September 27, 2011, 04:07:09 PM
 #1

How do bitcoin client determines duting rescan
which bitcoin addresses belongs to his wallet, and which are not?

Does he uses the list of adresses in the wallet itself,
or does he extracts addresses from the blockchain ?

Which lines of code should one see ?
1496099472
Hero Member
*
Offline Offline

Posts: 1496099472

View Profile Personal Message (Offline)

Ignore
1496099472
Reply with quote  #2

1496099472
Report to moderator
1496099472
Hero Member
*
Offline Offline

Posts: 1496099472

View Profile Personal Message (Offline)

Ignore
1496099472
Reply with quote  #2

1496099472
Report to moderator
1496099472
Hero Member
*
Offline Offline

Posts: 1496099472

View Profile Personal Message (Offline)

Ignore
1496099472
Reply with quote  #2

1496099472
Report to moderator
POLONIEX TRADING SIGNALS
+50% Profit and more via TELEGRAM
ALTCOINTRADER.CO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1358


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
September 27, 2011, 05:40:52 PM
 #2

I'm sure it must consult the wallet, and I remember there being an IsMine() in the code

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1036


View Profile WWW
September 27, 2011, 06:02:54 PM
 #3

For each txout script encountered in the stored block chain, a test is done to verify whether our wallet is able to provide a matching txin script, or uses such a script as input. If so, it is added to the wallet.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
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!