Bitcoin Forum
May 26, 2024, 11:22:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Not Sure What To Do  (Read 88 times)
bdante (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 1


View Profile
March 17, 2021, 10:08:59 PM
Merited by bob123 (1)
 #1


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.
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5640


Self-proclaimed Genius


View Profile
March 18, 2021, 03:48:35 AM
Merited by odolvlobo (1)
 #2

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10593



View Profile
March 18, 2021, 03:50:36 AM
 #3

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

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!