Bitcoin Forum
June 22, 2024, 04:15:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: error: {"code":-22,"message":"TX rejected"}  (Read 569 times)
rippledj (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 09, 2015, 07:10:56 PM
 #1

Dear all,

I'm attempting to create a raw transaction and push it to the network using AuroraCoind (bitcoind).  I get the error mentioned in the title.  Here are the relavant debug.log entries and getinfo to see more clearly.

Any help to understand that I'm doing wrong would be great.  Here is my process to sent one AuroraCoin from unspent outputs to another address in my wallet (the txout value is 2.000000):

-$ AuroraCoind listunspent

#use a txid from listunspent to build raw transaction including vout

-$ AuroraCoind createrawtransaction '[{"txid":"_txid_from_listunspent", "vout":0}]' '{"_other_address_in_my_wallet": 1.0}' , {"_another_address_in_my_wallet":1.0}

#it create the raw transaction and returns a raw transaction

-$ AuroraCoind decoderawtransaction <paste in raw transaction code from above>

#outputs the correct details

-$AuroraCoind signrawtransaction <paste in raw transaction code from above>

-$ AuroraCoind sendrawtransaction <paste in raw transaction code from above>
Output: error: {"code":-22,"message":"TX rejected"}


debug.log output:
-----------------------
ThreadRPCServer method=sendrawtransaction
ERROR: CTxMemPool::accept() : nonstandard transaction input

getinfo output:
-------------------

{
    "version" : 1030000,
    "protocolversion" : 1030000,
    "walletversion" : 60000,
    "balance" : 499.99900000,
    "blocks" : 87914,
    "connections" : 10,
    "proxy" : "",
    "difficulty" : 127.75048353,
    "testnet" : false,
    "keypoololdest" : 1419127982,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00010000,
    "errors" : ""
}

Any ideas?
kkoenen
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
September 27, 2019, 08:43:49 PM
 #2

Experiencing the same error, used the same steps to reproduce.

Did you ever find a solution?

OR; Can you please advice on how to change the transaction.cpp (?) file to get more elaborated error logging.

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!