Title: Not Sure What To Do Post by: bdante on March 17, 2021, 10:08:59 PM Bitcoin Client Software and Version Number: Electrum 4.0.9 Operating System: MAC OS System Hardware Specs: Description of Problem: Won't let me broadcast Any Related Addresses: Any Related Transaction IDs: Screenshot of the problem: Log Files from the Bitcoin Client: Hey guys, I'm not sure what I am doing at all. I thought I did but my heads underwater right now. I'm not even sure this is the right place to post/ask. I keep trying to broadcast my transaction however it keeps saying "The server returned an error when broadcasting the transaction. Consider trying to connect to a different server, or updating Electrum. scriptpubkey" I have changed the server over and over again. I have no clue what I did wrong. Title: Re: Not Sure What To Do Post by: nc50lc on March 18, 2021, 03:48:35 AM How did you create the transaction?
You may have pasted a weird script in the "pay to" instead of an address/invoice. Anyways, since it's not yet broadcast yet, you can just delete the 'local transaction' from the history through right-click menu -> "Remove". That will enable you to use the inputs of that local transaction in a new transaction. Title: Re: Not Sure What To Do Post by: pooya87 on March 18, 2021, 03:50:36 AM Your transaction has some "uncommon" outputs which the bitcoin nodes reject.
To be more specific, when bitcoin core receives a new transaction to put in its mempool it checks if the outputs are "standard" yours is being rejected as having a non-standard pubkey script[1] then Electrum translates that error message[2] and adds the extra message to it[3]. Double check where you are sending your bitcoins (ie. the output scripts). [1] https://github.com/bitcoin/bitcoin/blob/5bb64acd9d3ced6e6f95df282a1a0f8b98522cb0/src/policy/policy.cpp#L116-L117 [2] https://github.com/spesmilo/electrum/blob/16f874b58edbbe1e239175fb1681ef0e75d51d03/electrum/network.py#L921-L923 [3] https://github.com/spesmilo/electrum/blob/16f874b58edbbe1e239175fb1681ef0e75d51d03/electrum/network.py#L212 |