Understanding Bitcoin addresses and key derivations