-- | Computes the key identifier of an extended public key.
xPubID :: XPubKey -> Word160
xPubID = hash160 . hash256BS . encode' . xPubKey
xPubID :: XPubKey -> Word160
xPubID = hash160 . hash256BS . encode' . xPubKey
xPubID = hash160 . hash256BS . encode' . xPubKey