Summary:
I was messing with the wallet source code (bad idea won't do it again) and I tried to send some darkcoin. Well now the transaction is not being recognized by the master nodes and just sits at 0/unconfirmed. Is there any way to get the coins back?
Longer story:
Anyway, I was frustrated with the fee the wallet is charging, if I send 25 DRK, it was a fee of 0.063 DRK (about 25 cents); but if I wanted to send 50 DRK then the fee is only 0.001 DRK (acceptable, less than half a penny).
So I was looking at the code to see how the fees were calculated. It was pretty complex. I should have read this thread first, https://darkcointalk.org/threads/darkcoin-wallet-fees.583
I use p2pool mining directly to my wallet, so I guess that is why I have large fees. Anyway, I found these lines in main.cpp:
and I found out when I changed the numbers that the fee changed. So, I changed it from 100,000 to 100,000,000 and the fee went from 0.062 to 0.000062 DRK, and then like an idiot I hit send. I forgot that these currencies are designed to prevent cheaters.
I tried doing -rescan and getrawtransaction from this site, but I would not expect it to work... https://darkcointalk.org/threads/frozen-transactions-why-it-happens-and-how-to-fix-it.1649
So, I now have a transaction in my wallet that will never get confirmed, because I messed up. Is there any way to get the coins back? Or do I have to chalk it up to making a bad choice.
I was messing with the wallet source code (bad idea won't do it again) and I tried to send some darkcoin. Well now the transaction is not being recognized by the master nodes and just sits at 0/unconfirmed. Is there any way to get the coins back?
Longer story:
Anyway, I was frustrated with the fee the wallet is charging, if I send 25 DRK, it was a fee of 0.063 DRK (about 25 cents); but if I wanted to send 50 DRK then the fee is only 0.001 DRK (acceptable, less than half a penny).
So I was looking at the code to see how the fees were calculated. It was pretty complex. I should have read this thread first, https://darkcointalk.org/threads/darkcoin-wallet-fees.583
I use p2pool mining directly to my wallet, so I guess that is why I have large fees. Anyway, I found these lines in main.cpp:
Code:
/** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
int64 CTransaction::nMinTxFee = 100000;
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */
int64 CTransaction::nMinRelayTxFee = 100000;
and I found out when I changed the numbers that the fee changed. So, I changed it from 100,000 to 100,000,000 and the fee went from 0.062 to 0.000062 DRK, and then like an idiot I hit send. I forgot that these currencies are designed to prevent cheaters.
I tried doing -rescan and getrawtransaction from this site, but I would not expect it to work... https://darkcointalk.org/threads/frozen-transactions-why-it-happens-and-how-to-fix-it.1649
So, I now have a transaction in my wallet that will never get confirmed, because I messed up. Is there any way to get the coins back? Or do I have to chalk it up to making a bad choice.