0
Can someone explain how this transaction was validated, broadcasted and mined?
When i looked at the scriptsig it only had the hex value for OP_True.
https://blockchain.info/tx/91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5?show_adv=true Also how can i create a transaction like this and have it broadcasted and mined?
But wouldn't miners reject it without a siganture or is the redeem script hash a hash of OP_TRUE in the scriptsig allowing it to be mined? – John – 2018-03-19T19:55:27.887
The script hashed by the address was
OP_TRUE, which is valid by itself. Miners won't reject non standard scripts in P2SH spends (but would normally if used outside of P2SH). – alcio – 2018-03-19T20:55:21.667So if the transaction is p2sh and i put the scriptsig as OP_True it will be valid but non standard? – John – 2018-03-20T01:47:39.147
It will be valid, the script will be non standard but the transaction will still be relayed. – alcio – 2018-03-20T09:53:06.667