Non-standard transaction scripts broadcasting I'm developing an application on Bitcoin blockchain, and I use output transaction scripts that are not standard according to the classic payment methods.
However, even so, on Tesnet everything works fine but I recently read on Bitcoin site the following:



So, appearently, Tesnet may relax some restrictions on transaction scripts, but it doesn't specify much more. So, now, I have no way of knowing if such output transaction scripts could be accepted on the Mainnet, except by buying some Bitcoins with money that I really don't have, and I'm also starting to wonder what is the purpose of the Testnet if its behaviour doesn't reflect the one of the real net and, even worse, what is the purpose of having a script language with such multiple instructions when you can actually use just a few of them.
Is someone able to give me more informations about all this?
Thanks in advance.
Standard output scripts are defined by IsStandard() (which calls Solver() to perform the actual script matching). The standard output scripts are as follows:

P2PKH
P2PK
P2SH
P2WPKH
P2WSH
A script beginning with an OP_RETURN and only pushes at most 80 bytes data to the stack
Bare multisig up to a 3-of-3 multisig

Any other script will be non-standard and the entire transaction will be rejected as being non-standard.

Instead of trying to include a non-standard output script, you can instead use P2SH or P2WSH. Your output script will become the redeem script or witness script which can be anything. P2SH and P2WSH allow you to do exactly the same things as if the script were in an output script.
If you still insist on wanting your non-standard script to be in the output, then for your transaction to be broadcast and mined, you will need to find a miner and give them your transaction through some other means. Non-standard transactions will not be relayed and most nodes will not accept them. You will need to give your transaction to a miner who is accepting non-standard transactions, and it is highly likely that you need to do this out of band, i.e. over some form of communication that is not the P2P network.