Hi to all! Just a few minutes ago I could see my balance correctly as 282.(blahblahblah) DCR and a single transaction in my listtransactions history. Now that I tried to purchase a ticket (setting beforehand ticketfee=0.0001) I got: jason@mymachine:~$ ./decred/dcrctl --wallet purchaseticket "default" 36 1 (address_DELETED) 1 (address_DELETED) 5 58320 -22: TX rejected: transaction (tx_id_DELETED) has a 5500 fee which is under the required threshold amount of 538000 Now, I tried to raise the ticketfee to 0.001 and then repurchase and got: "-4: insufficient funds available to construct transaction". So, that made me suspicious and looked at the transactions list: jason@mymachine:~$ ./decred/dcrctl --wallet listtransactions [ { "account": "", "address": "Airdrop_Address_DELETED", "amount": -282.63795424, "blockhash": "000000000000437482b6d47f82f374cde539440ddb108b0a76886f0d87d126b9", "blocktime": 1454954535, "category": "send", "confirmations": 30628, "fee": 0, "generated": true, "time": 1470838720, "timereceived": 1470838720, "txid": "5e29cdb355b3fc7e76c98a9983cd44324b3efdd7815c866e33f6c72292cb8be6", "txtype": "regular", "vout": 2053, "walletconflicts": [] }, { "account": "default", "address": "Airdrop_Address_DELETED", "amount": 282.63795424, "blockhash": "000000000000437482b6d47f82f374cde539440ddb108b0a76886f0d87d126b9", "blocktime": 1454954535, "category": "generate", "confirmations": 30628, "generated": true, "time": 1470838720, "timereceived": 1470838720, "txid": "5e29cdb355b3fc7e76c98a9983cd44324b3efdd7815c866e33f6c72292cb8be6", "txtype": "regular", "vout": 2053, "walletconflicts": [] } ] I have a lot of questions: 1) What 5500 fee is it talking about? 5500 in what units? DCR? 2) What is that threshold limit the rejected transaction is talking about and where is it documented? 3) What is that first -282.6(blah) transaction? Where did it come from? Why did it send my funds, since my transaction had been rejected? Generally, how exactly do "rejected" transactions work?
I think the minimum fee for tickets is .01 DCR. https://docs.decred.org/faq/proof-of-stake/buying-tickets-and-fees/
What do you mean? I run into this problem while running dcrd 0.3.0 which is the latest available binary.
Yes, it now works, but it would be nice to have complete answers to my questions for documentation purposes.
Glad it worked for you, sorry not to be verbose, but it really is all in my signature : https://forum.decred.org/search/217...der+the+required+threshold+amount&o=relevance or click https://docs.decred.org/ click 'search' type fee You have not stated your version, and there were changes, so I recommended the latest one (which uses the default 0.01 DCR fee per KB). 1/ yes, DCR, but *1e-8 2/ 0.01 DCR fee per KB 3/ there are duplicates, https://forum.decred.org/threads/listtransactions-how-does-it-work.3374/#post-20996
purchaseticket performs an automatic consolidate transaction prior to generating the SSTx (ticket purchase), i believe. The behavior changed several versions ago, so I'm not completely certain about this. The negative amount on your airdrop address is probably just an untransmitted tx doing this. Try running list transactions after a block gets mined. It should be spendable again. Edit: For reference. There can appear to be duplicate tx in the list, but in this case it's the same vout listed, so this doesn't appear to be a duplicate. What can happen is that if a tx has multiple vouts owned by your wallet, you will see what appears to be duplicate transactions. That does not appear to be the case here, but I could be mistaken.