Novice here trying to understand blockchain and transactions.
I was reading about the scripts to verify the ownership of UTXO and understand that, this script actually can be client-defined. What if a bad client decided to add a script that never lets the owner to claim the UTXO? Something which just would always return false (OP_RETURN, maybe?)
My questions are:
Are these scripts agreed upon by all the clients? i.e There is a known catalogue of scripts that will be supported?
If #1 is true, then this seems to be more for future proofing or for independent networks trying to solve a custom problem.
Are above statements true?
Thanks in advance.