a couple of days in the past I created a PR https://github.com/bitcoin/bitcoin/pull/27546
the place I proposed ScriptToUniv can provide us pockets handle of public key However some man commented
“Idea NACK
Sorry, no. P2PK outputs shouldn’t have an handle. It is an outdated and complicated observe to discuss with them as their corresponding P2PKH handle”
so far as my understanding
see we now have
non-public key –> secp256k1 — > public key –> sha256 –> RIPEMD160 –> Hashed Publickey –> hashed Publickey + checksum = pockets handle
and we now have the circulation of ExtractDestination
PUBKEY –>handed to –> EXTRACT DESTINATION –>PKHash returned
PUBKEYHASH –>handed to –> EXTRACT DESTINATION –> PKHash returned
we go this PKHash to EncodeDestination which passes it to DestinationEncoder which returns us the pockets handle
https://github.com/bitcoin/bitcoin/blob/grasp/src/core_write.cpp#L165
can somebody please information me the place I get it improper ?