It pulls a summary of the blocks from normal Bitcoin nodes. If an address of the wallet is in the summary, then the wallet pulls the entire block. This is fast, because only a few blocks need to be pulled. And it is private, because in each block are 2000+ transations, and it is not easy to determine which one you were interested in.

Replies (3)