Author

Topic: error: {"code":-22,"message":"TX rejected"} (Read 576 times)

newbie
Activity: 2
Merit: 0
September 27, 2019, 04: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.

newbie
Activity: 5
Merit: 0
January 09, 2015, 03: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

#outputs the correct details

-$AuroraCoind signrawtransaction

-$ AuroraCoind sendrawtransaction
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?
Jump to: