Working with Bitcoin HD wallets II: Deriving public keys